Packages

@astrojs/svelte

9.1.6 · 13 Nov 2026MIT224k / weekRepositoryHomepagenpmAtom feed

Upgrading @astrojs/svelte From 2.0.1 to 9.1.6

69 releases in betweennotes for 52

Other targets from 2.0.1Newest 2.x2.2.0
5.0.0, 4.0.0 have no release note on GitHub or in the repository's changelog, so their breaking changes are missing from the counts below; the migration guide covers them.
  1. 2.0.1yours
  2. 4 releases
  3. 3.0.0major
  4. 2 releases
  5. 4.0.0major
  6. 4 releases
  7. 5.0.0major
  8. 13 releases
  9. 6.0.0major
  10. 2 releases
  11. 7.0.0major
  12. 21 releases
  13. 8.0.0major
  14. 8 releases
  15. 9.0.0major
  16. 7 releases
  17. 9.1.6target
  18. 2 pre
13+
changes to make
0
advisories fixed
12+
new
37+
fixes

Counted from 52 of 69 release notes. Advisories are counted from the advisory database, in full.

Start here

Before you upgrade

Tick each one off as you go
  • Breaking9.1.1
  • Breaking9.1.0
  • Breaking9.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking7.1.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0

Release by release

  1. 9.1.6

    13 Nov 20261 fix
    • Fixed

      Unpins @astrojs/* dependencies to allow versions matching the ^ range to be installed

  2. 9.1.3 – 9.1.53 releases, nothing new or fixed in the notes

  3. 9.1.2

    28 Oct 20261 fix
    • Fixed

      Escapes slot names when rendering the slot wrapper elements for Svelte components

  4. 9.1.1

    Migration needed21 Oct 2026
  5. 9.1.0

    Migration needed15 Oct 2026
    • Breaking

      Increases the minimum Node.js version to 22.22.0

  6. 9.0.1

    1 Jul 20261 fix
    • Fixed

      Fixes an issue where the peerDependencies field used incorrect dependencies.

  7. 9.0.0

    Migration needed22 Jun 20262 new · 1 fix
    • Breaking

      Upgrade to Vite v8

    • Deprecated

      Importing getContainerRenderer() from the package root still works, but is now deprecated and logs a warning.

    • New

      Replaces the import entrypoint of getContainerRenderer()

    • New

      Updates @sveltejs/vite-plugin-svelte to v7. No user action is necessary.

    • Fixed

      Triggers beta prereleases for packages that are still on alpha

  8. 8.1.2

    26 May 20261 fix
    • Fixed

      Fixed an issue where type errors occurred during testing library type checks because Astro overrides Svelte 5 component types.

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