Astro 7.1.6
Astro 7.1.6 has been released — a patch release that brings important bug fixes for concurrent builds and CSS reloading, plus a new experimental feature for controlling content collection chunk sizes.
Bug Fixes
Two significant bugs have been addressed in this release:
- Concurrent static builds — Fixed a race condition where concurrent static builds could fail to generate i18n rewrite fallbacks for dynamic routes. This affected sites with multiple language versions using dynamic route parameters. (PR #17536)
- Stale dev CSS — Fixed an issue where the development server could serve stale CSS after editing component style blocks alongside CSS files. Developers no longer need to manually restart the dev server to see style changes take effect. (PR #17383)
Experimental: Configurable Chunk Sizes
Astro 7.1.6 adds a new capability to experimental.collectionStorage that allows you to control the size of generated content chunks. You can now specify a chunkSize option to split large collections into smaller, more manageable files:
// astro.config.mjs
import { defineConfig } from "astro/config";
export default defineConfig({
experimental: {
collectionStorage: {
type: "chunked",
chunkSize: 1024 * 1024, // 1MB chunks
},
},
});
This is particularly useful for content-heavy sites where individual collection files were growing too large, causing slower build times and memory pressure during development.
Upgrade Now
To upgrade your existing Astro project, run:
npm install astro@latest
Astro 7.1.6 is a drop-in replacement for 7.1.5 — no breaking changes or migration steps required. Check the full changelog on GitHub for the complete list of changes.