Astro 7.1.1
Astro 7.1 Arrives
Astro 7.1.0 landed on July 16 with 7.1.1 hot on its heels today — a patch fixing encoded request paths in domain-based i18n routing. The 7.1 minor brings several quality-of-life improvements for content-heavy sites.
Deferred Rendering for Large Collections
New deferRender option on the glob() content loader. Markdown entries are no longer eagerly rendered during sync — instead they render on-demand like .mdx files. Big memory savings for collections using heavy rehype plugins (Katex, etc.).
Chunked Collection Storage
Experimental collectionStorage: "chunked" option. Instead of one giant .astro/data-store.json, content is split across many smaller content-addressed files. Deduplication and stable hashes mean unchanged parts keep the same filename across builds.
Better CSP Control
New kind option for CSP directives. Scope sources and hashes to script-src-elem, script-src-attr, style-src-elem, or style-src-attr — no more blanket policies.
Dev Server Quality of Life
--ignore-lock flag lets you start a second dev server alongside an existing one. paginate() gains a format() callback for custom URL shapes (e.g. .html extensions). Logger entrypoints now accept URL objects.
Patch Fixes
7.1.1 fixes encoded request paths being misrouted under domain-based i18n. 7.1.0 patches include JSON logger fixes for non-Node runtimes, integration logger updates via updateConfig(), and hardened transition style injection.