SvelteKit 3.0.0-next.5

3.0.0-next.5Pre-release
Added 3
  • Add 'error' result type to `preloadData`
  • Expose `submitted` property of remote forms
  • Send periodic `keep-alive` SSE comments from `query.live` to prevent idle-timeout errors
Changed 3
  • Require Svelte config options to be passed through the Vite plugin
  • `goto` now rejects when called with a URL that does not resolve to a route within the app, matching the existing behaviour for external URLs
  • Require `vite@^8.0.12`, the first Vite 8 release bundling stable `rolldown` 1.0.0
Fixed 5
  • Clear issues and touched states on form reset
  • Return 404 for form actions and remote functions whose name is an `Object.prototype` member
  • Render pages over sibling endpoints without GET or HEAD handlers
  • Sort directory entries when building the route manifest so node indices are deterministic across runtimes
  • Include hoisted packages in Vite's `server.fs.allow` list
Removed 1
  • Remove `base`, `assets`, and `resolveRoute` from `$app/paths`
Major Changes
  • breaking: remove base, assets, and resolveRoute from $app/paths (#15507)

  • breaking: require Svelte config options to be passed through the Vite plugin (#16007)

  • breaking: goto now rejects when called with a URL that does not resolve to a route within the app, matching the existing behaviour for external URLs (#16164)

  • breaking: add 'error' result type to preloadData (#12579)

  • breaking: require vite@^8.0.12, the first Vite 8 release bundling stable rolldown 1.0.0 (#16134)

Minor Changes
  • feat: expose submitted property of remote forms (#14811)
Patch Changes
  • fix: clear issues and touched states on form reset (#16163)

  • fix: return 404 for form actions and remote functions whose name is an Object.prototype member (#16072)

  • feat: send periodic keep-alive SSE comments from query.live to prevent idle-timeout errors (#16063)

  • fix: render pages over sibling endpoints without GET or HEAD handlers (#16125)

  • fix: sort directory entries when building the route manifest so node indices are deterministic across runtimes (e.g. Bun and Node) (#16074)

  • fix: include hoisted packages in Vite's server.fs.allow list (#15998)

View original

Upgraded? How did it go?

Discussion