@sveltejs/adapter-netlify@7.0.0-next.6
Breaking Changes📦 sveltekitView on GitHub →
⚠ 4 breaking🐛 4 fixes🔧 7 symbols
Summary
This release updates the edge function bundling to use `rolldown` and aligns with the stable Netlify Frameworks API. It also introduces breaking changes requiring SvelteKit 3 and Vite 8, and updates the edge function build target.
⚠️ Breaking Changes
- Output now conforms to the stable Netlify Frameworks API. Deploying and previewing with Netlify CLI requires v17.31.0 or later. Upgrade Netlify CLI using `npm i -g netlify-cli@latest`.
- Requires SvelteKit 3.
- Edge function build target is now `es2022`.
- Requires `vite@^8.0.12`, which bundles stable `rolldown` 1.0.0.
Migration Steps
- Upgrade Netlify CLI to v17.31.0 or later using `npm i -g netlify-cli@latest`.
🐛 Bug Fixes
- Ensured types for `platform.context` work correctly.
- Included `utils.js` in package.json `files`.
- Provided distinct names for each split serverless function.
- Awaited `init` on every request to prevent race conditions.