SvelteKit 3.0.0-next.14

3.0.0-next.14Pre-release
Added 3
  • Return the list of compressed files from builder.compress
  • Add page and endpoint booleans to $app/manifest's routes and export a ManifestRoute type
  • Add PageRouteId and EndpointRouteId types to $app/types
Changed 4
  • Refresh all load functions and queries when clicking a link to the current URL
  • Only include routes with a +page or +server in RouteId
  • Require Node 22.17
  • preloadCode now takes a route ID instead of a pathname, and route IDs are not prefixed with paths.base
Fixed 11
  • Generate valid Path types for routes with optional or rest params, several params in one segment, or escape sequences
  • Decode all numeric character references above ffff when crawling prerendered pages
  • Don't treat Object.prototype members as param matchers during validation
  • Exclude routes without a page or endpoint from routes in $app/manifest and remove directories with no route files from LayoutParams
  • Record the mime types of prerendered paths in the server manifest
  • Expand [x+nn] and [u+nnnn] escape sequences when resolving a route id to a pathname
Removed 1
  • Remove deprecated .run() method from live queries
Major Changes
  • breaking: refresh all load functions/queries when clicking a link to the current URL (#16572)

  • breaking: only include routes with a +page or +server in RouteId (#16580)

  • breaking: require Node 22.17 (#16597)

  • breaking: preloadCode now takes a route ID (e.g. /blog/[slug]) instead of a pathname. Route IDs are not prefixed with paths.base (#16576)

  • breaking: remove deprecated .run() method from live queries (#16573)

Minor Changes
  • feat: return the list of compressed files from builder.compress (#16566)

  • feat: add page and endpoint booleans to $app/manifest's routes, and export a ManifestRoute type (#16594)

  • feat: add PageRouteId and EndpointRouteId to $app/types (#16594)

Patch Changes
  • fix: generate valid Path types for routes with optional or rest params, several params in one segment, or escape sequences (#16577)

  • fix: decode all numeric character references, including above ffff, when crawling prerendered pages (#16611)

  • chore: deduplicate request hashing for serialized fetch responses (#16499)

  • fix: don't treat Object.prototype members as param matchers during validation (#16612)

  • fix: exclude routes without a page or endpoint from routes in $app/manifest, and remove directories with no route files from LayoutParams (#16588)

  • chore: reuse base64 and text decoding helpers (#16608)

  • fix: record the mime types of prerendered paths in the server manifest (#16564)

  • chore: only generate each route's resolution module once when prerendering (#16576)

  • fix: expand [x+nn] and [u+nnnn] escape sequences when resolving a route id to a pathname (#16570)

  • fix: allow routes to contain [ and ] via the [x+5b] and [x+5d] escapes (#16569)

  • chore: remove the dead SSRState.fallback field and name the server state fork semantics (#16598)

  • fix: import resolved peer dependencies as file URLs so project-relative resolution works on Windows (#16618)

  • fix: write generated tsconfig to node_modules/$app/tsconfig.json so that tools with simplified tsconfig resolution can find it (#16589)

  • fix: prerender and crawl pages whose content-type header carries a charset parameter (#16567)

  • fix: stream promised read results lazily instead of eagerly buffering them (#16622)

  • fix: correctly decode [u+nnnn] escape sequences above ffff (#16611)

View original

Upgraded? How did it go?

Discussion