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
3 new7 fixed
Security
2 advisories affect 3.1.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
Release note
Minor Changes
Add
wrangler pages project deletecommand
Patch Changes
Wrangler pages dev --script-path argument when using a proxy command instead of directory mode
Fixes a regression in wrangler@3.x, where
wrangler pages dev --script-path=<my script path> -- <proxy command>would start throwing esbuild errors.Avoid unnecessary rebuilding pages functions in wrangler pages dev
Fixed
wrangler d1 migrationsto use--experimental-backendand not--experimentalBackendso that it is consistent withwrangler d1 create.Wrangler rollback shouldn't print its warning in the global menu
Failed d1 migrations not treated as errors
This PR teaches wrangler to return a non-success exit code when a set of migrations fails.
It also cleans up
wrangler d1 migrations applyoutput significantly, to only log information relevant to migrations.Prevents uploads with both cron triggers and smart placement enabled
This PR implements a trimmer that removes BEGIN TRANSACTION/COMMIT from SQL files sent to the API (since the D1 API already wraps SQL in a transaction for users).
Add
d1 infocommand for people to check DB sizeThis PR adds a
d1 info <NAME>command for getting information about a D1 database, including the current database size and state.Usage:
> npx wrangler d1 info northwind ┌───────────────────┬──────────────────────────────────────┐ │ │ d5b1d127-xxxx-xxxx-xxxx-cbc69f0a9e06 │ ├───────────────────┼──────────────────────────────────────┤ │ name │ northwind │ ├───────────────────┼──────────────────────────────────────┤ │ version │ beta │ ├───────────────────┼──────────────────────────────────────┤ │ num_tables │ 13 │ ├───────────────────┼──────────────────────────────────────┤ │ file_size │ 33.1 MB │ ├───────────────────┼──────────────────────────────────────┤ │ running_in_region │ WEUR │ └───────────────────┴──────────────────────────────────────┘ > npx wrangler d1 info northwind --json { "uuid": "d5b1d127-xxxx-xxxx-xxxx-cbc69f0a9e06", "name": "northwind", "version": "beta", "num_tables": 13, "file_size": 33067008, "running_in_region": "WEUR" }Add the
--compatibility-flagsand--compatibility-dateoptions to thepages project createcommand
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.