Minor Changes
-
#16573
91f0e03Thanks @petebacondarwin! - Customize the full parsed Cloudflare configuration through the beta Vite plugin'sconfigcallbackThe
configoption now accepts(loadedConfig: ParsedInputConfigWithWorker) => ParsedInputConfigWithWorker, allowing frameworks to customize account settings and Containers alongside the entry Worker. Both the loaded and returned configurations include a Worker, andParsedInputConfigWithWorkeris exported for framework authors. The returned configuration is revalidated, including resource relationships, before being used for development and recorded in the build output for preview and deployment.This is a breaking change to the beta API: object overrides and callbacks that mutate or return partial Worker configurations must return a complete configuration instead. Copy the loaded configuration and any nested fields to preserve, for example
config: (loadedConfig) => ({ ...loadedConfig, worker: { ...loadedConfig.worker, name: "my-worker", compatibilityDate: "2026-10-01" } }). Fields and arrays are replaced rather than deep-merged.
Patch Changes
-
#16635
76e18a8Thanks @dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-11-01Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
-
Updated dependencies [
91f0e03,effe4ed,76e18a8,76e18a8,009ca6e]:- @cloudflare/config@0.29.1
- @cloudflare/runtime-types@0.1.20
- @cloudflare/build-output-utils@0.9.7
- miniflare@5.20261101.0-beta