Minor Changes
-
#15713
3c75cadThanks @jamesopstad! - Define experimental Cloudflare configuration with a single default exportExperimental
cloudflare.config.tsfiles now define settings and resources together in a default-exporteddefineConfig()call. Add a Worker underworker, add Containers to thecontainersarray, or omit both to provide settings only.import * as entrypoint from "./src/index.ts" with { type: "cf-worker" }; export default defineConfig({ accountId: "...", complianceRegion: "public", worker: { name: "my-worker", compatibilityDate: "2026-09-18", entrypoint, }, });
-
#15707
95af41dThanks @halfstack-dev! - Support nested D1 migration layouts inreadD1Migrations()readD1Migrations()now accepts the samemigrationsDir/migrationsPatternoptions Wrangler uses, so Vitest can apply Drizzle-style nested files such as0001_init/migration.sql. Discovery is shared with Wrangler via@cloudflare/workers-utils, so the test path andwrangler d1 migrations applystay aligned.The original
readD1Migrations(migrationsPath)signature still reads only top-level*.sqlfiles in that directory.