wrangler
4.164.0 · 17 Nov 2026MIT OR Apache-2.049.3M / weekRepositoryHomepagenpmAtom feed
Upgrading wrangler From 2.2.2 to 2.21.3
42 releases in betweennotes for 41
Reading releases, release notes and advisories…
Counted from 41 of 42 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking2.9.1
- Breaking2.7.0
- Breaking2.7.0
- Deprecated2.21.3
Security
1 advisory still affects 2.21.3
- Wrangler affected by OS Command Injection in `wrangler pages deploy`high · GHSA-36p8-mvp6-cv38
Upgrading to 3.114.17 clears it.
Fixes 2 advisories affecting 2.2.2
- Cloudflare Wrangler directory traversal vulnerabilitymoderate · GHSA-8c93-4hch-xgxp
- Arbitrary remote code execution within `wrangler dev` Workers sandboxcritical · GHSA-f8mp-x433-5wpf
Release by release
- Deprecated
Deprecate Wrangler v2. Since the release of Wrangler v3 in 2023, we’ve seen great adoption, and today over 95% of active Wrangler usage is with v3.
- Deprecated
2.21.2nothing new or fixed in the note
- Fixed
Ignore OPTIONS requests in Wrangler's oauth server
- Fixed
2.21.0nothing new or fixed in the note
- Fixed
Pin
workerdto1.20230404.0 - Fixed
Change dev registry and inspector server to listen on 127.0.0.1 instead of all interfaces
- Fixed
Validate
HostandOrginheaders where appropriate
- Fixed
- Fixed
Prevent
wrangler pages devfrom serving asset files outside of the build output directory
- Fixed
- New
Add support for the undocumented
_worker.js/directory in Pages - New
Add support for placement in wrangler config
- New
Support sourcemaps in DevTools
- New
Added output for tail being in "sampling mode"
- Fixed
Do not render "value of stdout.lastframe() is undefined" if the output is an empty string
- Fixed
Fix pages building not taking into account the nodejs_compat flag (and improve the related error message)
- New
- New
Added initial commands for integrating with Constellation AI.
- New
9 internal lines (docs, tests, tooling) left out.
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.