@sveltejs/adapter-cloudflare@8.0.0
sveltejs/kit@sveltejs/adapter-cloudflare@8.0.0Oct 1, 2026by github-actions[bot]
Upgrading?
AI Summary
The Cloudflare adapter requires Wrangler 4 and SvelteKit 3, removing the `platform` object and migrating to Workers Caching instead of the Cache API.
Key Highlights
- Requires Wrangler 4.118.0+ and SvelteKit 3.
- Removed `platform.context` in favor of `platform.ctx`.
- Removed cloudflare `platform` object, emulating `cloudflare:workers` module.
- Migrated from Cloudflare Workers Cache API to Workers Caching.
- Upgraded `@cloudflare/workers-types` to 4.20260219.0.
Breaking Changes
- Minimum Wrangler version required is `4.118.0`.
- Populate env vars before `instrumentation.server.js` is evaluated.
- Upgrade `@cloudflare/workers-types` to 4.20260219.0.
- Upgrade minimum `wrangler` version to ^4.67.0.
- Remove `platform.context` in favour of `platform.ctx`.
- Remove cloudflare `platform`, emulate the `cloudflare:workers` module.
- Require SvelteKit 3.
- Remove use of the Cloudflare Workers Cache API.
- Replace `builder.generateManifest` with `builder.generateServerInstance` and `builder.manifest`.
New Features
- Check the `WORKERS_CI` environment variable to determine if building for Cloudflare Workers.
- Avoid caching immutable asset 404s.
Full Release Notes
### Major Changes - breaking: minimum Wrangler version required is `4.118.0` ([#16668](https://github.com/sveltejs/kit/pull/16668)) - breaking: populate env vars before `instrumentation.server.js` is evaluated and update the adapter instrumentation API ([#16303](https://github.com/sveltejs/kit/pull/16303)) - breaking: upgrade `@cloudflare/workers-types` to 4.20260219.0 ([#15347](https://github.com/sveltejs/kit/pull/15347)) - breaking: upgrade minimum `wrangler` version to ^4.67.0 ([#15347](https://github.com/sveltejs/kit/pull/15347)) - breaking: remove `platform.context` in favour of `platform.ctx` ([#15347](https://github.com/sveltejs/kit/pull/15347)) - breaking: remove cloudflare `platform`, emulate the `cloudflare:workers` module instead ([#16754](https://github.com/sveltejs/kit/pull/16754)) - breaking: require SvelteKit 3 ([#15506](https://github.com/sveltejs/kit/pull/15506)) - breaking: remove use of the Cloudflare Workers Cache API in favour of Workers Caching ([#16640](https://github.com/sveltejs/kit/pull/16640)) - breaking: replace the `builder.generateManifest` with `builder.generateServerInstance` and `builder.manifest` ([#16875](https://github.com/sveltejs/kit/pull/16875)) ### Patch Changes - chore: use `node:fs` instead of deprecated `builder.rimraf` and `builder.mkdirp` ([#16610](https://github.com/sveltejs/kit/pull/16610)) - chore: bump `@cloudflare/workers-types` to `4.20260621.1` ([#16455](https://github.com/sveltejs/kit/pull/16455)) - fix: dispose the platform proxy when the Vite dev or preview server closes ([#17238](https://github.com/sveltejs/kit/pull/17238)) - fix: avoid overriding user's existing `_headers` rules ([#16183](https://github.com/sveltejs/kit/pull/16183)) - chore: check the `WORKERS_CI` environment variable to determine if we're building for Cloudflare Workers ([#13733](https://github.com/sveltejs/kit/pull/13733)) - fix: allow prerelease versions of SvelteKit 3 to satisfy the peer dependency range ([#16286](https://github.com/sveltejs/kit/pull/16286)) - fix: avoid caching immutable asset 404s ([#16627](https://github.com/sveltejs/kit/pull/16627)) - chore: use `builder.config` to access SvelteKit config settings ([#16895](https://github.com/sveltejs/kit/pull/16895)) - chore: bump `@cloudflare/worker-types` to 5.20260809.1 ([#16745](https://github.com/sveltejs/kit/pull/16745)) - Updated dependencies: - @sveltejs/kit@3.0.0
Related Repositories
affaan-m/ECC★ 285,967
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
react/react★ 251,629
The library for web and native user interfaces.
nodejs/node★ 122,530
Node.js JavaScript runtime ✨🐢🚀✨
Leonxlnx/taste-skill★ 100,770
Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
louislam/uptime-kuma★ 92,737
A fancy self-hosted monitoring tool