Skip to content

chore: update miniflare and @cloudflare/workers-types#1452

Merged
john-royal merged 2 commits into
mainfrom
chore/update-miniflare-workers-types
Jul 24, 2026
Merged

chore: update miniflare and @cloudflare/workers-types#1452
john-royal merged 2 commits into
mainfrom
chore/update-miniflare-workers-types

Conversation

@sam-goodwin

Copy link
Copy Markdown
Collaborator

Updates the repo's Cloudflare toolchain pins:

  • miniflare: 4.20260329.04.20260708.1 (root catalog) and 4.20260424.04.20260708.1 (alchemy package dependency)
  • @cloudflare/workers-types: ^4.20260602.1^5.20260708.1 (root catalog; new major released July 2026)
// package.json (workspace catalog)
"catalog": {
  "@cloudflare/workers-types": "^5.20260708.1",
  "miniflare": "4.20260708.1",
  // ...
}

Verification

  • bun tsc -b passes for the entire workspace (alchemy package, examples, templates) on workers-types v5 — no type breakage from the major bump.
  • alchemy/test/cloudflare/miniflare.test.ts (remote R2 bucket over the local miniflare proxy) passes on miniflare 4.20260708.1.
  • worker.test.ts "json bindings are injected as native types" and "create and test worker with Artifacts binding" pass against real Cloudflare with the updated deps.

Note: even workers-types v5 still ships the stale ArtifactsRepo interface (plain data properties, no info() method) that doesn't match the deployed Artifacts runtime, which now returns a JS-RPC handle. That's an upstream types gap — worth reporting to Cloudflare separately.

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@pkg-pr-new

pkg-pr-new Bot commented Jul 12, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/alchemy@1452

commit: 72c7d03

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Website Preview Deployed

Your website preview is ready!

Preview URL: https://959ed155-alchemy-website.alchemy-run.workers.dev

This preview was built from commit 029d275


🤖 This comment will be updated automatically when you push new commits to this PR.

@john-royal
john-royal merged commit bb9ca88 into main Jul 24, 2026
6 checks passed
@john-royal
john-royal deleted the chore/update-miniflare-workers-types branch July 24, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants