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
3 new6 fixed2 internal
Security
1 advisory affects 4.16.0; 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
Minor Changes
Allow --name and --env args on wrangler deploy
Previously it was not possible to provide a Worker name as a command line argument at the same time as setting the Wrangler environment.
Now specifying--nameis supported and will override any names set in the Wrangler config:wrangler.json
{ "name": "config-worker" "env": { "staging": { "name": "config-worker-env" } } }Command Previous (Worker name) Proposed (Worker name) Comment wrangler deploy --name=args-worker "args-worker" "args-worker" CLI arg used wrangler deploy --name=args-worker --env=staging Error "args-worker" CLI arg used wrangler deploy --name=args-worker --env=prod Error "args-worker" CLI arg used wrangler deploy "config-worker" "config-worker" Top-level config used wrangler deploy --env=staging "config-worker-env" "config-worker-env" Named env config used wrangler deploy --env=prod "config-worker-prod" "config-worker-prod" CLI arg and top-level config combined
Patch Changes
Add no-op
propstoctxingetPlatformProxyto fix type mismatchWire up mixed-mode remote bindings for multi-worker
wrangler devUnder the
--x-mixed-modeflag, make sure that bindings configurations withremote: trueactually generate bindings to remote resources during a multi-workerwrangler devsession, currently the bindings included in this are: services, kv_namespaces, r2_buckets, d1_databases, queues and workflows.Also include the ai binding since the bindings is already remote by default anyways.
Wrangler containers can be configured with the kind of application rollout on
applyWire up mixed-mode remote bindings for (single-worker)
wrangler devUnder the
--x-mixed-modeflag, make sure that bindings configurations withremote: trueactually generate bindings to remote resources during a single-workerwrangler devsession, currently the bindings included in this are: services, kv_namespaces, r2_buckets, d1_databases, queues and workflows.Also include the ai binding since the bindings is already remote by default anyways.
Support Mixed Mode for more binding types
Setting triggers.crons: in Wrangler config should delete deployed cron schedules
Support Mixed Mode Dispatch Namespaces
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.