wrangler
4.164.0 · 17 Nov 2026MIT OR Apache-2.049.3M / weekRepositoryHomepagenpmAtom feed
4.167.0 is the newest release of 4.x.
In short
5 new6 fixed2 internal
Security
1 advisory affects 4.20.1; 4.59.1 fixes them
- HighWrangler affected by OS Command Injection in `wrangler pages deploy`GHSA-36p8-mvp6-cv38 · 21 Jan 2026Fixed in 4.59.1
Release note
Patch Changes
Expose
Unstable_BindingtypeSwitch container registry to
registry.cloudflare.comfromregistry.cloudchamber.cfdata.org.
Also adds the env varCLOUDFLARE_CONTAINER_REGISTRYto override thisFix the default value for keep_names (
true)Strip the
CF-Connecting-IPheader from outgoing fetchesPoint to the right location for docs on telemetry
Drop unused
WRANGLER_UNENV_RESOLVE_PATHSenv varAdd warning about env not specified to potentially risky wrangler commands
add a warning suggesting users to specify their target environment (via
-eor--env)
when their wrangler config file contains some environments and they are calling one
of the following commands:wrangler deploy
wrangler versions upload
wrangler versions deploy
wrangler versions secret bulk
wrangler versions secret put
wrangler versions secret delete
wrangler secret bulk
wrangler secret put
wrangler secret delete
wrangler triggers deploy
this is a measure we're putting in place to try to prevent developers from accidentally applying
changes to an incorrect (potentially even production) environmentAllow passing an empty string to the
-e|--envflag to target the top-level environmentPerformance improvement: restart a mixed mode session only if the worker's remote bindings have changed
Allow
startWorkerto acceptfalseas aninspectoroption (to disable the inspector server)Expose new
experimental_maybeStartOrUpdateMixedModeSessionutility
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.