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
5 new5 fixed2 internal
Security
1 advisory affects 4.47.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 wrangler workflows instances restart command
Add the experimental
wrangler setupcommand to run autoconfig outside of the deploy flow.Add possibility for users to edit their project settings during autoconfig
When running
wrangler deploy --experimental-autoconfig, after the automatic project settings detection Wrangler will now present users the opportunity to customize the auto-detected project's settings
Patch Changes
Improve the formatting of the D1 execute command to always show the duration in milliseconds with two decimal places.
Log a more helpful error when attempting to "r2 object put" a non-existent file
Add telemetry to autoconfig
Removed warning when deploying a Python worker
cdcecfcThanks @devin-ai-integration! - Use the nativenode:trace_eventsmodule when availableIt is enabled when the
enable_nodejs_trace_events_modulecompatibility flag is set.Ignores
.dev.varsif--env-filehas been explicitly passedPreviously,
.dev.varswould always be read first, and then any file passed with--env-filewould override variables in.dev.vars. This meant there was no way to ignore.dev.varsif you wanted to use a different env file. Now, if--env-fileis passed,.dev.varswill be ignored entirely.Add more logging around Wrangler authentication to help diagnose issues
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.