Packages

@sveltejs/kit

3.3.0 · 17 Nov 2026MIT4.9M / weekRepositoryHomepagenpmAtom feed

Upgrading @sveltejs/kit From 1.3.9 to 3.1.1

331 releases in betweenevery note read

Other targets from 1.3.9Newest 1.x1.30.4Latest3.3.0
  1. 1.3.9yours
  2. 32 releases
  3. 1.15.1security
  4. 1.15.2security
  5. 55 releases
  6. 2.0.0major
  7. 143 releases
  8. 2.36.0security
  9. 3 releases
  10. 2.37.0security
  11. 81 releases
  12. 2.69.1security
  13. 2 releases
  14. 2.70.0security
  15. 4 releases
  16. 3.0.0security
  17. 2 releases
  18. 3.1.1target
  19. 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
  • Address security advisory CVE-2023-29008 by doing a case-insensitive comparison when checking header value

    1.15.2
  • Address security advisory CVE-2023-29003 by including text/plain and PUT/PATCH/DELETE requests in set of blocked cross-origin requests for CSRF protection

    1.15.1

Release by release

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

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

  3. 3.0.1

    6 Oct 20261 fix
    • Fixed

      Ensure relative imports in generated types work with nodenext module resolution

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

  5. 2.70.4nothing new or fixed in the note

  6. 2.70.3

    18 Aug 20261 fix
    • Fixed

      Avoid eagerly reading $app/state dependencies during module initialization

  7. 2.70.2

    29 Jul 20261 fix
    • Fixed

      Prevent quadratic backtracking in Accept header content negotiation

  8. 2.70.1nothing new or fixed in the note

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