@astrojs/svelte
9.1.6 · 13 Nov 2026MIT224k / weekRepositoryHomepagenpmAtom feed
Upgrading @astrojs/svelte From 2.2.0 to 9.1.6
65 releases in betweennotes for 51
- 13+
- changes to make
- 0
- advisories fixed
- 12+
- new
- 37+
- fixes
Counted from 51 of 65 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
- Fixed
Unpins
@astrojs/*dependencies to allow versions matching the^range to be installed
- Fixed
9.1.3 – 9.1.53 releases, nothing new or fixed in the notes
- Fixed
Escapes slot names when rendering the slot wrapper elements for Svelte components
- Fixed
- Breaking
Bumps the minimum supported Node.js version to 22.23.4, which includes the fixes from the October 2026 Node.js security releases
- Breaking
- Breaking
Increases the minimum Node.js version to 22.22.0
- Breaking
- Fixed
Fixes an issue where the
peerDependenciesfield used incorrect dependencies.
- Fixed
- 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-svelteto v7. No user action is necessary. - Fixed
Triggers beta prereleases for packages that are still on alpha
- Breaking
- Fixed
Fixed an issue where type errors occurred during testing library type checks because Astro overrides Svelte 5 component types.
- Fixed
8 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.