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
No actionNothing to change: 5 new, 10 fixed.
New
- feat: include
snippetNameinrenderentries of the dev__svelte_metastack - feat: include the
componentinstance an element was rendered in for Svelte devtools to track - perf: let the garbage collector free each component's AST after it is compiled
- perf: don't compare the whole template on every expression when a source is parsed again
- perf: speed up server rendering of pages with many or deeply nested components
In short
2 new3 faster10 fixed2 internal
Release note
Minor Changes
Include
snippetNameinrenderentries of the dev__svelte_metastackInclude the
componentinstance an element was rendered in for Svelte devtools to track
Patch Changes
Let the garbage collector free each component's AST after it is compiled
Render the same
<title>on the server as on the client and ignore titles inside failed boundariesAllow
autocorrecton all elementsParse snippet type parameters containing arrow function types
Keep directive values that match the directive name in
printCorrectly assign dev element locations after components during hydration
Don't compare the whole template on every expression when a source is parsed again
Keep positions right after optional properties in template type annotations
Speed up server rendering of pages with many or deeply nested components
Remove all of the server-rendered content when hydrating a different branch that contains a failed boundary
Preserve effect tree order across batch traversal passes
Reset dev update counters for sources written during batch traversal
Don't leak reactive context past nested awaits in production
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.