@astrojs/svelte
9.1.6 · 13 Nov 2026MIT224k / weekRepositoryHomepagenpmAtom feed
Upgrading @astrojs/svelte From 5.0.2 to 5.7.3
11 releases in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 7
- new
- 5
- fixes
Start here
Before you upgrade
Tick each one off as you go- Deprecated5.4.0
Security
1 advisory still affects 5.7.3
- Astro: Reflected XSS via unescaped slot names in @astrojs/sveltelow · GHSA-f4j9-crrj-867q
Upgrading to 9.1.2 clears it.
Release by release
- New
Adds support for Svelte 5's new
@rendersyntax while maintaining backward compatibility with traditional slots.
- New
- Fixed
Fixes an Reference Error that occurred during client transitions
- Fixed
- Fixed
Fix Svelte component view transition state persistence
- Fixed
- New
Bumps Svelte 5 peer dependency to
^5.0.0-next.190and support the latest slots/snippets API
- New
- New
Adds a new function called
addServerRendererto the Container API. Use this function to manually store renderers inside the instance of your container.
- New
- New
The integration now exposes a function called
getContainerRenderer, that can be used inside the Container APIs to load the relative renderer.
- New
- Deprecated
Deprecate support for versions of Node.js older than
v18.17.1for Node.js 18, older thanv20.0.3for Node.js 20, and the complete Node.js v19 release line.
- Deprecated
- New
Bumps Svelte 5 peer dependency to
^5.0.0-next.90and support its latest breaking changes
- New
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.