- Ignore files with + prefix if they contain test/spec/stories
- Run all errors through the `handleError` hook
- Rebuild the dev manifest when route files disappear during an incremental update
- Externalize `@opentelemetry/api` to prevent bundler chunk colocation between `instrumentation.server.js` and application code
- Surface prerender errors during development
- Adjust error overload for optional `App.Error` parameters
- Move `defineParams` and associated types to `@sveltejs/kit/params`
- Move `Page`, `ReadonlyURL` and `ReadonlyURLSearchParams` from `@sveltejs/kit` to `$app/state`
- Move `BeforeNavigate`, `OnNavigate`, `AfterNavigate`, `Navigation`, `NavigationTarget`, `NavigationType`, `GotoOptions` and the `Navigation*` variant types from `@sveltejs/kit` to `$app/navigation`
- Move `ActionResult` and `SubmitFunction` from `@sveltejs/kit` to `$app/forms`
- Remove `handleValidationError` and pass remote function validation errors to `handleError` with `kind: 'validation'`
From SvelteKit
Major Changes
-
breaking: move
defineParamsand associated types to@sveltejs/kit/params(#16716) -
breaking: run all errors through the
handleErrorhook (#16664) -
breaking: move
Page,ReadonlyURLandReadonlyURLSearchParamsfrom@sveltejs/kitto$app/state(#16694) -
breaking: move
BeforeNavigate,OnNavigate,AfterNavigate,Navigation,NavigationTarget,NavigationType,GotoOptionsand theNavigation*variant types from@sveltejs/kitto$app/navigation(#16694) -
breaking: move
ActionResultandSubmitFunctionfrom@sveltejs/kitto$app/forms(#16694) -
breaking: remove
handleValidationErrorand pass remote function validation errors tohandleErrorwithkind: 'validation'(#16672)
Minor Changes
- feat: ignore files with + prefix if they contain test/spec/stories (#16715)
Patch Changes
-
fix: rebuild the dev manifest when route files disappear during an incremental update (#16643)
-
fix: externalize
@opentelemetry/apito prevent bundler chunk colocation betweeninstrumentation.server.jsand application code (#16302) -
fix: surface prerender errors during development (#16507)
-
fix: adjust error overload for optional
App.Errorparameters (#16725)