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