5.57.2
Patch Changes
fix: don't create async deriveds for a component destroyed while waiting for its top-level
await(#18931)fix: prevent untracked derived reads from retaining disconnected dependencies (#18829)
fix: error if
{:else}is followed by another{:else}or{:else if ...}(#18900)fix: avoid tracking SvelteURLSearchParams during URL updates (#18791)
fix: restore hydration state when custom element attribute updates throw (#18467)
fix: attach event handlers that are assigned after a top-level
awaitin production (#18933)fix: flush anything pending before invoking flushSync callback function (#18878)
fix: preserve location information for
awaitwrappers (#18859)fix: keep a reactive assignment with no dependencies when
migratecannot turn it into a declaration (#18817)fix: don't hang
migrateon a declaration that shares a line with its script tag (#18816)fix: prevent duplicate subscriptions when reconnecting deriveds (#18899)
fix: recover when an unexpected node replaces a nested boundary comment during hydration (#18925)
fix: print
{#await}blocks that only have a pending branch (#18908)fix: don't warn about a redundant
linkrole on<area>elements without anhref(#18872)fix: don't throw
state_unsafe_mutationwhen the focused element is removed whilebind:activeElementis used (#18921)fix: don't overwrite an unchanged spread
value, preserving incomplete number input (#18864)fix: read batch-local array on each-block commit (#18879)
fix: error at compile time when a declaration in a snippet redeclares one of its parameters (#18842)
fix: error when using
let:directives on a component with achildrensnippet (#18873)fix: ignore stale boundary reset callbacks (#18886)
fix: handle deferred transitions aborted before initialization (#18776)
fix: prevent hydration mismatch recovery from being intercepted by error boundaries (#18841)
fix: preserve dynamic element connections during hydration (#18855)