Update Apr 28, 2026 tracked by Updatify
@astrojs/svelte@8.1.0
Minor Changes
-
#16466
31b6198Thanks @fkatsuhiro! - This change updates the Svelte integration’s type shims to treat non-children snippet props andany-typed props as optional. Previously, these were incorrectly marked as required in Astro files, causing false-positive type errors when using Svelte 5 components.-
Adds
HandleSnippetPropsto make Snippets optional in Astro. - Distinguishes between generic and non-generic components to preserve inference.
- Updates TSX generation to apply the appropriate directive wrapper.
-
Adds