FRONTEND
Astro v6.1.0
RESUMEN
Minor Changes - #15804 `a5e7232` Thanks @merlinnot! - Allows setting codec-specific defaults for Astro's built-in Sharp image
Descripción Detallada
Minor Changes - #15804 `a5e7232` Thanks @merlinnot! - Allows setting codec-specific defaults for Astro's built-in Sharp image service via `image.service.config`. You can now configure encoder-level options such as `jpeg.mozjpeg`, `webp.effort`, `webp.alphaQuality`, `avif.effort`, `avif.chromaSubsampling`, and `png.compressionLevel` when using `astro/assets/services/sharp` for compile-time image generation. These settings apply as defaults for the built-in Sharp pipeline, while per-image `quality` still takes precedence when set on ``, ``, or `getImage()`. - #15455 `babf57f` Thanks @AhmadYasser1! - Adds `fallbackRoutes` to the `IntegrationResolvedRoute` type, exposing i18n fallback routes to integrations via the `astro:routes:resolved` hook for projects using `fallbackType: 'rewrite'`. This allows integrations such as the sitemap integration to properly include generated fallback routes in their output. ```js { 'astro:routes:resolved': ({ routes }) => { for (const route of routes) { for (const fallback of route.fallbackRoutes) { console.log(fallback.pathname
Astro v6.1.0 permite configurar opciones específicas para imágenes y añade rutas de fallback para integraciones.
- Ahora puedes establecer configuraciones predeterminadas específicas de códec para el servicio de imágenes Sharp de Astro.
- Se añaden rutas de fallback al tipo IntegrationResolvedRoute para integraciones que usan el hook astro:routes:resolved.
A quién le importa
Todos los que usen Astro para generación de imágenes y necesiten soporte para rutas de fallback.
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