Repository navigation
@cloudflare/autoconfig@0.13.2
Patch Changes
-
#16995
c79c1fcThanks @edmundhung! - Fix Astro projects set up for cf getting awrangler.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. -
#17009
496a062Thanks @edmundhung! - Require Vite 7 or later when autoconfiguring Vite projects forcfcfinstalls@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. -
#16992
f1c64b5Thanks @edmundhung! - Stop adding the SolidStart pre-bundling exclude oncffor 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. -
#17010
a959051Thanks @edmundhung! - Suggest a compatible Cloudflare Vite plugin version when the installed one doesn't support cfWhen
@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. -
#16019
8f26e90Thanks @penalosa! - 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.
-
#17003
3595295Thanks @dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-11-18Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
-
#14578
6750663Thanks @penalosa! - FixDynamic 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. -
Updated dependencies [
3595295,d04e667,6750663]:- @cloudflare/workers-utils@0.55.0
- @cloudflare/cli-shared-helpers@0.3.11
- @cloudflare/config@1.0.0-rc.2