Releases: cloudflare/workers-sdk
wrangler@4.75.0
Minor Changes
-
#12492
3b81fc6Thanks @thomasgauvin! - feat: addwrangler tunnelcommands for managing Cloudflare TunnelsAdds a new set of commands for managing remotely-managed Cloudflare Tunnels directly from Wrangler:
wrangler tunnel create <name>- Create a new Cloudflare Tunnelwrangler tunnel list- List all tunnels in your accountwrangler tunnel info <tunnel>- Display details about a specific tunnelwrangler tunnel delete <tunnel>- Delete a tunnel (with confirmation)wrangler tunnel run <tunnel>- Run a tunnel using cloudflaredwrangler tunnel quick-start <url>- Start a temporary tunnel (Try Cloudflare)
The
runandquick-startcommands automatically download and manage the cloudflared binary, caching it in~/.wrangler/cloudflared/. Users are prompted before downloading and warned if their PATH-installed cloudflared is outdated. You can override the binary location with theCLOUDFLARED_PATHenvironment variable.All commands are marked as experimental.
Patch Changes
-
#12927
c9b3184Thanks @penalosa! - Bump undici from 7.18.2 to 7.24.4 -
#12875
13df6c7Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To workerd 1.20260312.1 1.20260316.1 -
#12935
df0d112Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To workerd 1.20260316.1 1.20260317.1 -
#12928
81ee98eThanks @petebacondarwin! - Migrate chrome-devtools-patches deployment from Cloudflare Pages to Workers + AssetsThe DevTools frontend is now deployed as a Cloudflare Workers + Assets project instead of a Cloudflare Pages project. This uses
wrangler deployfor production deployments andwrangler versions uploadfor PR preview deployments.The inspector proxy origin allowlists in both wrangler and miniflare have been updated to accept connections from the new
workers.devdomain patterns, while retaining the legacypages.devpatterns for backward compatibility. -
#12835
c600ce0Thanks @dario-piotrowicz! - Fix execution freezing ondebuggerstatements when DevTools is not attachedPreviously,
wrangleralways sentDebugger.enableto the runtime on connection, even when DevTools wasn't open. This caused scripts to freeze ondebuggerstatements. NowDebugger.enableis only sent when DevTools is actually attached, andDebugger.disableis sent when DevTools disconnects to stop the runtime from performing debugging work. -
#12894
f509d13Thanks @gpanders! - Simplify description of --json optionRemove extraneous adjectives in the description of the
--jsonoption. -
#11888
0a7fef9Thanks @staticpayload! - Reject cross-drive module paths in Pages Functions routingOn Windows, module paths using a different drive letter could be parsed in a way that bypassed the project-root check. These paths are now parsed correctly and rejected when they resolve outside the project.
-
Updated dependencies [
c9b3184,13df6c7,df0d112,81ee98e]:- miniflare@4.20260317.0
miniflare@4.20260317.0
Patch Changes
-
#12927
c9b3184Thanks @penalosa! - Bump undici from 7.18.2 to 7.24.4 -
#12875
13df6c7Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To workerd 1.20260312.1 1.20260316.1 -
#12935
df0d112Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To workerd 1.20260316.1 1.20260317.1 -
#12928
81ee98eThanks @petebacondarwin! - Migrate chrome-devtools-patches deployment from Cloudflare Pages to Workers + AssetsThe DevTools frontend is now deployed as a Cloudflare Workers + Assets project instead of a Cloudflare Pages project. This uses
wrangler deployfor production deployments andwrangler versions uploadfor PR preview deployments.The inspector proxy origin allowlists in both wrangler and miniflare have been updated to accept connections from the new
workers.devdomain patterns, while retaining the legacypages.devpatterns for backward compatibility.
create-cloudflare@2.64.9
Patch Changes
-
#11639
e9f5f30Thanks @dependabot! - Update dependencies of "create-cloudflare"The following dependency versions have been updated:
Dependency From To create-next-app 15.5.6 16.1.6 -
#12905
e7ef325Thanks @dependabot! - Update dependencies of "create-cloudflare"The following dependency versions have been updated:
Dependency From To nuxi 3.33.1 3.34.0 -
#12907
92402f6Thanks @dependabot! - Update dependencies of "create-cloudflare"The following dependency versions have been updated:
Dependency From To create-astro 4.13.2 5.0.0 -
#12908
eadb0fdThanks @dependabot! - Update dependencies of "create-cloudflare"The following dependency versions have been updated:
Dependency From To @angular/create 21.2.1 21.2.2 -
#12909
75fa04bThanks @dependabot! - Update dependencies of "create-cloudflare"The following dependency versions have been updated:
Dependency From To create-qwik 1.19.1 1.19.2
@cloudflare/vitest-pool-workers@0.13.2
@cloudflare/vite-plugin@1.29.1
Patch Changes
-
#12936
cff91ffThanks @jamesopstad! - Select the appropriatevite/module-runnerimplementation during dev based on the user's Vite versionThe plugin now builds against Vite 8 and ships two bundled copies of
vite/module-runner: one from Vite 8 and one from Vite 7.1.12 (the last version before a breaking change to the module runner in Vite 7.2.0). At dev server startup, the correct implementation is selected based on the user's installed Vite version. This is Vite 8's module runner for users on Vite >= 7.2.0, and the legacy module runner for users on older versions. -
Updated dependencies [
c9b3184,13df6c7,df0d112,81ee98e,c600ce0,f509d13,3b81fc6,0a7fef9]:- wrangler@4.75.0
- miniflare@4.20260317.0
@cloudflare/pages-shared@0.13.116
@cloudflare/chrome-devtools-patches@0.1.5
Patch Changes
-
#12928
81ee98eThanks @petebacondarwin! - Migrate chrome-devtools-patches deployment from Cloudflare Pages to Workers + AssetsThe DevTools frontend is now deployed as a Cloudflare Workers + Assets project instead of a Cloudflare Pages project. This uses
wrangler deployfor production deployments andwrangler versions uploadfor PR preview deployments.The inspector proxy origin allowlists in both wrangler and miniflare have been updated to accept connections from the new
workers.devdomain patterns, while retaining the legacypages.devpatterns for backward compatibility.
wrangler@4.74.0
Minor Changes
-
#10896
351e1e1Thanks @devin-ai-integration! - feat: add--secrets-fileparameter towrangler deployandwrangler versions uploadYou can now upload secrets alongside your Worker code in a single operation using the
--secrets-fileparameter on bothwrangler deployandwrangler versions upload. The file format matches what's used bywrangler versions secret bulk, supporting both JSON and .env formats.Example usage:
wrangler deploy --secrets-file .env.production wrangler versions upload --secrets-file secrets.json
Secrets not included in the file will be inherited from the previous version, matching the behavior of
wrangler versions secret bulk. -
#12873
2b9a186Thanks @gpanders! - Addwrangler containers instances <application_id>command to list container instancesLists all container instances for a given application, matching the Dash instances view. Displays instance ID, state, location, version, and creation time. Supports pagination for applications with many instances. Also adds paginated request support to the containers-shared API client.
Patch Changes
-
#12873
2b9a186Thanks @gpanders! - AddescapeCodeTimeoutoption toonKeyPressutility for faster Esc key detectionThe
onKeyPressutility now accepts an optionalescapeCodeTimeoutparameter that controls how long readline waits to disambiguate a standalone Esc press from multi-byte escape sequences (e.g. arrow keys). The default remains readline's built-in 500ms, but callers can pass a lower value (e.g. 25ms) for near-instant Esc handling in interactive prompts. -
#12676
65f1092Thanks @dario-piotrowicz! - Fix autoconfig package installation always failing at workspace rootsWhen running autoconfig at the root of a monorepo workspace, package installation commands now include the appropriate workspace root flags (
--workspace-rootfor pnpm,-Wfor yarn). This prevents errors like "Running this command will add the dependency to the workspace root" that previously occurred when configuring projects at the workspace root.Additionally, autoconfig now allows running at the workspace root if the root directory itself is listed as a workspace package (e.g.,
workspaces: ["packages/*", "."]). -
#12841
7b0d8f5Thanks @dario-piotrowicz! - Fix unclear error when assets upload session returns anullresponseWhen deploying assets, if the Cloudflare API returns a
nullresponse object, Wrangler now provides a clear error message asking users to retry instead of failing with a confusing error. -
Updated dependencies [
ade0aed]:- miniflare@4.20260312.1
miniflare@4.20260312.1
Patch Changes
-
#12869
ade0aedThanks @emily-shen! - Local explorer: validate host and origin headers before Miniflare modifies themIf
routesare set, Miniflare will alter the host and origin headers to match, causing the local explorer to mistakenly identify and block same-origin requests.Note the local explorer is a WIP experimental feature.
create-cloudflare@2.64.8
Patch Changes
-
#12837
2363d48Thanks @edmundhung! - Update Astro Workers template for Astro v6The Astro Workers template now scaffolds projects using Astro v6. The adapter uses the Cloudflare Vite plugin under the hood, so
astro devruns on the workerd runtime locally andwrangler.jsoncfields likemainandassetsare no longer needed in the template.For existing projects, see the Astro Cloudflare adapter migration guide.
-
#12866
077c4d5Thanks @edmundhung! - Fix React app creation flow skipping Cloudflare setupCreating a React app with create-cloudflare no longer allows the Cloudflare setup step to be skipped by accepting create-vite's
Install and start nowprompt.