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@sveltejs/adapter-cloudflare 816 changes
Breaking changes 7
Replaces
builder.generateManifest; usebuilder.generateServerInstancetogether withbuilder.manifest.The Cloudflare
platformis removed; thecloudflare:workersmodule is emulated instead.Environment variables are populated before this file is evaluated, and the adapter instrumentation API is updated.
Use
platform.ctxinstead of the removedplatform.context.SvelteKit 3 is required.
The adapter no longer uses the Cloudflare Workers Cache API and uses Workers Caching instead.
The minimum required Wrangler version is 4.118.0.
Fixes and other changes 9
Prevents prerendered paths from creating unintended rules in _redirects and _routes.json.
The dev server now starts on runtimes where caches is a getter-only global, such as Deno.
Concurrent Vite servers share one platform proxy, which stays alive until the last server closes.
Local emulation of Cloudflare tracing now supports Span#setStatus.
Local emulation of Cloudflare tracing now supports Span#updateName.
The adapter avoids overriding existing user-defined
_headersrules.Immutable asset 404 responses are no longer cached.
The platform proxy is disposed when the Vite dev or preview server closes.
Prerelease versions of SvelteKit 3 now satisfy the peer dependency range.