github cloudflare/workers-sdk @cloudflare/autoconfig@0.16.0

Minor Changes

  • #17314 b5d6e21 Thanks @petebacondarwin! - Remove the experimental cf:build script override

    Autoconfig no longer selects cf:build for Next.js projects. OpenNext applications that want to use cf should migrate to vinext. Wrangler's OpenNext support and the existing Next.js static export path are unchanged.

  • #16054 c99d3ee Thanks @minwookshin! - Pre-approve esbuild and workerd builds when autoconfig installs dependencies with pnpm

    Autoconfig updates the nearest pnpm workspace after setup confirmation, before installation. Existing build decisions remain unchanged, and dry runs do not write build approvals.

Patch Changes

  • #17298 dbcb8c2 Thanks @edmundhung! - Stop listing an existing cloudflare.config.ts as a file to create in the setup summary

    On cf, the summary said it would create cloudflare.config.ts and showed generated defaults, even when the project already had one, such as one written by cf migrate. Setup keeps that file, so the summary no longer lists it.

  • #17334 265616b Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-12-01

    Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

  • #17305 222f836 Thanks @edmundhung! - Keep the final newline and line-ending style of config files edited during setup

    Setup used to drop the trailing newline from every config file it edited, such as vite.config.ts, even when nothing else changed, and rewrote its line endings to the operating system's. Edited files now keep their final newline and use the LF or CRLF style of their first line.

  • #17324 0c57e65 Thanks @edmundhung! - Set up React Router projects in their own folder

    When the project isn't the current directory, React Router's setup now writes workers/app.ts and app/entry.server.tsx, and installs isbot, in the project's folder instead of the current directory. Setup also works with an existing workers/ folder, and keeps an existing workers/app.ts.

  • Updated dependencies [265616b, 2e19c17]:

    • @cloudflare/workers-utils@0.61.0
    • @cloudflare/cli-shared-helpers@0.4.2
    • @cloudflare/config@1.0.0-rc.7

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.