---
name: Astro
slug: astro
domain: astro.build
description: Content-focused web framework for building fast, content-rich websites with islands architecture.
category: framework
sources: 1
total_releases: 103
releases_last_30d: 50
avg_releases_per_week: 13.8
last_updated: 2026-08-12
tracking_since: 2026-06-22
canonical: https://releases.sh/astro
tags:
  - frontend
  - javascript
  - typescript
accounts:
  github: "withastro"
  x: "astrodotbuild"
---

<Source name="astro" slug="astro-changelog" type="scrape" releases="22" latest-version="astro@7.2.1" latest-date="2026-08-11T16:44:01.000Z" primary="true" url="https://releases.sh/astro/astro-changelog" />

## Recent Releases

_Summaries below — fetch the release's `canonical` URL for full content, or `url` for the original source._

<Release source="astro-changelog" version="astro@7.2.1" date="August 11, 2026" published="2026-08-11T16:44:01.000Z" url="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md#astro@7-2-1" canonical="https://releases.sh/release/rel_7lbqAR-kbdWB3qtIHzYC8" truncated="true">
Fixed CSS hot module replacement breaking after navigating between pages with ClientRouter, and a CSP violation when using both security.csp and experimental.clientPrerender with data-astro-prefetch links. Fixed a regression where content collection reference() fields silently accepted non-existent entry IDs—Astro now logs errors for missing references. Plus fixes for middleware HMR, video/audio elements after view transitions, incremental build hash collisions, and prerender environment 500 errors.
</Release>

<Release source="astro-changelog" version="astro@7.2.0" date="August 6, 2026" published="2026-08-06T10:44:15.000Z" url="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md#astro@7-2-0" canonical="https://releases.sh/release/rel_8n2eEpqL4JK9csxHp5W6i" truncated="true">
The `astro preview --background` flag starts preview servers as background processes, making it easier to manage from scripts and AI coding agents. Astro now offers experimental support for incremental static builds via `experimental.incrementalBuild`, which can skip regenerating static pages when module dependencies and cache keys are unchanged. Also widened the `AstroPrerenderer` `render()` return type to report incremental-build metadata, added relative path support in `logger.entrypoint`, optional `digest` property on content entries, and `session: false` option to tree-shake session runtime from serverless bundles.
</Release>

<Release source="astro-changelog" version="astro@7.1.6" date="July 29, 2026" published="2026-07-29T14:21:53.000Z" url="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md#astro@7-1-6" canonical="https://releases.sh/release/rel_-ASjw22qg9VfXImqCnF6z" truncated="true">
Fixed concurrent static builds failing to generate i18n rewrite fallbacks for dynamic routes, and stale dev CSS after editing component style blocks and CSS files. experimental.collectionStorage now supports configurable chunk sizes, and the Astro compiler was bumped to the latest version.
</Release>

<Release source="astro-changelog" version="astro@7.1.5" date="July 28, 2026" published="2026-07-28T16:51:11.000Z" url="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md#astro@7-1-5" canonical="https://releases.sh/release/rel_X2ES80uaKTH7Jsgh4OOit" truncated="true">
Fixed a bug where an error during request finalization could prevent a response from being sent. Also fixed custom logger.entrypoint failing to load at runtime in built server bundles, action path resolution treating function properties as routable segments, and custom 404/500 pages not rendering when middleware rewrites targeted routes returning empty responses.
</Release>

<Release source="astro-changelog" version="astro@7.1.4" date="July 27, 2026" published="2026-07-27T13:10:31.000Z" url="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md#astro@7-1-4" canonical="https://releases.sh/release/rel_c4ZqdhL0AvWRSz2_lJqUW" truncated="true">
Fixed duplicate CSS files being emitted when prerendered and server-rendered pages share the same styles (e.g., shared layouts with Tailwind). The SSR build now reuses the CSS asset filename from the prerender build when backed by the same source modules. Also fixed missing scoped styles for child components inside client:only islands in production builds.
</Release>

<Release source="astro-changelog" version="astro@7.1.3" date="July 20, 2026" published="2026-07-20T17:47:40.000Z" url="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md#astro@7-1-3" canonical="https://releases.sh/release/rel_KpdNz-EjuOOgqRLpSR0yk" truncated="true">
Fixed image optimization during astro build using too many parallel processes in CPU-limited containers. Builds now respect the container's CPU limit, reducing peak memory usage and avoiding out-of-memory crashes.
</Release>

<Release source="astro-changelog" version="astro@7.1.2" date="July 20, 2026" published="2026-07-20T12:04:10.000Z" url="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md#astro@7-1-2" canonical="https://releases.sh/release/rel_-r-6sztI6a9aGGg1obppC" truncated="true">
Fixed a bug where mutated Astro.locals during the request lifecycle were lost and not passed to custom error pages (404.astro/500.astro), and prevented an unhandled promise rejection from the prefetch fetch fallback on flaky connections in WebKit. Also updated the cookie dependency to v2, which no longer percent-encodes cookie values made entirely of URL-safe characters.
</Release>

<Release source="astro-changelog" version="astro@7.1.1" date="July 17, 2026" published="2026-07-17T12:35:04.000Z" url="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md#astro@7-1-1" canonical="https://releases.sh/release/rel_xskRohqiFqCO9SXutLNma" truncated="true">
Fixed encoded request paths being routed incorrectly when using domain-based i18n.
</Release>

<Release source="astro-changelog" version="astro@7.1.0" date="July 16, 2026" published="2026-07-16T12:17:14.000Z" url="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md#astro@7-1-0" canonical="https://releases.sh/release/rel_FpTaDbQfBUP0nZT5VnRbu" truncated="true">
Adds a new `deferRender` option to the `glob()` content loader that defers rendering of markdown entries until they are actually used in a page, reducing memory usage during builds for large collections with heavy post-processing. Also adds support for more specific CSP directives (`script-src-elem`, `script-src-attr`, `style-src-elem`, `style-src-attr`) through a new `kind` option in both config and runtime CSP APIs, plus an experimental `collectionStorage: 'chunked'` option to split the data store across smaller files for very large collections. Fixes a JSON logger crash in non-Node runtimes and several other smaller issues.
</Release>

<Release source="astro-changelog" version="astro@7.0.9" date="July 13, 2026" published="2026-07-13T21:06:03.000Z" url="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md#astro@7-0-9" canonical="https://releases.sh/release/rel_8mRuXh7aylqbgvifiAs23" truncated="true">
Fixed the first browser visit after astro dev starts triggering an immediate full page reload. Client islands now reliably recover from transient import failures during component loading, a problem that previously affected React components in astro dev mode.
</Release>

## Fetching more

Append `.md` (markdown), `.json` (raw data), or `.atom` (feed) to any URL on this page.

- Per-source history: `https://releases.sh/astro/{source-slug}`
- Atom feed: `https://releases.sh/astro.atom`
- Individual release: `https://releases.sh/release/{release-id}`
