svelte
5.58.0 · 18 Nov 2026MIT10.4M / weekRepositoryHomepagenpmAtom feed
5.59.1 is the newest release of 5.x.
In short
23 fixed
Release note
Patch Changes
Don't create async deriveds for a component destroyed while waiting for its top-level
awaitPrevent untracked derived reads from retaining disconnected dependencies
Error if
{:else}is followed by another{:else}or{:else if ...}Avoid tracking SvelteURLSearchParams during URL updates
Restore hydration state when custom element attribute updates throw
Attach event handlers that are assigned after a top-level
awaitin productionFlush anything pending before invoking flushSync callback function
Preserve location information for
awaitwrappersKeep a reactive assignment with no dependencies when
migratecannot turn it into a declarationDon't hang
migrateon a declaration that shares a line with its script tagPrevent duplicate subscriptions when reconnecting deriveds
Recover when an unexpected node replaces a nested boundary comment during hydration
Print
{#await}blocks that only have a pending branchDon't warn about a redundant
linkrole on<area>elements without anhrefDon't throw
state_unsafe_mutationwhen the focused element is removed whilebind:activeElementis usedDon't overwrite an unchanged spread
value, preserving incomplete number inputRead batch-local array on each-block commit
Error at compile time when a declaration in a snippet redeclares one of its parameters
Error when using
let:directives on a component with achildrensnippetIgnore stale boundary reset callbacks
Handle deferred transitions aborted before initialization
Prevent hydration mismatch recovery from being intercepted by error boundaries
Preserve dynamic element connections during hydration
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.