@cloudflare/autoconfig
0.13.3 · 20 Nov 2026MIT OR Apache-2.09.9k / weekRepositoryHomepagenpmAtom feed
64 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 0.13.x · latest line
0.13.3
20 Nov 2026Generate cf configuration without a runtime dependency on cf
Use a type-only import when generating
cloudflare.config.ts, so static directories without apackage.jsonor local cf installation can load their configuration after setup.
Patch Changes
Generate cf configuration without a runtime dependency on cf
Use a type-only import when generating
cloudflare.config.ts, so static directories without apackage.jsonor local cf installation can load their configuration after setup.
0.13.2
18 Nov 2026- Breaking
Require Vite 7 or later when autoconfiguring Vite projects for
cfcfinstalls@cloudflare/vite-pluginv2, which requires Vite 7 or 8, so a Vite 6 project is now rejected before any changes are made instead of failing during dependency installation. Fix Astro projects set up for cf getting a
wrangler.jsoncinstead of acloudflare.config.tsAutoconfig installed
astro@betato get theastro addthat writescloudflare.config.ts, but package managers such as pnpm kept the project's newer stable Astro, whoseastro addwriteswrangler.jsonc, so the build failed. Autoconfig now runs the beta'sastro addonce without installing it, and keeps the project's Astro version.Stop adding the SolidStart pre-bundling exclude on
cffor SolidStart 2.2.3 and laterSolidStart 2.2.3 keeps
@solidjs/startout of server pre-bundling itself, so autoconfig now addsenvironments.ssr.optimizeDeps.excludeto the Vite config, or asks you to add it, only for earlier 2.x versions.
Patch Changes
Fix Astro projects set up for cf getting a
wrangler.jsoncinstead of acloudflare.config.tsAutoconfig installed
astro@betato get theastro addthat writescloudflare.config.ts, but package managers such as pnpm kept the project's newer stable Astro, whoseastro addwriteswrangler.jsonc, so the build failed. Autoconfig now runs the beta'sastro addonce without installing it, and keeps the project's Astro version.- Breaking
Require Vite 7 or later when autoconfiguring Vite projects for
cfcfinstalls@cloudflare/vite-pluginv2, which requires Vite 7 or 8, so a Vite 6 project is now rejected before any changes are made instead of failing during dependency installation. Stop adding the SolidStart pre-bundling exclude on
cffor SolidStart 2.2.3 and laterSolidStart 2.2.3 keeps
@solidjs/startout of server pre-bundling itself, so autoconfig now addsenvironments.ssr.optimizeDeps.excludeto the Vite config, or asks you to add it, only for earlier 2.x versions.Suggest a compatible Cloudflare Vite plugin version when the installed one doesn't support cf
When
@cloudflare/vite-pluginwas missing or too old, autoconfig suggested installing@cloudflare/vite-plugin@beta, which resolves to a version that cf rejects. The suggested command now installs@cloudflare/vite-plugin@^2.0.0-rc.0, matching the version autoconfig installs when it configures a project for cf.Correct the dry-run setup message to say "exiting now" instead of "existing now".
The previous wording contained a typo and appeared in Wrangler setup output and other consumers of shared autoconfig.
Fix
Dynamic requireerrors when importing packages from ES modulesImporting these packages in a Node.js ES module could fail with
Dynamic require of "..." is not supportedwhen a dependency loaded a Node.js built-in. These imports now work without requiring a CommonJS wrapper.
0.13.1
17 Nov 2026Use vinext 1.4.6 or later when configuring Next.js projects
Autoconfig now runs
vinext initwithvinext@^1.4.6(previously^1.3.0), so newly configured Next.js projects pick up the latest vinext fixes.
Patch Changes
Use vinext 1.4.6 or later when configuring Next.js projects
Autoconfig now runs
vinext initwithvinext@^1.4.6(previously^1.3.0), so newly configured Next.js projects pick up the latest vinext fixes.
0.13.0
16 Nov 2026Run experimental cf projects with their installed Vite or Vite+ commands
cf dev,cf build, and deployments that build your project can use Vite or Vite+ even when no framework command is detected. This removes the need for the internalcf-vitedelegate and supports dependencies declared and hoisted at the root of a configured workspace. A workspace application using a custom-named Vite config should declare@cloudflare/vite-pluginin its own manifest, or addviteorvite-plusas a dependency or dev dependency to identify its tooling; this keeps shared root tools from selecting Vite for non-Vite siblings. Configs passed later via--configare evaluated by Vite when the command runs. Existing framework commands keep their priority. Consumers resolve bare executables using the detectednodeModulesPathsin order, adding.binto each directory. Lookup stops at the validated workspace root; standalone applications use only their ownnode_modules/.bin.Project inspection can recognize an existing Cloudflare configuration before dependencies are installed. Running a command provides guidance when the required tools are missing or the plugin version does not support cf profiles (
>=2.0.0-beta.v.13 <3). Vite evaluates the project configuration when the command runs, including dynamic configs and custom config files. Repair guidance uses the project’s detected package manager. Automatic setup asks users to convert CommonJS.cjsand.ctsVite configs to ESM imports and exports in.mjsor.mtsbefore adding the ESM-only Cloudflare plugin. Native builds also work with the Windows shell. Pages migration safeguards, unsupported-framework setup checks, and Wrangler command selection retain their existing behavior.Install the Vite plugin release candidate when configuring projects for
cfConfiguring a Vite project for
cfnow installs@cloudflare/vite-plugin@^2.0.0-rc.0instead of^2.0.0-beta.v.0, so an existing lockfile can't keep a beta that doesn't support the generated configuration.
Minor Changes
Run experimental cf projects with their installed Vite or Vite+ commands
cf dev,cf build, and deployments that build your project can use Vite or Vite+ even when no framework command is detected. This removes the need for the internalcf-vitedelegate and supports dependencies declared and hoisted at the root of a configured workspace. A workspace application using a custom-named Vite config should declare@cloudflare/vite-pluginin its own manifest, or addviteorvite-plusas a dependency or dev dependency to identify its tooling; this keeps shared root tools from selecting Vite for non-Vite siblings. Configs passed later via--configare evaluated by Vite when the command runs. Existing framework commands keep their priority. Consumers resolve bare executables using the detectednodeModulesPathsin order, adding.binto each directory. Lookup stops at the validated workspace root; standalone applications use only their ownnode_modules/.bin.Project inspection can recognize an existing Cloudflare configuration before dependencies are installed. Running a command provides guidance when the required tools are missing or the plugin version does not support cf profiles (
>=2.0.0-beta.v.13 <3). Vite evaluates the project configuration when the command runs, including dynamic configs and custom config files. Repair guidance uses the project’s detected package manager. Automatic setup asks users to convert CommonJS.cjsand.ctsVite configs to ESM imports and exports in.mjsor.mtsbefore adding the ESM-only Cloudflare plugin. Native builds also work with the Windows shell. Pages migration safeguards, unsupported-framework setup checks, and Wrangler command selection retain their existing behavior.
Patch Changes
Install the Vite plugin release candidate when configuring projects for
cfConfiguring a Vite project for
cfnow installs@cloudflare/vite-plugin@^2.0.0-rc.0instead of^2.0.0-beta.v.0, so an existing lockfile can't keep a beta that doesn't support the generated configuration.
- 0.12.x
0.12.1
13 Nov 20260.12.0
12 Nov 2026Support SolidStart on
cffrom version 2.0.0Autoconfig now sets up SolidStart 2 projects for
cfwith the Cloudflare Vite plugin. Projects configured for Wrangler keep using Nitro.
Minor Changes
Support SolidStart on
cffrom version 2.0.0Autoconfig now sets up SolidStart 2 projects for
cfwith the Cloudflare Vite plugin. Projects configured for Wrangler keep using Nitro.
- 0.11.x
0.11.1
11 Nov 2026Only updates dependencies:@cloudflare/config 0.32.0@cloudflare/workers-utils 0.53.1@cloudflare/cli-shared-helpers 0.3.7
0.11.0
10 Nov 2026Detect cf applications inside package-manager workspaces without requiring an application-local lockfile.
Use the enclosing workspace's package manager while keeping framework commands, output directories, and package.json updates local to the application. Wrangler's detection and command behavior are unchanged.
This changes the pre-1.0 cf integration contract: framework commands are returned without package-manager prefixes for all cf projects, including standalone applications. Before upgrading, cf consumers must resolve executables from the application's and ancestor directories'
node_modules/.binfor build, dev, and the autoconfigrunCommandcallback. Older cf runners without local executable resolution must be updated first.Fix JavaScript configuration parsing for Svelte projects using object spread
Use a parser that supports object spread when updating JavaScript configuration files. This prevents configuration failures for Svelte projects using Drizzle or Better Auth and other framework configurations containing modern JavaScript syntax.
Vite autoconfiguration reports a configuration error when an object spread, computed property, or accessor after the plugins array could override the Cloudflare plugin. Place the effective plugins array after these properties before retrying autoconfiguration.
Minor Changes
Detect cf applications inside package-manager workspaces without requiring an application-local lockfile.
Use the enclosing workspace's package manager while keeping framework commands, output directories, and package.json updates local to the application. Wrangler's detection and command behavior are unchanged.
This changes the pre-1.0 cf integration contract: framework commands are returned without package-manager prefixes for all cf projects, including standalone applications. Before upgrading, cf consumers must resolve executables from the application's and ancestor directories'
node_modules/.binfor build, dev, and the autoconfigrunCommandcallback. Older cf runners without local executable resolution must be updated first.
Patch Changes
Fix JavaScript configuration parsing for Svelte projects using object spread
Use a parser that supports object spread when updating JavaScript configuration files. This prevents configuration failures for Svelte projects using Drizzle or Better Auth and other framework configurations containing modern JavaScript syntax.
Vite autoconfiguration reports a configuration error when an object spread, computed property, or accessor after the plugins array could override the Cloudflare plugin. Place the effective plugins array after these properties before retrying autoconfiguration.
- 0.10.x
0.10.0
9 Nov 2026Configure Astro projects for cf with the latest compatible beta releases
Astro 7 projects can now be automatically configured for cf with the latest compatible beta releases of Astro and the Cloudflare adapter.
Minor Changes
Configure Astro projects for cf with the latest compatible beta releases
Astro 7 projects can now be automatically configured for cf with the latest compatible beta releases of Astro and the Cloudflare adapter.
- 0.9.x
0.9.1 – 0.9.33 releases that only update dependencies@cloudflare/workers-utils 0.52.0@cloudflare/cli-shared-helpers 0.3.4@cloudflare/config 0.30.2and 1 moreShow each
- 0.9.35 Nov 2026@cloudflare/workers-utils 0.52.0@cloudflare/cli-shared-helpers 0.3.4@cloudflare/config 0.30.2and 1 more
- 0.9.23 Nov 2026@cloudflare/workers-utils 0.51.1@cloudflare/cli-shared-helpers 0.3.3@cloudflare/config 0.30.1and 1 more
- 0.9.12 Nov 2026@cloudflare/config 0.30.0@cloudflare/workers-utils 0.51.0@cloudflare/cli-shared-helpers 0.3.2and 1 more
0.9.0
1 Nov 2026Add an
outputDiroption togetDetailsForAutoConfigCallers that already know which directory holds their built static assets can pass it as
outputDirinstead of having autoconfig detect one. Relative paths are resolved against the project path. This selects static-asset configuration for unconfigured projects even when framework dependencies are present, without running framework migrations or builds that could replace the requested assets. Existing Workers and Pages configurations, including deployments configured through the Cloudflare Vite plugin alone, retain their usual detection behavior.Checking whether a Vite project already uses the Cloudflare plugin no longer writes the Vite config back to disk, preserving its line endings and trailing newline.
Support React Router on
cffrom version 8.5.1React Router 8.5.1 builds into the output directories that the Cloudflare Vite plugin v2 uses, which
cfneeds. Autoconfig now requires React Router 8.5.1 or later when configuring a project forcf, and stops with a clear message on earlier versions instead of lettingcf buildfail later. Projects configured for Wrangler keep the existing minimum of React Router 7.0.0.Run the project-local Vite+ executable for Vite+ projects
Use
vp devandvp buildwhen Vite+ is declared. Its Vite alias does not expose aviteexecutable, so invokingvitecan fail with pnpm or cause npm to fetch a separate Vite. Preserve framework-owned commands and custom scripts.
Minor Changes
Add an
outputDiroption togetDetailsForAutoConfigCallers that already know which directory holds their built static assets can pass it as
outputDirinstead of having autoconfig detect one. Relative paths are resolved against the project path. This selects static-asset configuration for unconfigured projects even when framework dependencies are present, without running framework migrations or builds that could replace the requested assets. Existing Workers and Pages configurations, including deployments configured through the Cloudflare Vite plugin alone, retain their usual detection behavior.Checking whether a Vite project already uses the Cloudflare plugin no longer writes the Vite config back to disk, preserving its line endings and trailing newline.
Patch Changes
Support React Router on
cffrom version 8.5.1React Router 8.5.1 builds into the output directories that the Cloudflare Vite plugin v2 uses, which
cfneeds. Autoconfig now requires React Router 8.5.1 or later when configuring a project forcf, and stops with a clear message on earlier versions instead of lettingcf buildfail later. Projects configured for Wrangler keep the existing minimum of React Router 7.0.0.Run the project-local Vite+ executable for Vite+ projects
Use
vp devandvp buildwhen Vite+ is declared. Its Vite alias does not expose aviteexecutable, so invokingvitecan fail with pnpm or cause npm to fetch a separate Vite. Preserve framework-owned commands and custom scripts.
- 0.8.x
0.8.3
29 Oct 2026Stop autoconfig in non-interactive runs when a project root holds both static files and a Pages
functionsdirectoryWhen a project without a detected framework has a
functionsdirectory, autoconfig asks whether it is a Cloudflare Pages project. Non-interactive runs (CI and coding agents) assume it is not and continue as a static site. When the static files are in the project root, that deploys the root as static assets, and the Pages Functions (the project's API routes) are not deployed.In that case autoconfig now stops with an error explaining that Pages Functions cannot be migrated automatically yet. For Pages Functions it suggests moving the static files into a subdirectory and deploying with
wrangler pages deploy, or migrating the Functions to a Worker; for afunctionsdirectory that is not Pages Functions, it suggests moving the static files into a subdirectory or adding a configuration file. Projects whose static files are already in a subdirectory, projects detected as Pages or with a detected framework, and interactive runs where the user answers the prompt are unaffected.Write a protective
.assetsignorewhen autoconfig uses the project root as the static assets directoryAutoconfig is meant to write an
.assetsignorewhen the project root itself is the assets directory, so that local files are not uploaded as public assets. The check compared the detected output directory, which is relative ("."), with the absolute project path, so it never matched and no.assetsignorewas written. A static project with anindex.htmlat its root (for example afterwrangler setupor a zero-configwrangler deploy) then uploaded files such as.env,.dev.vars,.gitandnode_modulesas public assets.The check now resolves the assets directory that the generated configuration uses and compares it with the project root, so frameworks that set their own build output directory (such as Nuxt or SvelteKit) do not get an unused root
.assetsignore. The generated.assetsignorealso covers what a Cloudflare Pages upload skips, alongside the existing.wrangler,.dev.vars*and.env*entries:/_worker.js,/_routes.jsonand/functionsat the root (so nested paths such asblog/functions/index.htmlare still uploaded),node_modules,.gitand.DS_Storeat any depth, and.npmrc. If an existing.assetsignoreonly lists a narrower pattern such as.env,.env*is added so that files like.env.productionare skipped too. When the project root of an assets-only project contains a Pagesfunctionsdirectory or_worker.js, autoconfig now warns that it will not be deployed, since it is excluded from the assets and not run as server code.
Patch Changes
Stop autoconfig in non-interactive runs when a project root holds both static files and a Pages
functionsdirectoryWhen a project without a detected framework has a
functionsdirectory, autoconfig asks whether it is a Cloudflare Pages project. Non-interactive runs (CI and coding agents) assume it is not and continue as a static site. When the static files are in the project root, that deploys the root as static assets, and the Pages Functions (the project's API routes) are not deployed.In that case autoconfig now stops with an error explaining that Pages Functions cannot be migrated automatically yet. For Pages Functions it suggests moving the static files into a subdirectory and deploying with
wrangler pages deploy, or migrating the Functions to a Worker; for afunctionsdirectory that is not Pages Functions, it suggests moving the static files into a subdirectory or adding a configuration file. Projects whose static files are already in a subdirectory, projects detected as Pages or with a detected framework, and interactive runs where the user answers the prompt are unaffected.Write a protective
.assetsignorewhen autoconfig uses the project root as the static assets directoryAutoconfig is meant to write an
.assetsignorewhen the project root itself is the assets directory, so that local files are not uploaded as public assets. The check compared the detected output directory, which is relative ("."), with the absolute project path, so it never matched and no.assetsignorewas written. A static project with anindex.htmlat its root (for example afterwrangler setupor a zero-configwrangler deploy) then uploaded files such as.env,.dev.vars,.gitandnode_modulesas public assets.The check now resolves the assets directory that the generated configuration uses and compares it with the project root, so frameworks that set their own build output directory (such as Nuxt or SvelteKit) do not get an unused root
.assetsignore. The generated.assetsignorealso covers what a Cloudflare Pages upload skips, alongside the existing.wrangler,.dev.vars*and.env*entries:/_worker.js,/_routes.jsonand/functionsat the root (so nested paths such asblog/functions/index.htmlare still uploaded),node_modules,.gitand.DS_Storeat any depth, and.npmrc. If an existing.assetsignoreonly lists a narrower pattern such as.env,.env*is added so that files like.env.productionare skipped too. When the project root of an assets-only project contains a Pagesfunctionsdirectory or_worker.js, autoconfig now warns that it will not be deployed, since it is excluded from the assets and not run as server code.
0.8.2
28 Oct 2026Include the types generated by
cf workers typesintsconfig.jsonwhen configuring forcfcf workers typeswrites the Worker's types to.cloudflare/types. Patterns in theincludearray oftsconfig.json, such as**/*, skip folders whose names start with a dot, so type checking couldn't findEnvafter autoconfig. Autoconfig now adds.cloudflare/typesto thatincludearray forcfprojects with a Worker, ascf initdoes for new projects. Whentsconfig.jsonhas noincludearray, autoconfig asks you to add the entry yourself.
Patch Changes
Include the types generated by
cf workers typesintsconfig.jsonwhen configuring forcfcf workers typeswrites the Worker's types to.cloudflare/types. Patterns in theincludearray oftsconfig.json, such as**/*, skip folders whose names start with a dot, so type checking couldn't findEnvafter autoconfig. Autoconfig now adds.cloudflare/typesto thatincludearray forcfprojects with a Worker, ascf initdoes for new projects. Whentsconfig.jsonhas noincludearray, autoconfig asks you to add the entry yourself.
0.8.1
26 Oct 20260.8.0
22 Oct 2026Configure Next.js 16 and later projects with vinext when targeting
cfAutoconfig now runs
vinext init(fromvinext@^1.3.0) instead of@opennextjs/cloudflare migratefor projects on Next.js 16 or later that targetcf. vinext builds the project with the Cloudflare Vite plugin, producing the Build Output thatcfdeploys, and creates the project'scloudflare.config.ts. Autoconfig passes--platform=cloudflare --cdn-cache=none --image-optimization=cloudflare-images --no-prerenderso thatvinext initdoes not prompt and can run in agent environments, and passes the selected Worker name with--nameso that vinext uses it rather than deriving one frompackage.json.Projects on earlier Next.js versions (including 16.0.0 prereleases), which vinext does not support, and all projects targeting Wrangler continue to be configured with OpenNext.
Install
@cloudflare/vite-plugin@^2.0.0-beta.v.0when autoconfiguring projects for cf
Minor Changes
Configure Next.js 16 and later projects with vinext when targeting
cfAutoconfig now runs
vinext init(fromvinext@^1.3.0) instead of@opennextjs/cloudflare migratefor projects on Next.js 16 or later that targetcf. vinext builds the project with the Cloudflare Vite plugin, producing the Build Output thatcfdeploys, and creates the project'scloudflare.config.ts. Autoconfig passes--platform=cloudflare --cdn-cache=none --image-optimization=cloudflare-images --no-prerenderso thatvinext initdoes not prompt and can run in agent environments, and passes the selected Worker name with--nameso that vinext uses it rather than deriving one frompackage.json.Projects on earlier Next.js versions (including 16.0.0 prereleases), which vinext does not support, and all projects targeting Wrangler continue to be configured with OpenNext.
Patch Changes
Install
@cloudflare/vite-plugin@^2.0.0-beta.v.0when autoconfiguring projects for cf
- 0.7.x
0.7.2 – 0.7.1110 releases that only update dependencies@cloudflare/workers-utils 0.47.3@cloudflare/cli-shared-helpers 0.2.7@cloudflare/config 0.27.0Show each
- 0.7.1120 Oct 2026@cloudflare/workers-utils 0.47.3@cloudflare/cli-shared-helpers 0.2.7@cloudflare/config 0.27.0
- 0.7.1016 Oct 2026@cloudflare/config 0.27.0
- 0.7.914 Oct 2026@cloudflare/config 0.26.0
- 0.7.813 Oct 2026@cloudflare/workers-utils 0.47.2@cloudflare/config 0.25.0@cloudflare/cli-shared-helpers 0.2.6
- 0.7.78 Oct 2026@cloudflare/config 0.24.1@cloudflare/workers-utils 0.47.1@cloudflare/cli-shared-helpers 0.2.5
- 0.7.66 Oct 2026@cloudflare/config 0.24.0@cloudflare/workers-utils 0.47.0@cloudflare/cli-shared-helpers 0.2.4
- 0.7.52 Oct 2026@cloudflare/config 0.23.0@cloudflare/workers-utils 0.46.0@cloudflare/cli-shared-helpers 0.2.3
- 0.7.41 Oct 2026@cloudflare/workers-utils 0.45.1@cloudflare/cli-shared-helpers 0.2.2@cloudflare/config 0.22.0
- 0.7.330 Sep 2026@cloudflare/config 0.22.0@cloudflare/workers-utils 0.45.0@cloudflare/cli-shared-helpers 0.2.1
- 0.7.229 Sep 2026@cloudflare/config 0.21.0
0.7.1
28 Sep 2026Fix the type generation script added to TypeScript projects configured for
cf.The
cf-typegenscript now runscf workers typesinstead of the unsupportedcf typescommand. Projects configured for Wrangler continue to usewrangler types.
0.7.0
27 Sep 2026Install the beta Cloudflare Vite plugin for cf
When targeting cf, autoconfig now installs
@cloudflare/vite-plugin@betaso supported projects use the Vite plugin v2 prerelease instead of the latest stable release. Wrangler autoconfiguration continues to install the latest stable release.Reject frameworks that cf cannot currently configure
Autoconfig now directs Analog, Angular, Nuxt, Qwik, Solid Start, SvelteKit, Vike, and Waku projects to Wrangler when invoked by cf, before changing project files. Wrangler autoconfiguration remains supported for these frameworks.
Minor Changes
Install the beta Cloudflare Vite plugin for cf
When targeting cf, autoconfig now installs
@cloudflare/vite-plugin@betaso supported projects use the Vite plugin v2 prerelease instead of the latest stable release. Wrangler autoconfiguration continues to install the latest stable release.Reject frameworks that cf cannot currently configure
Autoconfig now directs Analog, Angular, Nuxt, Qwik, Solid Start, SvelteKit, Vike, and Waku projects to Wrangler when invoked by cf, before changing project files. Wrangler autoconfiguration remains supported for these frameworks.
- 0.6.x
0.6.6
25 Sep 2026Keep Node.js ESM packages working when consumers rebundle them as CommonJS
Node.js-targeted ESM bundles now provide a real
requireimplementation for bundled CommonJS dependencies. This avoids downstream patches for dynamic require calls and keeps the packages usable when a consumer rebundles them to CommonJS.
Patch Changes
Keep Node.js ESM packages working when consumers rebundle them as CommonJS
Node.js-targeted ESM bundles now provide a real
requireimplementation for bundled CommonJS dependencies. This avoids downstream patches for dynamic require calls and keeps the packages usable when a consumer rebundles them to CommonJS.
0.6.4 – 0.6.52 releases that only update dependencies@cloudflare/workers-utils 0.43.0@cloudflare/cli-shared-helpers 0.1.39@cloudflare/config 0.18.0Show each
0.6.3
24 Sep 2026Prevent static-site detection from failing on inaccessible child directories
Autoconfig now checks each candidate directory's
index.htmldirectly and ignores expected missing-file and permission errors. This allows commands such ascf buildto run from directories containing protected folders, including a macOS home directory with.Trash.
Patch Changes
Prevent static-site detection from failing on inaccessible child directories
Autoconfig now checks each candidate directory's
index.htmldirectly and ignores expected missing-file and permission errors. This allows commands such ascf buildto run from directories containing protected folders, including a macOS home directory with.Trash.
0.6.1 – 0.6.22 releases that only update dependencies@cloudflare/workers-utils 0.41.1@cloudflare/cli-shared-helpers 0.1.36@cloudflare/config 0.17.0Show each
0.6.0
21 Sep 2026Define experimental Cloudflare configuration with a single default export
Experimental
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, }, });
Minor Changes
Define experimental Cloudflare configuration with a single default export
Experimental
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, }, });
- 0.5.x
0.5.1
18 Sep 2026Defer configured unsupported frameworks to an installed Cloudflare dev server
Configured
cfprojects whose detected framework is not supported by autoconfig no longer run inferred package scripts:npm run buildas these may be invalid, e.g a build scriptcf buildcauses recursive callscf build -> npm run build -> cf build. This allowscfto use its existing Cloudflare dev-server delegation instead.
Patch Changes
Defer configured unsupported frameworks to an installed Cloudflare dev server
Configured
cfprojects whose detected framework is not supported by autoconfig no longer run inferred package scripts:npm run buildas these may be invalid, e.g a build scriptcf buildcauses recursive callscf build -> npm run build -> cf build. This allowscfto use its existing Cloudflare dev-server delegation instead.
0.5.0
17 Sep 2026Expose mode support for autoconfigured framework commands
Detected Astro and Vite frameworks now report that their build and development commands support
--mode. Other frameworks remain unsupported by default.
Minor Changes
Expose mode support for autoconfigured framework commands
Detected Astro and Vite frameworks now report that their build and development commands support
--mode. Other frameworks remain unsupported by default.
- 0.4.x
0.4.7
16 Sep 2026Stop adding a
previewscript when configuring projects forcfProjects can continue using their existing development and preview scripts, or invoke
cf devdirectly. Wrangler-targeted autoconfiguration continues to add its existingpreviewscript.
Patch Changes
Stop adding a
previewscript when configuring projects forcfProjects can continue using their existing development and preview scripts, or invoke
cf devdirectly. Wrangler-targeted autoconfiguration continues to add its existingpreviewscript.
0.4.6
15 Sep 2026Recognize Astro 7 as officially supported by autoconfig
Astro 7 projects no longer receive an unsupported-version warning during automatic configuration. Astro 7 uses the existing native
astro add cloudflareconfiguration path introduced for Astro 6.
Patch Changes
Recognize Astro 7 as officially supported by autoconfig
Astro 7 projects no longer receive an unsupported-version warning during automatic configuration. Astro 7 uses the existing native
astro add cloudflareconfiguration path introduced for Astro 6.
0.4.5
14 Sep 2026Only updates dependencies:@cloudflare/config 0.12.0@cloudflare/workers-utils 0.38.1@cloudflare/cli-shared-helpers 0.1.30
0.4.4
10 Sep 2026Remove the unused Nitro Vite import when autoconfiguring TanStack Start for Cloudflare
TanStack Start projects created for Node.js no longer retain an unused Nitro Vite import after Cloudflare autoconfiguration.
Patch Changes
Remove the unused Nitro Vite import when autoconfiguring TanStack Start for Cloudflare
TanStack Start projects created for Node.js no longer retain an unused Nitro Vite import after Cloudflare autoconfiguration.
0.4.1 – 0.4.33 releases that only update dependencies@cloudflare/config 0.11.0@cloudflare/workers-utils 0.37.0@cloudflare/cli-shared-helpers 0.1.28Show each
- 0.4.38 Sep 2026@cloudflare/config 0.11.0@cloudflare/workers-utils 0.37.0@cloudflare/cli-shared-helpers 0.1.28
- 0.4.23 Sep 2026@cloudflare/workers-utils 0.36.0@cloudflare/cli-shared-helpers 0.1.27@cloudflare/config 0.10.0
- 0.4.11 Sep 2026@cloudflare/workers-utils 0.35.0@cloudflare/config 0.10.0@cloudflare/cli-shared-helpers 0.1.26
0.4.0
28 Aug 2026Resolve canonical framework build commands for the
cftargetAutoconfig now returns framework commands instead of package scripts for
cf. Generated deploy scripts delegate build selection tocf deploy. Wrangler's existing package-script detection remains unchanged.
Minor Changes
Resolve canonical framework build commands for the
cftargetAutoconfig now returns framework commands instead of package scripts for
cf. Generated deploy scripts delegate build selection tocf deploy. Wrangler's existing package-script detection remains unchanged.
- 0.3.x
0.3.0
25 Aug 2026Prepare autoconfig for multiple configuration targets
Add target-specific configuration output and command detection while preserving Wrangler's existing setup and deployment behavior.
Minor Changes
Prepare autoconfig for multiple configuration targets
Add target-specific configuration output and command detection while preserving Wrangler's existing setup and deployment behavior.
- 0.2.x
0.2.8 – 0.2.92 releases that only update dependencies@cloudflare/workers-utils 0.34.0@cloudflare/cli-shared-helpers 0.1.25Show each
0.2.7
12 Aug 2026Stop adding a redundant
nodejs_compatflag to generated Wrangler configurationscreate-cloudflareandwrangler setupwrite today's date as thecompatibility_date, and from2026-08-04that already enablesnodejs_compat. Adding the flag as well made the generated project fail to start with "The compatibility flag nodejs_compat became the default as of 2026-08-04 so does not need to be specified anymore", so the flag is now only added for earlier compatibility dates.create-cloudflarealso removes the flag when a template, or a framework's own scaffolder, already wrote it into a configuration that ends up using such a compatibility date, and still installs@types/nodefor these projects even though there is no longer a flag to detect them by.wrangler setupdoes the same for awrangler.json(c)that is already in the project: it writes today's date over whatever date that configuration was written for, so anodejs_compatit finds there is removed as part of writing the file.
Patch Changes
Stop adding a redundant
nodejs_compatflag to generated Wrangler configurationscreate-cloudflareandwrangler setupwrite today's date as thecompatibility_date, and from2026-08-04that already enablesnodejs_compat. Adding the flag as well made the generated project fail to start with "The compatibility flag nodejs_compat became the default as of 2026-08-04 so does not need to be specified anymore", so the flag is now only added for earlier compatibility dates.create-cloudflarealso removes the flag when a template, or a framework's own scaffolder, already wrote it into a configuration that ends up using such a compatibility date, and still installs@types/nodefor these projects even though there is no longer a flag to detect them by.wrangler setupdoes the same for awrangler.json(c)that is already in the project: it writes today's date over whatever date that configuration was written for, so anodejs_compatit finds there is removed as part of writing the file.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.