wrangler
4.164.0 · 17 Nov 2026MIT OR Apache-2.049.3M / weekRepositoryHomepagenpmAtom feed
3.114.17 is the newest release of 3.x.
In short
1 new6 fixed1 internal
Security
1 advisory affects 3.80.0; 3.114.17 fixes them
- HighWrangler affected by OS Command Injection in `wrangler pages deploy`GHSA-36p8-mvp6-cv38 · 21 Jan 2026Fixed in 3.114.17
Release note
Minor Changes
Update the
--experimental-dev-env(shorthand:--x-dev-env) flag to on-by-defaultIf you experience any issues, you can disable the flag with
--x-dev-env=false. Please also let us know by opening an issue at github.com/cloudflare/workers-sdk/issues/new/ch….
Patch Changes
The docs command should not crash if given search terms
Fixes a regression accidentally introduced by #3735.
Reduce logging noise during wrangler dev with static assets
Updates to static assets are accessible by passing in --log-level="debug" but otherwise hidden.
Custom builds outputting files in assets watched directory no longer cause the custom build to run again in an infinite loop
Render a helpful build error if a Service Worker mode Worker has imports
A common mistake is to forget to export from the entry-point of a Worker, which causes
Wrangler to infer that we are in "Service Worker" mode.In this mode, imports to external modules are not allowed.
Currently this only fails at runtime, because our esbuild step converts these imports to an internal__require()call that throws an error.
The error message is misleading and does not help the user identify the cause of the problem.
This is particularly tricky where the external imports are added by a library or our own node.js polyfills.Fixes #6648
Handle more module declaration cases
Improve static asset upload messaging
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.