Repository navigation
wrangler@3.1.0
Minor Changes
- #3293
4a88db32Thanks @petebacondarwin! - feat: addwrangler pages project deletecommand
Patch Changes
-
#3399
d8a9995bThanks @Skye-31! - Fix: wrangler pages dev --script-path argument when using a proxy command instead of directory modeFixes a regression in wrangler@3.x, where
wrangler pages dev --script-path=<my script path> -- <proxy command>would start throwing esbuild errors. -
#3311
116d3fd9Thanks @Maximo-Guk! - Fix: Avoid unnecessary rebuilding pages functions in wrangler pages dev -
#3314
d5a230f1Thanks @elithrar! - Fixedwrangler d1 migrationsto use--experimental-backendand not--experimentalBackendso that it is consistent withwrangler d1 create. -
#3373
55703e52Thanks @rozenmd! - fix: wrangler rollback shouldn't print its warning in the global menu -
#3124
2956c31dThanks @verokarhu! - fix: failed d1 migrations not treated as errorsThis 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. -
#3390
b5b46b4aThanks @shahsimpson! - Prevents uploads with both cron triggers and smart placement enabled -
#3358
27b5aec5Thanks @rozenmd! - 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). -
#3324
ed9fbf79Thanks @rozenmd! - addd1 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" } -
#3317
3dae2585Thanks @jculvey! - Add the--compatibility-flagsand--compatibility-dateoptions to thepages project createcommand