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.
-
#16879
5970e6aThanks @edmundhung! - Throw fromreadD1Migrations()when the migrations directory doesn't existPassing options with a missing
migrationsDirused to return no migrations, so a typo silently applied nothing. It now throws "No migrations present at …", as Wrangler does. Passing a directory path that doesn't exist throws the same error. A migrations directory that can't be read now also throws when you pass options, and both forms name the directory in the error. -
#17108
65f6f33Thanks @Hebilicious! - Resolve the runner'svitest/workerimport from the plugin, not from the project rootThe runner is a virtual module,
/index.mjs, so Vite resolved itsvitest/workerimport from the project root. When the root could not resolvevitest, as in a pnpm workspace whose root package does not depend on it, no test file ran and Workers threwNo such module "vitest/worker". When a parent directory had anothervitestversion, the runner loaded that version and Vitest failed to find the runner. The plugin now resolvesvitest/workerfrom its own package, so the runner uses the same Vitest as the pool. -
Updated dependencies [
657179d,657179d,7afc49c,086706d,5b45f32,00413bb,5bc7dba,086706d]: