@sveltejs/kit
3.3.0 · 17 Nov 2026MIT5.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @sveltejs/kit From 3.1.0 to 3.3.0
4 releases in betweenevery note read
Before you upgrade
Tick each one off as you go- Deprecated3.2.1
Security
Fixes 5 advisories affecting 3.1.0
- SvelteKit: DoS while parsing form data from a remote functions `form`high · GHSA-3r8g-jcqq-3p5j
- SvelteKit: Private `query.batch` functions could collide, producing unexpected parameter / function combinationsmoderate · GHSA-6cf5-gc4q-fm3x
- SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundlehigh · GHSA-m9j8-jcmv-hp69
- SvelteKit: adapter-node crashes with an unhandled URIError when `reroute` rewrites malformed pathnamesmoderate · GHSA-mw6w-2fmv-pvw3
- SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script executionmoderate · GHSA-rqp5-r3wg-vg35
Release by release
- New
Support the Vite DevTools dock in dev
- New
- Deprecated
Deprecate
adapter.emulate - New
Hash a page's encoded bytes for its
ETagand send the same bytes as the body, and skip the hash whensetHeadersalready sets anetagor the response isno-store - New
Skip the
ETaghash for a page that has a CSP nonce in it, since no two responses are the same - Fixed
Check the return value of async
loadfunctions againstApp.PageData
- Deprecated
- New
Add clickable links to remote function invocation in dev server logs
- Fixed
Reject URL inputs in
resolve - Fixed
Respond with JSON instead of rendering the error page for a
__data.jsonrequest to a missing route - Fixed
Resolve relative paths against the page URL in data requests when
paths.relativeistrue
- New
- Fixed
Return a 400 response instead of throwing when
rerouterewrites a malformed pathname - Fixed
Restore function snapshots on reload when SSR is disabled
- Fixed
Prevent separate non-exported
query.batchfunctions from sharing a batch - Fixed
Reuse the original
fetchacross dev server reloads
- Fixed
1 internal line (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.