wrangler
4.164.0 · 17 Nov 2026MIT OR Apache-2.049.3M / weekRepositoryHomepagenpmAtom feed
Upgrading wrangler From 2.14.0 to 2.21.3
13 releases in betweenevery note read
Reading releases, release notes and advisories…
Before you upgrade
Tick each one off as you go- 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.14.0
- 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
3 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.