@sveltejs/kit@3.0.0-next.20
Breaking Changes📦 sveltekitView on GitHub →
⚠ 4 breaking✨ 1 features🐛 1 fixes🔧 5 symbols
Summary
This release introduces breaking changes by relocating various types and features to new import paths. It also includes improved response logging and a fix for an infinite loop during watch builds.
⚠️ Breaking Changes
- Remote function types have been moved to `$app/server`. Update your imports accordingly.
- The `#lib` definition has been removed from `paths`. You now need to explicitly include module extensions in your import paths.
- Hooks-related types have been moved to `@sveltejs/kit/hooks`. Update your imports to reference the new location.
- Environment-related types have been moved to `@sveltejs/kit/env`. Update your imports to reference the new location.
Migration Steps
- Update imports for remote function types to use `$app/server`.
- Update import paths to include explicit module extensions, as `#lib` is no longer defined in `paths`.
- Update imports for hooks-related types to use `@sveltejs/kit/hooks`.
- Update imports for environment-related types to use `@sveltejs/kit/env`.
✨ New Features
- Improved response logging.
🐛 Bug Fixes
- Avoided an infinite loop when building with the `--watch` flag.