Packages

svelte

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

Your version

5.50.0

6 Feb 2026Where it was published

5.59.1 is the newest release of 5.x.

Summary· from the note as AI read it

To checkNothing breaks, but check what is deprecated or unsure.

Before you upgrade

  • Ensure each block keys are unique; duplicates now throw in productionTo check

New

  • feat: allow use of createContext when instantiating components programmatically

In short

1 breaking1 new7 fixed1 internal

  • Breaking

    fix: emit each_key_duplicate error in production

    To check

Security

8 advisories affect 5.50.0; 5.55.7 fixes them

3 more

Release note

Minor Changes

  • Allow use of createContext when instantiating components programmatically

Patch Changes

  • Ensure infinite effect loops are cleared after flushing

  • Allow {#key NaN}

  • Detect store in each block expression regardless of AST shape

  • Treat <menu> like <ul>/<ol> for a11y role checks

  • Add vite-ignore comment inside dynamic crypto import

  • Properly hydrate already-resolved async blocks

  • Emit each_key_duplicate error in production

  • Exit resolved async blocks on correct node when hydrating

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.