Minor Changes
-
feat: add ability to invalidate a custom identifier on
goto()
(#13256) -
feat: remove the
postinstall
script to support pnpm 10 (#13304)NOTE: users should add
"prepare": "svelte-kit sync
" to theirpackage.json
in order to avoid the following warning upon first running Vite:▲ [WARNING] Cannot find base config file "./.svelte-kit/tsconfig.json" [tsconfig.json] tsconfig.json:2:12: 2 │ "extends": "./.svelte-kit/tsconfig.json", ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
feat: provide
PageProps
andLayoutProps
types (#13308)
Patch Changes
-
perf: shorten chunk file names (#13003)
-
fix: strip internal data before passing URL to
reroute
(#13092) -
fix: support absolute URLs and reroutes with
data-sveltekit-preload-code="viewport"
(#12217) -
fix: use current
window.fetch
for server load fetch requests (#13315) -
fix: resolve symlinks when handling routes (#12740)
-
fix: prevent infinite reload when using the hash router and previewing
/index.html
(#13296) -
fix: service worker base path in dev mode (#12577)
-
chore: error during development when using
use:enhance
with+server
(#13197) -
chore: add most common status codes to
redirect()
JS documentation (#13301) -
fix: correctly link to assets inlined by the
inlineStyleThreshold
option (#13068) -
fix: fall back to importing dynamic dependencies relative to SvelteKit package (#12532)
-
fix: use arrow function types over bound funcs (#12955)
-
fix: correctly navigate when hash router is enabled and the browser encodes extra hashes (#13321)