FRONTEND
Astro v8.0.0
RESUMEN
Major Changes - #15819 `cafec4e` Thanks @delucis! - Upgrade to Vite v8 Minor Changes - (
Descripción Detallada
Major Changes - #15819 `cafec4e` Thanks @delucis! - Upgrade to Vite v8 Minor Changes - #16335 `9a53f77` Thanks @ascorbic! - Adds a CDN cache provider for Astro route caching on Netlify #### Setup Import `cacheNetlify()` from `@astrojs/netlify/cache` and set it as your cache provider: ```js import { defineConfig } from 'astro/config'; import netlify from '@astrojs/netlify'; import { cacheNetlify } from '@astrojs/netlify/cache'; export default defineConfig({ adapter: netlify(), cache: { provider: cacheNetlify(), }, }); ``` #### Caching responses Use `Astro.cache.set()` in your pages and API routes to cache responses on Netlify's edge network. The provider uses Netlify's durable cache so cached responses are shared across all edge nodes, reducing function invocations. ```astro --- Astro.cache.set({ maxAge: 300, tags: ['products'] }); const data = await fetchProducts(); --- ``` You can also set
Astro v8.0.0 requiere Node.js 22.12.0 y actualiza a Vite v7.0.
- Se aumenta la versión mínima de Node.js a 22.12.0.
- Astro ahora usa Vite v7.0 como servidor de desarrollo y empaquetador de producción.
- Se actualiza `@sveltejs/vite-plugin-svelte` a v6.
A quién le importa
Solo si usas Astro y necesitas compatibilidad con Node.js.
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