svelte
5.58.0 · 18 Nov 2026MIT10.4M / weekRepositoryHomepagenpmAtom feed
Upgrading svelte From 4.2.20 to 5.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 7
- changes to make
- 0
- advisories fixed
- 0
- new
- 0
- fixes
Start here
Before you upgrade
Tick each one off as you go- Breaking5.0.0-next.264
- Breaking5.0.0-next.266
- Breaking5.0.0-next.266
- Breaking5.0.0-next.268
- Breaking5.0.0-next.268
- Breaking5.0.0-next.272
- Deprecated5.0.0-next.256
Security
6 advisories still affect 5.0.0
- Svelte SSR attribute spreading includes inherited properties from prototype chainmoderate · GHSA-crpf-4hrx-3jrp
- Svelte affected by cross-site scripting via spread attributes in Svelte SSRmoderate · GHSA-f7gr-6p89-r883
- Svelte SSR does not validate dynamic element tag names in `<svelte:element>`moderate · GHSA-m56q-vw4c-c2cp
Upgrading to 5.55.7 clears them.
5 other lines we could not sort, mostly version bumps
- 5.0.0
Even better performance,
- 5.0.0
A more granular reactivity system with runes,
- 5.0.0
More expressive template syntax with snippets and event attributes,
- 5.0.0
Native TypeScript support,
- 5.0.0
And backwards compatibility with the previous syntax!
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.