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
2 new4 fixed1 internal
Security
1 advisory affects 4.32.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
Enable cross-process communication for
wrangler devwith multiple config filesWorkers running in separate
wrangler devsessions can now communicate with each other regardless of whether you are running with single or multiple config files.Check out the Developing with multiple Workers guide to learn more about the different approaches and when to use each one.
Support unsafe dynamic worker loading bindings
Patch Changes
Migrate wrangler dev to use Miniflare dev registry implementation
Updated
wrangler devto use a shared dev registry implementation that now powers both the Cloudflare Vite plugin and Wrangler. This internal refactoring has no user-facing changes but consolidates registry logic for better consistency across tools.Default
containers.rollout_active_grace_periodto 0Fix debugging logs not including headers for CF API requests and responses
Fix the fact that
wrangler, when run with theWRANGLER_LOG=DEBUGandWRANGLER_LOG_SANITIZE=falseenvironment variables, displays{}instead of the actual headers for requests and responses for CF API fetchescontainers:
rollout_step_percentagenow also accepts an array of numbers. Previously it accepted a single number, and each rollout step would target the same percentage of instances. Now users can customise percentages for each step.rollout_step_percentagealso now defaults to[10,100](previously25), which should make rollouts progress slightly faster.You can also use
wrangler deploy --containers-rollout=immediateto override rollout settings in Wrangler configuration and update all instances in one step. Note this doesn't overriderollout_active_grace_periodif configured.
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.