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
7 new2 fixed1 internal
Security
1 advisory affects 4.46.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
Expose
experimental_getDetailsForAutoConfigandexperimental_runAutoConfigAPIs that provide respectively the autoconfig detection and execution functionalitiesDetect non-framework static sites
Add a
remoteBindingsoption togetPlatformProxyto allow the disabling of remote bindingsImplement experimental autoconfig flow for static sites
Add command to configure credentials for non-Cloudflare container registries
Note this is a closed/experimental command that will not work without the appropriate account-level capabilities.
Add jurisdiction support to d1 db creation via command-line argument
Patch Changes
Allows auto-update of the local Wrangler configuration file to match remote configuration when running
wrangler deploy --env <TARGET_ENV>When running
wrangler deploy, with--x-remote-diff-checkand after cancelling the deployment due to destructive changes present in the local config file, Wrangler offers to update the Wrangler configuration file to match the remote configuration. This wasn't however enabled when a target environment was specified (via the--env|-eflag). Now this will also apply when an environment is targeted.Update the description of the
--localflag for thewrangler devcommand to clarify that it disables remote bindings, also un-deprecate and un-hide itFix bindings with
remote: truebeing logged asremotewhen run viawrangler dev --local
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.