@sveltejs/kit
3.3.0 · 17 Nov 2026MIT5.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @sveltejs/kit From 3.1.1 to 3.4.0
5 releases in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 6
- new
- 26
- fixes
Before you upgrade
Tick each one off as you go- Deprecated3.2.1
Release by release
- New
Allow adapters to disable SvelteKit's Node preview server with
vite.customPreview: truewhen providing their own preview implementation - New
Add
sveltekit.remote.call.fileattribute to remote function tracing spans - Fixed
Strip trailing route groups when resolving routes with search parameters or fragments
- Fixed
Correctly display non-ASCII characters for plain text error messages during development
- Fixed
Explain missing TypeScript compiler API instead of crashing with TypeScript 7
- Fixed
Reject remote function requests that use the wrong HTTP method
- Fixed
Respect
NO_COLORand explicitFORCE_COLORsettings in forked build processes
- New
- Fixed
Read environment variables for route analysis and prerendering after all adapter Vite
confighooks have run - Fixed
Respect a user-set
build.cssMinify - Fixed
Don't serialize the results of remote functions awaited in server
loadfunctions into the page
- Fixed
- 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
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.