Packages

svelte

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

Your version

5.57.1

18 Sep 2026Where it was published

5.59.1 is the newest release of 5.x.

In short

2 faster12 fixed

Release note

Patch Changes

  • Cancel deferred event listeners during cleanup

  • Preserve global CSS in components without scopable elements

  • Reduce SSR render result garbage collection

  • Resolve the fallback of an each block in the enclosing scope

  • Speed up parser interactions with Acorn or avoid them where possible

  • Prevent effect tree of batches from interfering with each other

  • Serialize input default values during server rendering

  • Remove WAS_MARKED flag in favor of Set

  • Throw set_context_after_init when setContext is called after an await during SSR

  • Make Object.hasOwn reactive for state proxy ownership changes

  • Keep $state.eager when used as a variable initializer

  • Avoid regex matching in parser where possible

  • In non-async mode, only push variable to current_sources when active_reaction is updating

  • Recognise aria-braillelabel and aria-brailleroledescription as known ARIA attributes

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.