FRONTEND
Astro v8.1.0
RESUMEN
Minor Changes - #16466 `31b6198` Thanks @fkatsuhiro! - This change updates the Svelte integration's type shims to treat non-c
Descripción Detallada
Minor Changes - #16466 `31b6198` Thanks @fkatsuhiro! - This change updates the Svelte integration's type shims to treat non-children snippet props and `any`-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 `HandleSnippetProps` to make Snippets optional in Astro. - Distinguishes between generic and non-generic components to preserve inference. - Updates TSX generation to apply the appropriate directive wrapper.
Actualización de la integración de Svelte para tratar props como opcionales.
- Actualiza los type shims de Svelte para que props no hijos y props de tipo 'any' sean opcionales.
- Agrega 'HandleSnippetProps' para hacer que los Snippets sean opcionales en Astro.
- Distingue entre componentes genéricos y no genéricos para preservar la inferencia.
- Actualiza la generación de TSX para aplicar el wrapper de directiva adecuado.
A quién le importa
Todos los que usan Svelte con Astro.
Generado por IA · puede contener errores
Releases Relacionados
FRONTEND
Astro v6.2.1
### Patch Changes - [#16531](https://github.com/withastro/astro/pull/16531) [`76db01d`](https://github.com/withastro/astro/commit/76db01d332a4029f46f6df7a60fae14278321d2c) Thanks [@rodrigosdev](https://github.com/rodrigosdev)! - Fixes config validation for omitted `integrations` fields with newer
FRONTEND
Astro v0.21.1
### Patch Changes - [#16534](https://github.com/withastro/astro/pull/16534) [`5cf6c51`](https://github.com/withastro/astro/commit/5cf6c51188b52d22f133ea9373da0080f74701f9) Thanks [@matthewp](https://github.com/matthewp)! - Fixes compatibility with Zod 4.4.0 for the `server` config property and er