Minor Changes
-
#16879
5970e6aThanks @edmundhung! - AddreadD1Migrations()andapplyD1Migrations()for reading and applying D1 migrationsThese move from the Vitest plugin so other tools apply migrations the same way.
readD1Migrations()is available from the main entry point and throws when the migrations directory is missing.applyD1Migrations()is available from theapply-d1-migrationsentry point, which has no Node.js imports so it runs inside workerd, and it also accepts the D1 binding from Miniflare'sgetD1Database().
Patch Changes
-
#17070
657179dThanks @dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-11-23Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
-
#17078
b007991Thanks @petebacondarwin! - Recover from missing Worker scripts after an interrupted first deployWhen the Workers API returns a service without a script,
wrangler deployuses the first-deploy flow instead of crashing.wrangler versions uploadtells you to runwrangler deployfirst.