SvelteKit 3.0.0-next.19

3.0.0-next.19Pre-release
Added 1
  • Ignore files with + prefix if they contain test/spec/stories
Changed 1
  • Run all errors through the `handleError` hook
Fixed 4
  • 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
Removed 5
  • 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 defineParams and associated types to @sveltejs/kit/params (#16716)

  • breaking: run all errors through the handleError hook (#16664)

  • breaking: move Page, ReadonlyURL and ReadonlyURLSearchParams from @sveltejs/kit to $app/state (#16694)

  • breaking: move BeforeNavigate, OnNavigate, AfterNavigate, Navigation, NavigationTarget, NavigationType, GotoOptions and the Navigation* variant types from @sveltejs/kit to $app/navigation (#16694)

  • breaking: move ActionResult and SubmitFunction from @sveltejs/kit to $app/forms (#16694)

  • breaking: remove handleValidationError and pass remote function validation errors to handleError with kind: '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/api to prevent bundler chunk colocation between instrumentation.server.js and application code (#16302)

  • fix: surface prerender errors during development (#16507)

  • fix: adjust error overload for optional App.Error parameters (#16725)

View original

Upgraded? How did it go?

Discussion