@sveltejs/kit
3.3.0 · 17 Nov 2026MIT5.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @sveltejs/kit From 1.27.1 to 1.30.4
14 releases in betweenevery note read
- 4
- changes to make
- 0
- advisories fixed
- 1
- new
- 23
- fixes
Before you upgrade
Tick each one off as you go- Deprecated1.29.1
- Deprecated1.29.0
- Deprecated1.28.0
- Deprecated1.28.0
Security
11 advisories still affect 1.30.4
- SvelteKit : XSS via untrusted cache-control header in prerendered pagelow · GHSA-27mw-82g8-phjj
- SvelteKit: ReDoS (O(n^2)) in content negotiation — unauthenticated DoS via the Accept headermoderate · GHSA-29g2-3rmr-qm68
- @sveltejs/adapter-node has a BODY_SIZE_LIMIT bypasshigh · GHSA-2crg-3p73-43xp
Upgrading to 3.1.1 clears them.
Release by release
1.30.4nothing new or fixed in the note
- Fixed
Correct documentation for beforeNavigate
- Fixed
- Fixed
Revert recent 'correctly return 415' and 'correctly return 404' changes
- Fixed
- Fixed
Prerendered root page with
paths.baseconfig uses correct trailing slash option - Fixed
Correctly return 404 when a form action is not found
- Fixed
- New
Inline
response.arrayBuffer()during ssr - Fixed
Allow
"false"value for preload link options - Fixed
Call worker
unrefinstead ofterminate - Fixed
Correctly analyse exported server API methods during build
- Fixed
Avoid error when back navigating before page is initialized
- Fixed
Allow service-worker.js to import assets
- Fixed
Distinguish better between not-found and internal-error
- New
- Deprecated
Deprecate
preloadCodecalls with multiple arguments - Fixed
Correctly return 415 when unexpected content types are submitted to actions
- Deprecated
- Deprecated
Add
resolveRouteto$app/paths, deprecateresolvePath
- Deprecated
- Deprecated
Deprecate top level promise await behaviour
- Deprecated
Deprecate cookies.set/delete without path option
- Fixed
Resolve relative cookie paths before storing
- Fixed
Make sure promises from fetch handle errors
- Deprecated
2 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.