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