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
4 new4 fixed2 internal
Security
1 advisory affects 4.20.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
Add static routing options via 'run_worker_first' to Wrangler
Implements the proposal noted here github.com/cloudflare/workers-sdk/discussions/9….
This is now usable in
wrangler devand in production - just specify the routes that should hit the worker first withrun_worker_firstin your Wrangler config. You can also omit certain paths with!negative rules.
Patch Changes
Slightly improve wrangler dev bindings loggings
improve the bindings loggings by:
removing the unnecessary (and potentially incorrect)
[connected]suffix for remote bindingsmaking sure that the modes presented in the bindings logs are correctly aligned
Add hello world binding that serves as as an explanatory example.
Add workerName option to startMixedModeSession API
Make workers created with
startWorkerawait thereadypromise ondisposeAdd mixed-mode support for mtls bindings
Make sure that remote binding errors are surfaced when using mixed (hybrid) mode
Reorder deploy output when deploying a container worker so the worker url is printed last and the worker triggers aren't deployed until the container has been built and deployed successfully.
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.