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 v14.1.7
### Patch Changes - [#17543](https://github.com/withastro/astro/pull/17543) [`bbc1ec9`](https://github.com/withastro/astro/commit/bbc1ec9715160e25eb6a6fee2e133386414c0c00) Thanks [@ematipico](https://github.com/ematipico)! - Fixes a bug where Cloudflare couldn't load chunked collections via `expe
FRONTEND
Astro v7.1.6
### Patch Changes - [#17536](https://github.com/withastro/astro/pull/17536) [`ff97b86`](https://github.com/withastro/astro/commit/ff97b86ab02d199af5fe0f6e9984e9919c8276bf) Thanks [@dmgawel](https://github.com/dmgawel)! - Fixes concurrent static builds failing to generate i18n rewrite fallbacks fo