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.4.8
### Patch Changes - [#17109](https://github.com/withastro/astro/pull/17109) [`27c80ea`](https://github.com/withastro/astro/commit/27c80ea92248993e5fce94b2c26d87d611ab6785) Thanks [@ematipico](https://github.com/ematipico)! - Harden the limits on the number of decoding on the URL.
FRONTEND
Astro v6.4.7
### Patch Changes - [#17035](https://github.com/withastro/astro/pull/17035) [`197e50e`](https://github.com/withastro/astro/commit/197e50e2e37168a9b9e8a014c13d1308b2220ca1) Thanks [@astrobot-houston](https://github.com/astrobot-houston)! - Fixes `getRelativeLocaleUrl`, `getAbsoluteLocaleUrl`, and