wrangler
4.164.0 · 17 Nov 2026MIT OR Apache-2.049.3M / weekRepositoryHomepagenpmAtom feed
3.114.17 is the newest release of 3.x.
In short
2 new2 fixed
Security
3 advisories affect 3.9.0; 3.114.17 fixes them
- CriticalArbitrary remote code execution within `wrangler dev` Workers sandboxGHSA-f8mp-x433-5wpf · 3 Jan 2024Fixed in 3.19.0
- HighWrangler affected by OS Command Injection in `wrangler pages deploy`GHSA-36p8-mvp6-cv38 · 21 Jan 2026Fixed in 3.114.17
- ModerateArbitrary remote file read in Wrangler dev serverGHSA-cfph-4qqh-w828 · 3 Jan 2024Fixed in 3.19.0
Release note
Note this release changes the layout of persisted data in the .wrangler folder. KV namespaces, R2 buckets and D1 databases will automatically be migrated to the new layout. See the corresponding miniflare@3.20230918.0 release notes for more information.
Minor Changes
Add support for breakpoint debugging to
wrangler dev's--remoteand--no-bundlemodesPreviously, breakpoint debugging using Wrangler's DevTools was only supported
in local mode, when using Wrangler's built-in bundler. This change extends that
to remote development, and--no-bundle.When using
--remoteand--no-bundletogether, uncaught errors will now be
source-mapped when logged too.Add support for Visual Studio Code's built-in breakpoint debugger
Wrangler now supports breakpoint debugging with Visual Studio Code's debugger.
Create a.vscode/launch.jsonfile with the following contents...{ "configurations": [ { "name": "Wrangler", "type": "node", "request": "attach", "port": 9229, "cwd": "/", "resolveSourceMapLocations": null, "attachExistingChildren": false, "autoAttachChildProcesses": false } ] }...then run
wrangler dev, and launch the configuration.
Patch Changes
Update
wrangler pages devD1 and DO descriptionsColorize Deployed Bundle Size
Most bundlers, and other tooling that give you size outputs will colorize their the text to indicate if the value is within certain ranges.
The current range values are:
red 100% - 90%
yellow 89% - 70%
green <70%resolves #1312
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.