svelte
5.58.0 · 18 Nov 2026MIT10.4M / weekRepositoryHomepagenpmAtom feed
Upgrading svelte From 5.57.0 to 5.58.0
4 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Include
snippetNameinrenderentries of the dev__svelte_metastack - New
Include the
componentinstance an element was rendered in for Svelte devtools to track - New
Let the garbage collector free each component's AST after it is compiled
- New
Don't compare the whole template on every expression when a source is parsed again
- New
- Fixed
Use the first valid fallback role in
rolefor a11y checks - Fixed
Keep creating state sources for property checks during component init
- Fixed
Skip redundant attribute writes during hydration
- Fixed
Track missing state property checks in unowned deriveds
- Fixed
devaluelink inhydratable_serialization_failederror
- Fixed
- Fixed
Don't create async deriveds for a component destroyed while waiting for its top-level
await - Fixed
Prevent untracked derived reads from retaining disconnected dependencies
- Fixed
Error if
{:else}is followed by another{:else}or{:else if ...} - Fixed
Avoid tracking SvelteURLSearchParams during URL updates
- Fixed
- New
Speed up parser interactions with Acorn or avoid them where possible
- New
Avoid regex matching in parser where possible
- Fixed
Cancel deferred event listeners during cleanup
- Fixed
Preserve global CSS in components without scopable elements
- New
3 internal lines (docs, tests, tooling) left out.
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.