Minor Changes
-
#17246
d28fedeThanks @edmundhung! - Set up Hono projects for cfPreviously, autoconfig refused every Hono project on cf. It now sets them up to build with Vite and the Cloudflare plugin, as in Hono's Workers + Vite starter: it adds Vite when the project doesn't use it, replaces Hono's own Vite dev server and build plugins, and uses the app's entry file as the Worker entry point. An entry file that doesn't export the app, such as one that starts a Node.js server, and HonoX projects are refused with a message. The Wrangler target is unchanged.
-
#17280
0fc70f2Thanks @edmundhung! - Build Hugo sites on cfcf now recognises Hugo sites, runs
hugo, and deploys the folder it builds:public, or thepublishDirthat Hugo's config sets. Before, cf deployed whatever was already inpublicwithout building the site. The deploy script spells out both steps,hugo && cf deploy public, so you can see and change them. -
#17247
8803621Thanks @edmundhung! - Set up static sites for cf without WranglerOn cf, static setup no longer installs Wrangler or writes
wrangler.config.ts, and it writes the deploy script ascf deploy <directory>, so cf can build and deploy the site itself. It asks before creatingcloudflare.config.ts, which is the only place the Worker name is saved. A framework autoconfig doesn't list is refused on cf, with a pointer tocf deploy <directory>. -
#17238
8ffd9b3Thanks @edmundhung! - Report the project's Wrangler config ingetDetailsForAutoConfigThe details now include
wranglerConfig: the one the caller passes, or else the file named by the newwranglerConfigPathoption, or else the one in the project folder. ThewranglerConfigoption also accepts a config as written in its file. -
#17238
8ffd9b3Thanks @edmundhung! - Report the build tool in the setup summary for cfrunAutoConfignow returns the build tool the framework set up asbuildTool, for examplevitefor Astro. -
#17266
b9bb1b0Thanks @dependabot! - Support Analog 3 inwrangler setupConfigure Analog’s standalone Nitro Vite plugin for Cloudflare Workers. Both
wrangler setupandcreate-cloudflareconfigure the Minimal starter as a static site. Analog 2 projects continue to use the Nitro options on the Analog Vite plugin. Projects using native Nitro 3 (nitro/vite) should use Nitro’s generated Wrangler configuration instead. -
#17288
bc09bb3Thanks @petebacondarwin! - Support Next.js static exports in cf autoconfig for projects that would otherwise use OpenNext. Build with Next.js and deploy the exported directory as static assets without setting up OpenNext or vinext. Existing vinext and Wrangler projects keep their current setup paths. -
#17278
960292aThanks @petebacondarwin! - Reject OpenNext setup for the cf target before modifying the projectOpenNext builds a Worker but does not produce cf Build Output v1. Report this incompatibility during read-only detection and direct users to Wrangler with OpenNext. Expose
assertCfBuildSupportedfor callers to enforce this check before setup or build. Already-configured Next.js projects can opt in with acf:buildpackage script that produces Build Output v1.
Patch Changes
-
#17238
8ffd9b3Thanks @edmundhung! - Detect Pages projects for cf from their Wrangler configFor cf, detection only checked
pages_build_output_dirin a Wrangler config passed by the caller, so a Pages project was set up as a new Worker. Detection now also checks the project's own Wrangler config, and setup stops as it does for other Pages projects. -
#17238
8ffd9b3Thanks @edmundhung! - Keep a project's own Worker files when setting it upReact Router setup no longer writes
workers/app.tsandapp/entry.server.tsxor reinstallsisbotwhen the project's Wrangler config already names a Worker entry. Setup for cf also keeps an existingcloudflare.config.ts. -
#17299
2a10affThanks @edmundhung! - Use the Wrangler config's Worker name in detected project settingsWhen a project has a Wrangler config with a
name,getDetailsForAutoConfignow reports that name exactly as written, and the prompt to change it accepts it unchanged. Before, the detected settings showed the package.json name.WRANGLER_CI_OVERRIDE_NAMEstill takes precedence, and the package.json name and then the folder name are still used when the Wrangler config has no name. -
#17284
5b6e6bfThanks @dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-11-29Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
-
#17245
13126e0Thanks @petebacondarwin! - Configure Vite projects that omit thepluginsarrayAutoconfiguration now adds the Cloudflare plugin to supported Vite configs without a
pluginsproperty. If the config cannot be rewritten safely, setup stops before installing dependencies or changing project files. -
#17238
8ffd9b3Thanks @edmundhung! - Only ask about a Wrangler assets directory that Vite won't deployMigrating to the Vite bundler always left a required TODO for
assets.directory, although Vite deploys its build output and public folder. The TODO now only appears for another folder, and says how to make Vite deploy it. -
Updated dependencies [
7d57524,97bb683,5b6e6bf,7d57524,fd54492,97bb683,a332568,2a10aff]:- @cloudflare/workers-utils@0.60.0
- @cloudflare/config@1.0.0-rc.6
- @cloudflare/cli-shared-helpers@0.4.1