@sveltejs/adapter-vercel@7.0.0-next.5
Breaking Changes📦 sveltekitView on GitHub →
⚠ 3 breaking✨ 1 features🐛 2 fixes🔧 5 symbols
Summary
This release updates the edge function bundling to use `rolldown` and requires Vite 8. It also removes support for edge and Node 20 runtimes.
⚠️ Breaking Changes
- The build target for edge functions is now `es2022`. Ensure your code is compatible with this ECMAScript version.
- Support for edge and Node 20 runtimes has been removed. Migrate to supported runtimes.
- Requires `vite@^8.0.12` due to the bundling of stable `rolldown` 1.0.0.
Migration Steps
- Update Vite to version `^8.0.12` or later.
- Ensure your edge functions are compatible with the `es2022` build target.
- Migrate away from unsupported edge and Node 20 runtimes.
✨ New Features
- Edge function bundling now uses `rolldown`.
🐛 Bug Fixes
- Prerelease versions of SvelteKit 3 can now satisfy the peer dependency range.
- Race condition prevented by awaiting `init` on every request.