Packages

@sveltejs/kit

3.3.0 · 17 Nov 2026MIT5.1M / weekRepositoryHomepagenpmAtom feed

Upgrading @sveltejs/kit From 3.1.0 to 3.4.0

6 releases in betweenevery note read

Other targets from 3.1.0Clears its 5 advisories3.1.1Latest3.3.0

Before you upgrade

Tick each one off as you go
  • Deprecated3.2.1

Security

Release by release

  1. 3.4.0

    18 Nov 20262 new · 5 fixes
    • New

      Allow adapters to disable SvelteKit's Node preview server with vite.customPreview: true when providing their own preview implementation

    • New

      Add sveltekit.remote.call.file attribute 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_COLOR and explicit FORCE_COLOR settings in forked build processes

  2. 3.3.1

    17 Nov 20263 fixes
    • Fixed

      Read environment variables for route analysis and prerendering after all adapter Vite config hooks have run

    • Fixed

      Respect a user-set build.cssMinify

    • Fixed

      Don't serialize the results of remote functions awaited in server load functions into the page

  3. 3.3.0

    17 Nov 20261 new
    • New

      Support the Vite DevTools dock in dev

  4. 3.2.1

    Deprecation17 Nov 20262 new · 5 fixes
    • Deprecated

      Deprecate adapter.emulate

    • New

      Hash a page's encoded bytes for its ETag and send the same bytes as the body, and skip the hash when setHeaders already sets an etag or the response is no-store

    • New

      Skip the ETag hash for a page that has a CSP nonce in it, since no two responses are the same

    • Fixed

      Check the return value of async load functions against App.PageData

  5. 3.2.0

    10 Nov 20261 new · 13 fixes
    • 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.json request to a missing route

    • Fixed

      Resolve relative paths against the page URL in data requests when paths.relative is true

  6. 3.1.1

    29 Oct 202611 fixes
    • Fixed

      Return a 400 response instead of throwing when reroute rewrites a malformed pathname

    • Fixed

      Restore function snapshots on reload when SSR is disabled

    • Fixed

      Prevent separate non-exported query.batch functions from sharing a batch

    • Fixed

      Reuse the original fetch across dev server reloads

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.