Major Changes
-
breaking: replace the
noScrollandkeepFocusoptions ofgotowith a singleresetoption, and thedata-sveltekit-noscrollanddata-sveltekit-keepfocusattributes withdata-sveltekit-reset(#16558) -
breaking: deprecate
error(status, {...})in favour oferror(status, message, {...})(#16540)
Minor Changes
-
feat: add shallow routing to
gotoand deprecatepushStateandreplaceState(#16449) -
feat: preserve page state set through
goto(..., { state, persistState: true })across reloads (#16449)
Patch Changes
-
chore: deduplicate repeated CSP directive handling (#16498)
-
fix: avoid Vite dev server reload on initial page request (#16553)
-
fix: don't set a
nullaccept-languageheader on internalfetchsub-requests when the incoming request has none (#16527) -
fix: correctly detect prerendered paths in server
fetchwhenpaths.baseis set (#16525) -
fix: don't duplicate remote modules in the generated manifest (#16532)
-
fix: exclude inlined files from the page's
$app/manifestimmutable list (#16531) -
perf: avoid quadratic remote form issue merging (#16493)
-
fix: don't attempt to serialize fetch responses when the request body is not a string or TypedArray (#16501)
-
fix: read the error status of
App.Errorin theprerenderandquery.liveremote functions (#16529) -
fix: propagate errors from prerendered remote responses instead of re-running the function (#16535)
-
fix: respect the status returned from
handleErroron the fallback error page served to error-page sub-requests (#16528) -
fix: skip unnecessary
version.jsonchecks ifupdated.currentis alreadytrue(#16518) -
fix: allow generation of $app/tsconfig without TypeScript installed (#16534)
-
perf: use a
Setto check element ids when validating fragment links during prerendering (#16494) -
fix: only include
_app/immutablefiles in$app/manifest'simmutablein the service worker (#16531) -
fix: log errors caught by the Vite dev server handler (#16550)
-
fix: resolve
rootper instance of the SvelteKit Vite plugin (#16513) -
fix: ignore path casing differences when warning about overridden Vite config on Windows (#16545)
-
fix: preserve the current URL search parameters when submitting a remote form without JavaScript (#16373)
-
fix: treeshake prerendered remote functions in the right chunks (#16533)
-
fix: error during development if the adapter does not support instrumentation and it exists (#16548)