Packages

@sveltejs/kit

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

Upgrading @sveltejs/kit From 1.22.6 to 3.3.0

269 releases in betweenevery note read

Other targets from 1.22.6Newest 1.x1.30.4Clears its 11 advisories3.1.1
  1. 1.22.6yours
  2. 24 releases
  3. 2.0.0major
  4. 143 releases
  5. 2.36.0security
  6. 3 releases
  7. 2.37.0security
  8. 81 releases
  9. 2.69.1security
  10. 2 releases
  11. 2.70.0security
  12. 4 releases
  13. 3.0.0security
  14. 5 releases
  15. 3.3.0target
  16. 6 pre

Before you upgrade

Tick each one off as you go
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0

Security

  • Prevent path traversal when previewing prerendered pages and data on Windows

    3.0.0
  • Enable CSRF protection in builds with a non-production NODE_ENV value

    2.70.0
  • Prevent prototype pollution when deleting file inputs

    2.69.1
  • Disable CSRF checks in dev

    2.37.0
  • Add csrf.trustedOrigins configuration

    2.36.0

Release by release

  1. 3.3.0

    17 Nov 20261 new
    • New

      Support the Vite DevTools dock in dev

  2. 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

  3. 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

  4. 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

  5. 3.1.0

    14 Oct 20262 new · 6 fixes
    • New

      Support report-sha256/report-sha384/report-sha512 CSP hash-reporting keywords

    • New

      Emit a sveltekit.endpoint span for +server handlers when server tracing is enabled

    • Fixed

      Don't treat every module as server-only when the project is inside a server directory

    • Fixed

      Continue deployment recovery when service worker updates fail

  6. 3.0.1

    6 Oct 20261 fix
    • Fixed

      Ensure relative imports in generated types work with nodenext module resolution

  7. 3.0.0

    Security fix1 Oct 202640 new · 172 fixes
    • Security

      Prevent path traversal when previewing prerendered pages and data on Windows

    • Breaking

      Move remote function types to $app/server

    • Breaking

      Remove experimental.handleRenderingErrors flag

    • Breaking

      Make getRequest and setResponse synchronous

  8. 2.70.4nothing new or fixed in the note

94 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.