Releases: cloudflare/workers-sdk
wrangler@4.90.1
Patch Changes
-
#13866
4e44ce6Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To workerd 1.20260507.1 1.20260508.1 -
#13837
b0cee1dThanks @matingathani! - Fix beta/open-beta status message ignoringprintBanner: false— when a command setsprintBanner: (args) => !args.json, the status banner no longer appears in JSON output -
#13887
d878e13Thanks @apeacock1991! - Fixwrangler devhanging on shutdown when remote bindings are presentstartDev() registers dev hotkeys before authenticating the user. During interactive dev sessions, the auth callback re-registers hotkeys, which updates the local unregisterHotKeys variable to a new cleanup function. However, the unregisterHotKeys value returned to callers was captured as a direct reference to the initial registration, so it would call the stale cleanup function instead of the current one.
This has been fixed by returning a wrapper function () => unregisterHotKeys?.() instead of the variable directly. The wrapper evaluates unregisterHotKeys at call time, ensuring it always invokes the latest cleanup function even after re-registration.
-
#13867
971dfe3Thanks @petebacondarwin! - Fix race inRemoteProxySession.updateBindingsso it waits for the remote worker to finish reloading with the new bindings before resolvingPreviously,
updateBindingsresolved as soon as the config update event was dispatched, long before the remote worker had been re-uploaded and the local proxy worker had unpaused. Callers that issued requests immediately afterwards could see flaky failures — typically "WebSocket connection failed" for JSRPC bindings such as service bindings or dispatch namespaces — because the local proxy worker was still in its paused state during the reload window.updateBindingsnow waits for the nextreloadCompleteevent and for the local proxy worker's runtime-message queue to drain before returning, so callers can safely issue requests afterawait session.updateBindings(...). If the reload fails, the rejection fromupdateBindingscarries the underlying error. -
#13867
971dfe3Thanks @petebacondarwin! - Fix unhandledAbortErrorfromwrangler dev's remote tail WebSocket when the bundle rebuilds or the dev session shuts downThe remote-runtime tail-logs WebSocket (
#activeTailinRemoteRuntimeController) was constructed with the sameAbortSignalthatonBundleStartaborts to cancel in-flight preview-session operations. The abort destroyed the WebSocket's underlying upgrade request withAbortError, which had noerrorlistener attached and propagated as an unhandled exception. We now attach anerrorlistener at WebSocket construction that ignores errors (logging at debug level), matching the safeguards already present on theterminatepaths in#previewTokenandteardown(). -
Updated dependencies [
4e44ce6,5d936c5]:- miniflare@4.20260508.0
miniflare@4.20260508.0
Minor Changes
- #8431
5d936c5Thanks @penalosa! - Supportworkerdautogates via theMINIFLARE_WORKERD_AUTOGATESenvironment variable.
Patch Changes
-
#13866
4e44ce6Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To workerd 1.20260507.1 1.20260508.1
create-cloudflare@2.68.2
Patch Changes
-
#13873
a6914bdThanks @dependabot! - Update dependencies of "create-cloudflare"The following dependency versions have been updated:
Dependency From To create-vike 0.0.622 0.0.625 -
#13874
012e949Thanks @dependabot! - Update dependencies of "create-cloudflare"The following dependency versions have been updated:
Dependency From To sv 0.15.2 0.15.3 -
#13875
fb3a42bThanks @dependabot! - Update dependencies of "create-cloudflare"The following dependency versions have been updated:
Dependency From To @angular/create 21.2.9 21.2.10 -
#13876
7ec2a93Thanks @dependabot! - Update dependencies of "create-cloudflare"The following dependency versions have been updated:
Dependency From To create-react-router 7.14.2 7.15.0 -
#13877
e93ab6cThanks @dependabot! - Update dependencies of "create-cloudflare"The following dependency versions have been updated:
Dependency From To @tanstack/create-start 0.59.28 0.59.30 -
#13878
13abe2bThanks @dependabot! - Update dependencies of "create-cloudflare"The following dependency versions have been updated:
Dependency From To create-next-app 16.2.4 16.2.6 -
#13879
3e0dbd6Thanks @dependabot! - Update dependencies of "create-cloudflare"The following dependency versions have been updated:
Dependency From To create-waku 0.12.5-1.0.0-alpha.9-0 0.12.5-1.0.0-alpha.10-0
@cloudflare/workers-shared@0.19.6
Patch Changes
-
#13855
dba84c2Thanks @courtney-sims! - Temporarily hardcode asset worker cohort to "ent" for latency testingDisables the
lookupCohortRPC call and cohort-based version routing in the outer entrypoint while keeping all the glue code (analytics, bindings, types) in place for re-enablement.
@cloudflare/vitest-pool-workers@0.16.4
@cloudflare/vite-plugin@1.36.4
Patch Changes
-
#13888
2af4ce0Thanks @jamesopstad! - Update Vite to v8.0.12This updates the bundled Vite module runner to include the bug fix in vitejs/vite#22369.
-
Updated dependencies [
4e44ce6,b0cee1d,d878e13,971dfe3,971dfe3,5d936c5]:- miniflare@4.20260508.0
- wrangler@4.90.1
@cloudflare/pages-shared@0.13.134
wrangler@4.90.0
Minor Changes
-
#12279
248bc08Thanks @penalosa! - Add deprecation warning fordelivery_delayin queue producer bindingsThe
delivery_delaysetting in[[queues.producers]]was silently having no effect since 2024. This change adds a deprecation warning when the setting is used, informing users that queue-level settings should be configured usingwrangler queues updateinstead. The setting will be removed in a future version.
Patch Changes
-
#13853
8852b0cThanks @gpanders! - Fix Containers SSH config -
#13858
e414e56Thanks @penalosa! - Fixwrangler whoamiand account selection failing for Account API TokensThe
/membershipsfallback for Account API Tokens was checking for code 9109, but/membershipsactually returns 9106 for that case. Correct the code so the fallback to/accountstriggers as intended. -
Updated dependencies []:
- miniflare@4.20260507.1
wrangler@4.89.1
Patch Changes
-
#13824
dd3baf3Thanks @emily-shen! - Fix container deployment being skipped for Workers for Platforms user workersPreviously, deploying a worker with
--dispatch-namespacewould early-exit before callingdeployContainers(), meaning container-app registration that links the image to the Durable Object namespace was never executed for WfP user workers. Container deployment now runs before the WfP early exit. -
Updated dependencies [
5cf6f81]:- miniflare@4.20260507.1
wrangler@4.89.0
Minor Changes
-
#13055
f3fed88Thanks @GregBrimble! - Introducing thecacheconfiguration option for Workers.You can now set
{ cache: { enabled: true } }in your Wrangler configuration file to enable a HTTP cache in front of your Worker'sfetchhandler. This is also supported in[previews]configuration —previews.cacheoverrides the top-levelcachesetting for preview deployments, and falls back to the top-level value when absent. More information can be found in our documentation. -
#13776
1a54ac5Thanks @petebacondarwin! -wrangler devand other Miniflare-backed commands now run the localworkerdruntime withTZ=UTCto match productionPreviously,
wrangler dev(and other commands that spin up Miniflare, such aswrangler kv,wrangler d1,wrangler r2,wrangler check) inherited the host machine's timezone, soDateandIntlAPIs inside a Worker observed the developer's local timezone during local development but UTC in production. This caused subtle, hard-to-debug differences between local and deployed behaviour.Local development now matches production. Code that previously relied on the host timezone during
wrangler devwill need to either accept UTC (the production behaviour) or explicitly construct dates/formatters with the desired timezone.
Patch Changes
-
#13829
2284f20Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To workerd 1.20260504.1 1.20260506.1 -
#13841
332f527Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To workerd 1.20260506.1 1.20260507.1 -
#13777
18e833dThanks @matingathani! - fix: throw a clear error when _routes.json contains invalid JSON instead of silently skipping it -
#13751
b6cea17Thanks @matingathani! - fix: ensurewrangler types --check --env-filedoes not falsely report stale types when.dev.varsexists -
#13775
53e846aThanks @maxwellpeterson! - Fixwrangler previewnot propagating theassetsbinding to preview deploymentsPreviously,
wrangler previewwould upload the asset manifest correctly but the resulting preview deployment had noASSETSbinding (or whatever name was configured underassets.binding). Workers reading from the binding would seeundefinedand fail at runtime.The fix emits the assets binding into the deployment's
envmap alongside other bindings, mirroringwrangler deploy. -
#13770
beff19cThanks @petebacondarwin! - Only show accounts available for the current login auth inwrangler whoamiand the interactive account pickerWrangler now lists the intersection of
/accountsand/membershipsinstead of either endpoint alone, dropping accounts the active OAuth token or API token has no membership in. Theaccountsfield ofwrangler whoami --jsonis filtered the same way. When/membershipsis inaccessible to the current auth (e.g. Account API Tokens) Wrangler falls back to/accountsso those tokens continue to work as before. -
#13832
af42fedThanks @gpanders! - Showcontainers sshinwrangler containers --helpand inwrangler containers ssh --helpThe
containers sshcommand was previously hidden, so it did not appear in the list of subcommands shown bywrangler containers --help, and its description was omitted fromwrangler containers ssh --help. The command is now listed with its description in both places. -
Updated dependencies [
2284f20,332f527,039bada,1a54ac5]:- miniflare@4.20260507.0