Packages

svelte

5.58.0 · 18 Nov 2026MIT10.4M / weekRepositoryHomepagenpmAtom feed

Upgrading svelte From 3.59.2 to 4.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 3.59.2Clears its 7 advisories5.55.7Latest5.58.0
  1. 3.59.2yours
  2. 4.0.0target
  3. 4 pre

Before you upgrade

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

Security

Release by release

  1. 4.0.0

    Migration needed22 Jun 202310 new · 14 fixes
    • Breaking

      Minimum supported Node version is now Node 16

    • Breaking

      Minimum supported webpack version is now webpack 5

    • Breaking

      Bundlers must specify the browser condition when building a frontend bundle for the browser

    • Breaking

      Minimum supported vite-plugin-svelte version is now 2.4.1. SvelteKit users can upgrade to 1.20.0 or newer to ensure a compatible version

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.