svelte
5.58.0 · 18 Nov 2026MIT10.4M / weekRepositoryHomepagenpmAtom feed
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 anawait
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 callsstopPropagation()Update
bind:fileswhen the form is resetRestore 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 anawait 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
$inspectand$state.eagerwith the values of a fork before it is committedRead a never-reassigned
$state.rawdeclaration tag directly when it shadows reassigned stateRevert 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.