svelte
5.58.0 · 18 Nov 2026MIT10.4M / weekRepositoryHomepagenpmAtom feed
5.59.1 is the newest release of 5.x.
In short
1 faster19 fixed2 internal
Release note
Patch Changes
Preserve CSS escape sequences when printing selectors
Parse
:nth-child(2n of.foo)whereofis not followed by whitespaceTransform expressions inside labeled statements during server compilation
Apply CSS custom properties with falsy values on components
Correctly print
{#await ... catch x}et alIgnore comments of Program node during migration script
Reliably resolve append_style to its correct root
Clean up removed capture event handlers from spread attributes
Don't corrupt renderer type during SSR's legacy
bind:retry loopTreat concise arrow function bodies as implicit returns when calculating blockers
Give effect teardowns the value from before the first write in a flush
Avoid double-calling a derived reference when destructuring
$derivedof another$derivedduring server-side renderingPreserve namespaces in CSS type selectors
Increment private state fields through a non-
thisreceiverRelease
last_propagated_eventafter event propagation settles so it no longer retains the last event's target subtreeAllow custom elements to receive async values as props
Strip comments from inline
stylevalues in linear timePrevent declaration comments from breaking server derived references
Make async blocker analysis scale linearly with the number of top-level references
Preserve short-circuiting for logical assignments to private state fields
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.