FRONTEND
Astro v6.2.0
RESUMEN
Minor Changes - #16187 `fe58071` Thanks @gllmt! - Adds a `waitUntil` option to the `RenderOptions` so that adapters can forward ru
Descripción Detallada
Minor Changes - #16187 `fe58071` Thanks @gllmt! - Adds a `waitUntil` option to the `RenderOptions` so that adapters can forward runtime background-task hooks to Astro. When provided by an adapter, runtime cache providers receive `context.waitUntil` in `CacheProvider.onRequest()`, which allows background cache work such as stale-while-revalidate without blocking the response. The Cloudflare adapter now forwards `ExecutionContext.waitUntil` to this API. - #16290 `a49637a` Thanks @ViVaLaDaniel! - Ensures that `server.allowedHosts` (and `vite.preview.allowedHosts`) configuration is respected when using `astro preview` with the `@astrojs/cloudflare` adapter. This improves security by preventing DNS rebinding attacks when previewing Cloudflare builds locally. - #15725 `4108ec1` Thanks @meyer! - Adds support for a new `'jsx'` value for the `compressHTML` option. When set, whitespace is stripped using JSX whitespace rules instead of the default HTML compression strate
Astro v6.2.0 introduce cambios que rompen compatibilidad y nuevas opciones para mejorar el manejo de tareas en segundo plano.
- Se añade la opción `waitUntil` a `RenderOptions` para que los adaptadores puedan manejar tareas en segundo plano.
- La configuración `server.allowedHosts` se respeta en `astro preview` con el adaptador `@astrojs/cloudflare`, mejorando la seguridad.
- Se agrega un nuevo valor `'jsx'` para la opción `compressHTML`, que aplica reglas de espacio en blanco de JSX.
A quién le importa
Solo si usas adaptadores o la opción de compresión de HTML.
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