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.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