@cloudflare/vite-plugin breaking changes
Updated December 4, 2026
On this page
Latest version 1.72.1, released December 4, 2026. Source repository
Its 1.69.0 release requires Node.js 22.12.0 or later. Node.js end of life dates.
@cloudflare/vite-plugin 1.70.2 breaking changes
- Default changed
The default compatibility date advances again, so projects without an explicit compatibility date get the newer runtime behavior. Set an explicit compatibility date to pin the current behavior. github.com - Default changed
Projects without an explicit compatibility date now default to 2026-11-18 instead of the previous default. Set an explicit compatibility date to keep the old runtime behavior. github.com - Default changed
The default compatibility date advances to November 19 and Wrangler 4.166.0 or newer is required. Set an explicit compatibility date to keep existing runtime behavior. github.com
@cloudflare/vite-plugin 1.70.1 breaking changes
- Behavior changed
Network failures on remote RPC binding requests now return the error instead of silently waiting for a preview reload. Only GET and HEAD requests interrupted by a reload are retried; code that relied on the request hanging until reload... github.com
@cloudflare/vite-plugin 1.70.0 breaking changes
- Removed
CLOUDFLARE_CF_AUTH
The CLOUDFLARE_CF_AUTH environment flag no longer has any effect. Development and preview sessions use the project's Wrangler profile and configured account. github.com - Default changed
remote
Artifacts bindings that omit remote now run locally without Cloudflare credentials instead of using deployed repositories. Set remote: true to keep using deployed repositories. github.com
@cloudflare/vite-plugin 1.69.0 breaking changes
- Behavior changed
Reads from local D1 outside sessions no longer write bookmarks, so code relying on those bookmarks must change. github.com - Behavior changed
Request paths are treated as paths on the selected server origin, and non-origin-form request targets are rejected in dev and preview. github.com - Behavior changed
Account choices made with experimental cf authentication stay within the session instead of being saved between invocations. github.com - Behavior changed
Local Secrets Store persistence is now restricted to its owner, which can change access to locally stored secrets. github.com - Behavior changed
The updated runtime needs Node.js 22.12.0 or later, so older Node.js versions will not work and must be upgraded. github.com - Behavior changed
Local static assets can no longer be written to during preview, so code that modifies them will fail. github.com - Default changed
The v1 local runtime and default compatibility date now follow the November 4 release, which can change Worker behavior that depends on the default. github.com
@cloudflare/vite-plugin 1.68.0 breaking changes
- Behavior changed
build.cssTarget
A build.cssTarget set in a Worker environment is now honored instead of being overridden by the es2024 CSS default. Projects that set it may see different CSS output. github.com - Default changed
The v1 development runtime now uses the November 3 workerd build and its default compatibility date, so local behavior may shift for projects relying on the default. Set an explicit compatibility date to keep the previous behavior. github.com
@cloudflare/vite-plugin 1.67.0 breaking changes
- Behavior changed
Builds and asset manifest generation now reject .assetsignore files with invalid UTF-8 or null characters instead of silently ignoring their patterns. Fix or remove such files. github.com - Default changed
The local runtime moves to workerd 1.20261101.1, and Workers without an explicit compatibility date now default to 2026-11-01. Set an explicit compatibility date to keep existing behavior. github.com
Older versions
47 older versions, each with its first changes. Sign up to see every change
Show 47 older versions
@cloudflare/vite-plugin 1.66.0 breaking changes
- Removed
MINIFLARE_REGISTRY_PATH
Vite plugin v1 no longer reads MINIFLARE_REGISTRY_PATH for Worker discovery. Set CLOUDFLARE_DEV_REGISTRY_PATH instead, and set the same value for Vite and Wrangler sessions. github.com - Behavior changed
Each incoming Set-Cookie value now reaches the Worker as its own header for HTTP requests and WebSocket upgrades, instead of being combined. Code that parsed a combined value must handle separate values. github.com
And 2 more in this version.
@cloudflare/vite-plugin 1.65.0 breaking changes
- Removed
experimental.newConfig
Vite plugin v1 now supports Wrangler configuration files only. Projects using cloudflare.config.ts should upgrade to Vite plugin v2 beta. github.com
@cloudflare/vite-plugin 1.64.0 breaking changes
- Default changed
Worker builds emit source maps unless build.sourcemap or upload_source_maps is set. To opt out, set build.sourcemap: false for the Worker environment or upload_source_maps: false in the Worker config. github.com
@cloudflare/vite-plugin 1.62.0 breaking changes
- Removed
@cloudflare.vite-plugin.experimental-config
The Vite plugin no longer exports @cloudflare/vite-plugin/experimental-config. Import defineConfig, bindings, triggers and related helpers from cf/config instead, and add cf as a dependency. github.com - Removed
experimental-config:AgentMemoryBinding
AgentMemoryBinding was removed in @cloudflare/vite-plugin 1.62.0 npmjs.com
And 75 more in this version.
@cloudflare/vite-plugin 1.61.0 breaking changes
- Signature changed
experimental-config:defineConfig
Was const defineConfig: <const TInput extends ConfigInput<CloudflareConfig>>(config: TInput) => TInput; now const defineConfig: <const TInput extends ConfigInput<CloudflareConfig>>(config: TInput & ContextualConfig<TInput... npmjs.com - Signature changed
experimental-config:defineContainer
Was const defineContainer: <const TInput extends ConfigInput<ContainerConfig>>(config: TInput) => TInput; now const defineContainer: <const TInput extends ConfigInput<ContainerConfig>>(config: TInput & ContextualConfig<TInput... npmjs.com
And 1 more in this version.
@cloudflare/vite-plugin 1.60.2 breaking changes
- Removed
experimental-config:WorkflowExport.default_retention
WorkflowExport.default_retention was removed in @cloudflare/vite-plugin 1.60.2 npmjs.com - Removed
experimental-config:WorkflowExportOptions.default_retention
WorkflowExportOptions.default_retention was removed in @cloudflare/vite-plugin 1.60.2 npmjs.com
@cloudflare/vite-plugin 1.60.0 breaking changes
- Removed
experimental-config:ConnectTrigger.address
ConnectTrigger.address was removed in @cloudflare/vite-plugin 1.60.0 npmjs.com - Removed
experimental-config:ConnectTrigger.port
ConnectTrigger.port was removed in @cloudflare/vite-plugin 1.60.0 npmjs.com
And 3 more in this version.
@cloudflare/vite-plugin 1.59.0 breaking changes
- Behavior changed
Validation error output from Miniflare, Wrangler, the Vite plugin and the Vitest plugin now uses Zod's prettifyError() format, so code that matches the old message text may need updating. github.com
@cloudflare/vite-plugin 1.58.0 breaking changes
- Configuration changed
types
In the experimental wrangler.config.ts format, the types option is now top-level because it applies to both dev and build commands. Move any types setting out of its previous nested location. github.com
@cloudflare/vite-plugin 1.57.0 breaking changes
- Removed
experimental-config:ContainerConfigInput
ContainerConfigInput was removed in @cloudflare/vite-plugin 1.57.0 npmjs.com - Removed
experimental-config:defineSettings
defineSettings was removed in @cloudflare/vite-plugin 1.57.0 npmjs.com
And 16 more in this version.
@cloudflare/vite-plugin 1.56.0 breaking changes
- Default changed
Flagship bindings use the local Miniflare flag store by default instead of the remote app. To keep using the remote app, set remote: true on the binding. github.com
@cloudflare/vite-plugin 1.55.0 breaking changes
- Signature changed
experimental-config:WorkerConfig.observability
Was observability?: {enabled?: boolean; headSamplingRate?: number; redactQueryString?: boolean; logs?: {enabled?: boolean; headSamplingRate?: number; invocationLogs?: boolean; persist?: boolean; destinations?: string[];}; traces?... npmjs.com - Signature changed
experimental-config:WorkerConfigInput.observability
Was observability?: {enabled?: boolean; headSamplingRate?: number; redactQueryString?: boolean; logs?: {enabled?: boolean; headSamplingRate?: number; invocationLogs?: boolean; persist?: boolean; destinations?: string[];}; traces?... npmjs.com
@cloudflare/vite-plugin 1.54.10 breaking changes
- Removed
experimental-config:Bindings.webSearch
Bindings.webSearch was removed in @cloudflare/vite-plugin 1.54.10 npmjs.com - Removed
experimental-config:WebSearchBinding
WebSearchBinding was removed in @cloudflare/vite-plugin 1.54.10 npmjs.com
@cloudflare/vite-plugin 1.54.9 breaking changes
- Signature changed
experimental-config:DurableObjectCreatedExport
Was type DurableObjectCreatedExport = DurableObjectCreatedExportOptions & {type: "durable-object";}; now type DurableObjectCreatedExport<TContainer extends ContainerConfigExport | undefined = ContainerConfigExport | undefined> =... npmjs.com - Signature changed
experimental-config:DurableObjectExpectingTransferExport
Was type DurableObjectExpectingTransferExport = DurableObjectExpectingTransferExportOptions & {type: "durable-object";}; now type DurableObjectExpectingTransferExport<TContainer extends ContainerConfigExport | undefined =... npmjs.com
And 1 more in this version.
@cloudflare/vite-plugin 1.54.6 breaking changes
- Removed
experimental-config:SettingsDefinition
SettingsDefinition was removed in @cloudflare/vite-plugin 1.54.6 npmjs.com - Removed
experimental-config:TypedDurableObjectBinding
TypedDurableObjectBinding was removed in @cloudflare/vite-plugin 1.54.6 npmjs.com
And 20 more in this version.
@cloudflare/vite-plugin 1.54.5 breaking changes
- Behavior changed
Requests to the dev server now keep the HTTP/2 :authority header and any non-default port, so request.url and X-Forwarded-Host may include a port that was previously dropped. Code that relies on the old host value may need to change. github.com
@cloudflare/vite-plugin 1.54.3 breaking changes
- Signature changed
experimental-config:WorkerConfig.observability
Was observability?: {enabled?: boolean; headSamplingRate?: number; logs?: {enabled?: boolean; headSamplingRate?: number; invocationLogs?: boolean; persist?: boolean; destinations?: string[];}; traces?: {enabled?: boolean... npmjs.com - Signature changed
experimental-config:WorkerConfigInput.observability
Was observability?: {enabled?: boolean; headSamplingRate?: number; logs?: {enabled?: boolean; headSamplingRate?: number; invocationLogs?: boolean; persist?: boolean; destinations?: string[];}; traces?: {enabled?: boolean... npmjs.com
@cloudflare/vite-plugin 1.54.2 breaking changes
- Removed
experimental-config:DispatchNamespaceBinding.outbound.workerName
DispatchNamespaceBinding.outbound.workerName was removed in @cloudflare/vite-plugin 1.54.2 npmjs.com - Removed
experimental-config:DurableObjectBinding.workerName
DurableObjectBinding.workerName was removed in @cloudflare/vite-plugin 1.54.2 npmjs.com
And 10 more in this version.
@cloudflare/vite-plugin 1.54.0 breaking changes
- Removed
experimental-config:AgentMemoryBinding.remote
AgentMemoryBinding.remote was removed in @cloudflare/vite-plugin 1.54.0 npmjs.com - Removed
experimental-config:AiBinding.remote
AiBinding.remote was removed in @cloudflare/vite-plugin 1.54.0 npmjs.com
And 34 more in this version.
@cloudflare/vite-plugin 1.53.1 breaking changes
- Removed
experimental-config:TypedWorkflowBinding.remote
TypedWorkflowBinding.remote was removed in @cloudflare/vite-plugin 1.53.1 npmjs.com - Removed
experimental-config:WorkflowBinding.remote
WorkflowBinding.remote was removed in @cloudflare/vite-plugin 1.53.1 npmjs.com
@cloudflare/vite-plugin 1.53.0 breaking changes
- Removed
experimental-config:DurableObjectCreatedExport.state
DurableObjectCreatedExport.state was removed in @cloudflare/vite-plugin 1.53.0 npmjs.com - Removed
experimental-config:DurableObjectCreatedExport.storage
DurableObjectCreatedExport.storage was removed in @cloudflare/vite-plugin 1.53.0 npmjs.com
And 9 more in this version.
@cloudflare/vite-plugin 1.52.0 breaking changes
- Default changed
Workers on compatibility date 2026-08-04 or later get Node.js compatibility without listing nodejs_compat, so they now receive Node.js polyfills and process.env handling. To keep it off, specify both no_nodejs_compat and... github.com
@cloudflare/vite-plugin 1.51.1 breaking changes
- Behavior changed
Traces are now written in batches, and the plugin's internal router, asset and proxy workers are no longer captured, so a trace's root is your Worker rather than __router-worker__. Code that reads these local traces may see different spans. github.com
@cloudflare/vite-plugin 1.50.0 breaking changes
- Default changed
Dev mode now captures request traces and console logs by default. To keep the old opt-in behavior, set X_LOCAL_OBSERVABILITY=false. github.com
@cloudflare/vite-plugin 1.49.0 breaking changes
- Behavior changed
The Worker configuration is now written to .cloudflare/output/v0/workers/default/config.json instead of .cloudflare/output/v0/workers/<worker-name>/worker.config.json. Update any tooling that reads the old path. github.com
@cloudflare/vite-plugin 1.46.0 breaking changes
- Removed
experimental-config:TypedWorkerDefinition.[CONFIG]
TypedWorkerDefinition.[CONFIG] was removed in @cloudflare/vite-plugin 1.46.0 npmjs.com - Removed
experimental-config:UserConfig
UserConfig was removed in @cloudflare/vite-plugin 1.46.0 npmjs.com
And 12 more in this version.
@cloudflare/vite-plugin 1.45.0 breaking changes
- Behavior changed
experimental.newConfig
With experimental.newConfig, Worker types are now generated only during vite dev and no longer during vite build. Projects that rely on build-time type generation must run dev to refresh the types. github.com
@cloudflare/vite-plugin 1.43.0 breaking changes
- Removed
experimental-config:DurableObjectExport
DurableObjectExport was removed in @cloudflare/vite-plugin 1.43.0 npmjs.com - Removed
experimental-config:WorkflowExport
WorkflowExport was removed in @cloudflare/vite-plugin 1.43.0 npmjs.com
And 4 more in this version.
@cloudflare/vite-plugin 1.41.0 breaking changes
- Signature changed
experimental-config:UserConfig.compatibilityDate
Was compatibilityDate?: string; now compatibilityDate: string. npmjs.com - Signature changed
experimental-config:UserConfig.name
Was name?: string; now name: string. npmjs.com
@cloudflare/vite-plugin 1.40.2 breaking changes
- Signature changed
experimental-config:ConfigContext.mode
Was mode: string; now mode: string | undefined. npmjs.com
@cloudflare/vite-plugin 1.37.3 breaking changes
- Behavior changed
The outbound CF-Worker header now uses a route's explicit zone_name instead of the pattern hostname, and no longer falls back to <worker-name>.example.com when routes are configured. github.com - Behavior changed
Subdomains of exact configured routes are no longer accepted by the /cdn-cgi/* host and origin check. Use a wildcard route such as *.example.com/* if subdomain access is needed. github.com
@cloudflare/vite-plugin 1.37.0 breaking changes
- Signature changed
PluginConfig.tunnel
Was tunnel?: boolean; now tunnel?: boolean | TunnelConfig. npmjs.com
@cloudflare/vite-plugin 1.36.0 breaking changes
- Behavior changed
The plugin now adds .npmrc, .yarnrc, .yarnrc.yml and more certificate and key extensions to server.fs.deny, so those files can no longer be fetched during local development. github.com
@cloudflare/vite-plugin 1.33.2 breaking changes
- Behavior changed
The plugin stops blocking Vite dev server access to vite.config.* files. Code that relied on those files being denied must now handle them being served. github.com - Behavior changed
Only /cdn-cgi/handler/* routes get special handling now, so other /cdn-cgi/ paths are no longer treated specially. Code depending on the previous /cdn-cgi/ handling may need updating. github.com
And 1 more in this version.
@cloudflare/vite-plugin 1.31.0 breaking changes
- Behavior changed
getLocalWorkerdCompatibilityDate
The function previously resolved the workerd compatibility date by traversing the local miniflare installation; it now returns today's date. github.com - Signature changed
getLocalWorkerdCompatibilityDate
Was export {getLocalWorkerdCompatibilityDate} from "@cloudflare/workers-utils"; now function getLocalWorkerdCompatibilityDate(_options?: {projectPath?: string;}): {date: CompatDate; source: "workerd" | "fallback";}. npmjs.com
@cloudflare/vite-plugin 1.30.0 breaking changes
- Default changed
The local explorer UI for D1, DO and KV resources at /cdn-cgi/explorer is on by default. To keep it off, set the environment variable X_LOCAL_EXPLORER=false. github.com
@cloudflare/vite-plugin 1.28.0 breaking changes
- Behavior changed
assets
Auxiliary Workers do not support static assets; the assets field was previously ignored silently and now produces a warning. Remove the field from auxiliary Worker configs. github.com
@cloudflare/vite-plugin 1.26.0 breaking changes
- Behavior changed
secrets
When the experimental secrets property is defined, only the keys listed in secrets.required are loaded, so other keys in .dev.vars or .env are excluded. Users relying on other keys must add them to secrets.required. github.com
@cloudflare/vite-plugin 1.24.0 breaking changes
- Behavior changed
build.sourcemap
When build.sourcemap is enabled for a Worker environment, upload_source_maps: true is now added automatically to the output wrangler.json. Set upload_source_maps explicitly in the input Worker config to override this, for example to... github.com
@cloudflare/vite-plugin 1.23.0 breaking changes
- Behavior changed
The plugin now always writes a .assetsignore file to the client output directory, even when no wrangler.json is present. Check any tooling that inspects or deploys that directory. github.com
@cloudflare/vite-plugin 1.21.0 breaking changes
- Signature changed
PluginConfig.viteEnvironment
Was viteEnvironment?: {name?: string;}; now viteEnvironment?: {name?: string; childEnvironments?: string[];}. npmjs.com
@cloudflare/vite-plugin 1.20.0 breaking changes
- Removed
entryWorkerConfig.name
The name option is no longer accepted when passing entryWorkerConfig to the config function for auxiliary Workers. Each Worker's name must be unique and is not passed directly. github.com - Removed
entryWorkerConfig.topLevelName
The topLevelName option is no longer accepted when passing entryWorkerConfig to the config function for auxiliary Workers, because it is now computed. Stop passing it. github.com
And 2 more in this version.
@cloudflare/vite-plugin 1.19.0 breaking changes
- Signature changed
PluginConfig.config
Was config?: WorkerConfigCustomizer; now config?: WorkerConfigCustomizer<true>. npmjs.com
@cloudflare/vite-plugin 1.17.0 breaking changes
- Behavior changed
The plugin now targets ES2024 when building, so output may use syntax that older runtimes or toolchains do not support. github.com
@cloudflare/vite-plugin 1.16.0 breaking changes
- Configuration changed
cloudflare
The plugin now accepts a config option that can supply or modify the Worker configuration instead of relying only on a Wrangler config file; existing setups keep working. github.com
@cloudflare/vite-plugin 1.13.15 breaking changes
- Removed
--x-remote-bindings
The obsolete --x-remote-bindings flag was removed. Stop passing it to the CLI. github.com
@cloudflare/vite-plugin 0.1.0 breaking changes
- Behavior changed
The plugin no longer calls next in server middleware so that it can override later dev middleware for framework integrations. Code that depends on next being called must be updated. github.com - Behavior changed
writeDeployConfig
The deploy config file is now written in the writeBundle hook rather than builder.buildApp, so it is still written when other plugins override builder in the Vite config. github.com
Related packages
- wrangler
- miniflare
- @cloudflare/sandbox
- @cloudflare/workerd-darwin-64
- @cloudflare/workerd-darwin-arm64
- @cloudflare/workerd-linux-64
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.