Change8

@sveltejs/kit@3.0.0-next.21

Breaking Changes
📦 sveltekitView on GitHub →
2 breaking🐛 3 fixes🔧 3 symbols

Summary

This release moves remote function types and server-related types to new locations, improving organization. Several bug fixes address issues with Vite plugin filters and prerendering.

⚠️ Breaking Changes

  • Remote function types and `isValidationError` have been moved to `@sveltejs/kit/remote`.
  • The `RequestEvent` and `Cookies` types have been moved to `$app/server`.

Migration Steps

  1. Import remote function types and `isValidationError` from `@sveltejs/kit/remote` instead of their previous location.
  2. Import `RequestEvent` and `Cookies` from `$app/server` instead of their previous location.

🐛 Bug Fixes

  • Correctly implement Vite plugin hook filters.
  • Yield to allow prerender updates to be visible.
  • Avoid destroying partial-line app output with the prerender progress line.

Affected Symbols