Major Changes
-
breaking: refresh all load functions/queries when clicking a link to the current URL (#16572)
-
breaking: only include routes with a
+pageor+serverinRouteId(#16580) -
breaking: require Node 22.17 (#16597)
-
breaking:
preloadCodenow takes a route ID (e.g./blog/[slug]) instead of a pathname. Route IDs are not prefixed withpaths.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
pageandendpointbooleans to$app/manifest'sroutes, and export aManifestRoutetype (#16594) -
feat: add
PageRouteIdandEndpointRouteIdto$app/types(#16594)
Patch Changes
-
fix: generate valid
Pathtypes 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.prototypemembers as param matchers during validation (#16612) -
fix: exclude routes without a page or endpoint from
routesin$app/manifest, and remove directories with no route files fromLayoutParams(#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.fallbackfield 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.jsonso that tools with simplified tsconfig resolution can find it (#16589) -
fix: prerender and crawl pages whose
content-typeheader carries acharsetparameter (#16567) -
fix: stream promised
readresults lazily instead of eagerly buffering them (#16622) -
fix: correctly decode
[u+nnnn]escape sequences aboveffff(#16611)