Packages

svelte

5.58.0 · 18 Nov 2026MIT10.4M / weekRepositoryHomepagenpmAtom feed

Your version

5.58.0

Latest18 Nov 2026Where it was published

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 snippetName in render entries of the dev __svelte_meta stack
  • feat: include the component instance 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 snippetName in render entries of the dev __svelte_meta stack

  • Include the component instance 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 boundaries

  • Allow autocorrect on all elements

  • Parse snippet type parameters containing arrow function types

  • Keep directive values that match the directive name in print

  • Correctly 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.