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