@sveltejs/kit
3.3.0 · 17 Nov 2026MIT5.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @sveltejs/kit From 3.0.1 to 3.1.1
2 releases in betweenevery note read
- 0
- changes to make
- 5
- advisories fixed
- 2
- new
- 17
- fixes
Security
Fixes 5 advisories affecting 3.0.1
- 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
- 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
- New
Support
report-sha256/report-sha384/report-sha512CSP hash-reporting keywords - New
Emit a
sveltekit.endpointspan for+serverhandlers when server tracing is enabled - Fixed
Don't treat every module as server-only when the project is inside a
serverdirectory - Fixed
Continue deployment recovery when service worker updates fail
- New
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.