unstale

npm / @sveltejs/adapter-cloudflare

@sveltejs/adapter-cloudflare

What changed in @sveltejs/adapter-cloudflare 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-01.

7 breaking9 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.9 on npm

@sveltejs/adapter-cloudflare 816 changes

Breaking changes 7

  • Replaces builder.generateManifest; use builder.generateServerInstance together with builder.manifest.

    8.0.0release notes

  • The Cloudflare platform is removed; the cloudflare:workers module is emulated instead.

    8.0.0release notes

  • Environment variables are populated before this file is evaluated, and the adapter instrumentation API is updated.

    8.0.0release notes

  • Use platform.ctx instead of the removed platform.context.

    8.0.0release notes

  • SvelteKit 3 is required.

    8.0.0release notes

  • The adapter no longer uses the Cloudflare Workers Cache API and uses Workers Caching instead.

    8.0.0release notes

  • The minimum required Wrangler version is 4.118.0.

    8.0.0release notes

Fixes and other changes 9

  • Prevents prerendered paths from creating unintended rules in _redirects and _routes.json.

    8.0.2release notes

  • The dev server now starts on runtimes where caches is a getter-only global, such as Deno.

    8.0.1release notes

  • Concurrent Vite servers share one platform proxy, which stays alive until the last server closes.

    8.0.1release notes

  • Local emulation of Cloudflare tracing now supports Span#setStatus.

    8.0.1release notes

  • Local emulation of Cloudflare tracing now supports Span#updateName.

    8.0.1release notes

  • The adapter avoids overriding existing user-defined _headers rules.

    8.0.0release notes

  • Immutable asset 404 responses are no longer cached.

    8.0.0release notes

  • The platform proxy is disposed when the Vite dev or preview server closes.

    8.0.0release notes

  • Prerelease versions of SvelteKit 3 now satisfy the peer dependency range.

    8.0.0release notes