Packages

svelte

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

Upgrading svelte From 5.55.7 to 5.59.1

22 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 5.55.7Latest5.58.0
  1. 5.55.7yours
  2. 19 releases
  3. 5.58.1breaking
  4. 1 release
  5. 5.59.1target

Before you upgrade

Tick each one off as you go
  • Breaking5.58.1

Release by release

  1. 5.59.1

    20 Nov 20261 fix
    • Fixed

      Keep hydrate and mount type parameters in sync so a union of them is callable

  2. 5.59.0

    20 Nov 20261 new
    • New

      Custom renderer api

  3. 5.58.1

    Migration needed20 Nov 202612 fixes
    • Breaking

      In experimental async mode, getAbortSignal() must be called before an await

    • Fixed

      Don't throw when committing a fork whose changes were all superseded by other updates

    • Fixed

      Apply the branch changes of blocks that re-run while effects are flushed when the batch with the effects' writes commits

    • Fixed

      Keep values computed in a batch's view of the world local to that batch, and don't needlessly re-run deriveds while several batches are pending

  4. 5.58.0

    18 Nov 20265 new · 10 fixes
    • New

      Include snippetName in render entries of the dev __svelte_meta stack

    • New

      Include the component instance an element was rendered in for Svelte devtools to track

    • New

      Let the garbage collector free each component's AST after it is compiled

    • New

      Don't compare the whole template on every expression when a source is parsed again

  5. 5.57.3

    26 Oct 20265 fixes
    • Fixed

      Use the first valid fallback role in role for a11y checks

    • Fixed

      Keep creating state sources for property checks during component init

    • Fixed

      Skip redundant attribute writes during hydration

    • Fixed

      Track missing state property checks in unowned deriveds

    • Fixed

      devalue link in hydratable_serialization_failed error

  6. 5.57.2

    6 Oct 202623 fixes
    • Fixed

      Don't create async deriveds for a component destroyed while waiting for its top-level await

    • Fixed

      Prevent untracked derived reads from retaining disconnected dependencies

    • Fixed

      Error if {:else} is followed by another {:else} or {:else if ...}

    • Fixed

      Avoid tracking SvelteURLSearchParams during URL updates

  7. 5.57.1

    18 Sep 20262 new · 12 fixes
    • New

      Speed up parser interactions with Acorn or avoid them where possible

    • New

      Avoid regex matching in parser where possible

    • Fixed

      Cancel deferred event listeners during cleanup

    • Fixed

      Preserve global CSS in components without scopable elements

  8. 5.57.0

    28 Aug 202612 new · 33 fixes
    • New

      Export RenderOutput, SyncRenderOutput, Csp and Sha256Source from svelte/server

    • New

      Add has function to createContext

    • New

      Support defaultValue on <select>

    • New

      Add getOrInsert/getOrInsertComputed to SvelteMap

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