Packages

svelte

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

Your version

5.58.1

20 Nov 2026Where it was published

5.59.1 is the newest release of 5.x.

Summary· from the note as AI read it

Migration neededRead before upgrading: 1 change to make.

Before you upgrade

  • Call getAbortSignal() before any await in experimental async mode

In short

1 breaking12 fixed

  • Breaking

    breaking: in experimental async mode, getAbortSignal() must be called before an await

Release note

Patch Changes

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

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

  • 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

  • Don't skip sibling listeners added with on() when an earlier one calls stopPropagation()

  • Update bind:files when the form is reset

  • Restore teardown context when destroying effects after outros

  • Print raw input text unchanged, respect whitespace rules

  • Breaking

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

  • Remove related comments when effects are removed from server rune modules.

  • Commit the state that hydration ran with, so that updates while hydration is pending don't undo it

  • Don't run $inspect and $state.eager with the values of a fork before it is committed

  • Read a never-reassigned $state.raw declaration tag directly when it shadows reassigned state

  • Revert state changes in effect teardowns based on the currently committing batch

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.