FRONTEND
Astro v13.1.0
RESUMEN
Minor Changes - #15711 `b2bd27b` Thanks @OliverSpeir! - Adds a `prerenderEnvironment` option to the Cloudflare adapter.
Descripción Detallada
Minor Changes - #15711 `b2bd27b` Thanks @OliverSpeir! - Adds a `prerenderEnvironment` option to the Cloudflare adapter. By default, Cloudflare uses its workerd runtime for prerendering static pages. Set `prerenderEnvironment` to `'node'` to use Astro's built-in Node.js prerender environment instead, giving prerendered pages access to the full Node.js ecosystem during both build and dev. This is useful when your prerendered pages depend on Node.js-specific APIs or NPM packages that aren't compatible with workerd. ```js // astro.config.mjs import cloudflare from '@astrojs/cloudflare'; import { defineConfig } from 'astro/config'; export default defineConfig({ adapter: cloudflare({ prerenderEnvironment: 'node', }), }); ``` Patch Changes - #15845 `50fcc8b` Thanks @aqiray! - fix: show actionable error when running astro preview without prior build - #15794 `d1ac58e` Thanks @OliverSpeir! - Fixes image serving in `passt
Astro v13.1.0 añade una opción para prerenderizar en Node.js en el adaptador de Cloudflare.
- Se agrega la opción `prerenderEnvironment` al adaptador de Cloudflare para usar Node.js en lugar de workerd.
- Se muestra un error claro al ejecutar `astro preview` sin una construcción previa.
- Se corrige el servicio de imágenes en `passt`.
A quién le importa
Solo si usas el adaptador de Cloudflare y necesitas Node.js para prerenderizar.
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