FRONTEND
Astro v7.1.0
RESUMEN
Minor Changes - #17302 `5f4dc03` Thanks @astrobot-houston! - Adds a new `deferRender` option to the `glob()` content lo
Descripción Detallada
Minor Changes - #17302 `5f4dc03` Thanks @astrobot-houston! - Adds a new `deferRender` option to the `glob()` content loader When set to `true`, renderable entries (such as Markdown) are not rendered during content sync. Instead, rendering is deferred until the entry is actually rendered in a page, using the same on-demand path that `.mdx` files already use. This reduces memory usage during `astro build` for large collections whose rendered output is much larger than the source — for example, Markdown that uses heavy rehype plugins like `rehype-katex`. Such builds could previously run out of memory while storing the eagerly-rendered HTML for every entry. ```js // src/content.config.ts import { defineCollection } from 'astro:content'; import { glob } from 'astro/loaders'; const docs = defineCollection({ loader: glob({ pattern: '*/.md', base: 'src/content/docs', deferRender: true }), }); ``` By default `deferRender` is `false`, preserving the existing behavior of rendering entries eagerly during sync so their rendered HTML can be cached across builds. - #17296 `30698a2` Thanks [@ematipico](
Explicación con IA
Genera un resumen en lenguaje claro de los cambios de este release.
Releases Relacionados
FRONTEND
Astro v11.0.3
### Patch Changes - [#17370](https://github.com/withastro/astro/pull/17370) [`3a43cf0`](https://github.com/withastro/astro/commit/3a43cf0f3690a8e33cb30109bc5165611cf38fcd) Thanks [@matthewp](https://github.com/matthewp)! - Improves internal ISR route handling
FRONTEND
Astro v14.1.3
### Patch Changes - [#17363](https://github.com/withastro/astro/pull/17363) [`3f4efc5`](https://github.com/withastro/astro/commit/3f4efc5d2f4cf2e38f983bf5842bbd953b5bf923) Thanks [@astrobot-houston](https://github.com/astrobot-houston)! - Fixes `astro preview --open` not opening a browser when us