Packages

svelte

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

Upgrading svelte From 5.11.1 to 5.55.7

268 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 5.11.1Newest 5.x5.59.1Latest5.58.0
  1. 5.11.1yours
  2. 8 releases
  3. 5.14.4breaking
  4. 75 releases
  5. 5.28.7breaking
  6. 34 releases
  7. 5.34.5breaking
  8. 147 releases
  9. 5.55.7target

Before you upgrade

Tick each one off as you go
  • Breaking5.34.5
  • Breaking5.28.7
  • Breaking5.14.4

Security

Release by release

  1. 5.55.7

    Security fix14 May 20263 fixes
    • Security

      Prevent XSS on hydratable from user contents

    • Fixed

      Disallow empty attribute names during SSR

    • Fixed

      Harden regex

    • Fixed

      Move Svelte runtime properties to symbols

  2. 5.55.6

    14 May 202618 fixes
    • Fixed

      Leave stale promises to wait for a later resolution, instead of rejecting

    • Fixed

      Keep dependencies of $state.eager/pending

    • Fixed

      Reapply context after transforming error during SSR

    • Fixed

      Don't rebase just-created batches

  3. 5.55.5

    23 Apr 20262 fixes
    • Fixed

      Don't mark deriveds while an effect is updating

    • Fixed

      Do not dispatch introstart event with animation of animate directive

  4. 5.55.4

    14 Apr 20263 fixes
    • Fixed

      Never mark a child effect root as inert

    • Fixed

      Reset context after waiting on blockers of @const expressions

    • Fixed

      Keep flushing new eager effects

  5. 5.55.3

    10 Apr 20265 fixes
    • Fixed

      Ensure proper HMR updates for dynamic components

    • Fixed

      Correctly calculate @const blockers

    • Fixed

      Freeze deriveds once their containing effects are destroyed

    • Fixed

      Defer error boundary rendering in forks

    • Fixed

      Avoid false positives for reactivity loss warning

  6. 5.55.2

    7 Apr 20269 fixes
    • Fixed

      Invalidate @const tags based on visible references in legacy mode

    • Fixed

      Handle parens in template expressions more robustly

    • Fixed

      Disallow -- in idPrefix

    • Fixed

      Correct types for ontoggle on <details> elements

  7. 5.55.1

    29 Mar 20265 fixes
    • Fixed

      Correctly handle bindings on the server

    • Fixed

      Prevent hydration error on async {@html ...}

    • Fixed

      Cleanup superTypeParameters in ClassDeclarations/ClassExpression

    • Fixed

      Improve duplicate module import error message

    • Fixed

      Reschedule new effects in prior batches

  8. 5.55.0

    23 Mar 20261 new · 1 fix
    • New

      Export TweenOptions, SpringOptions, SpringUpdateOptions and Updater from svelte/motion

    • Fixed

      Ensure HMR wrapper forwards correct start/end nodes to active effect

1 other line we could not sort, mostly version bumps
  • Revert "feat: enable TS autocomplete for Svelte HTML element definitions"

    5.33.14

53 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.