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 new10 fixed1 internal
Security
1 advisory affects 4.41.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 strict mode for the
wrangler deploycommandAdd a new flag:
--strictthat makes thewrangler deploycommand be more strict and not deploy workers when the deployment could be potentially problematic. This "strict mode" currently only affects non-interactive sessions where conflicts with the remote settings for the worker (for example when the worker has been re-deployed via the dashboard) will cause the deployment to fail instead of automatically overriding the remote settings.Add prompt to resource creation flow allowing for newly created resources to be remote.
Patch Changes
Skip banner when using
--jsonflag inwrangler pages deploymentcommandsSkip banner when using
--jsonflag inwrangler queues subscriptioncommandsSkip banner when using
--jsonflag inwrangler pipelinescommandscontainers: Default
max_instancesto 20 instead of 1.Adds new Container instance types, and rename
devtoliteandstandardtostandard-1. The new instance_types are now:Instance Type vCPU Memory Disk lite (previously dev) 1/16 256 MiB 2 GB basic 1/4 1 GiB 4 GB standard-1 (previously standard) 1/2 4 GiB 8 GB standard-2 1 6 GiB 12 GB standard-3 2 8 GiB 16 GB standard-4 4 12 GiB 20 GB Error if the container image uri has an account id that doesn't match the current account
Switch zone route warning to an info message
Improve formatting of logged errors in some cases
Retry subdomain requests to be more resilient to flakes
Enabling or disabling
workers_devis often an indication that
the user is also trying to enable or disablepreview_urls. Warn the
user when these enter mixed state.Respect the log level set by wrangler when logging using @cloudflare/cli
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.