# Astro astro@7.2.1 - Product: Astro (https://whatsnew.fyi/product/astro) - Vendor: Astro - Date: 2026-08-11 - Version: astro@7.2.1 - Original notes: https://github.com/withastro/astro/releases/tag/astro%407.2.1 - Permalink: https://whatsnew.fyi/product/astro/releases/astro-7.2.1 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **fixed** — Fix CSS hot module replacement after navigating between pages with ClientRouter - **fixed** — Fix CSP violation when using both security.csp and experimental.clientPrerender with data-astro-prefetch links by using a static speculationrules approach with deterministic hashing - **fixed** — Fix middleware HMR not responding to changes in imported modules - **fixed** — Fix content collection reference() fields silently accepting entry IDs that don't exist by logging an error for missing references - **fixed** — Fix requests handled by the dev prerender environment returning 500 when a prerendered catch-all route existed - **fixed** — Fix video and audio elements being non-functional after navigating via view transitions - **fixed** — Fix experimental.incrementalBuild re-rendering unchanged routes that import more than one asset by basing hash on resolved file names - **changed** — Improve getCollection() and getEntry() performance for entries without local image references - **fixed** — Fix build error caused by hash collisions in generated content collection image import identifiers ###### Patch Changes - [#17612](https://github.com/withastro/astro/pull/17612) [`7133730`](https://github.com/withastro/astro/commit/71337304965425820e81cc27d54b95d23033c017) Thanks [@thelazylamaGit](https://github.com/thelazylamaGit)! - Fixes CSS hot module replacement after navigating between pages with `ClientRouter` - [#17628](https://github.com/withastro/astro/pull/17628) [`4ada248`](https://github.com/withastro/astro/commit/4ada24889fc1bcc1ee89f3f8e5c6bc4cbe87cce6) Thanks [@astrobot-houston](https://github.com/astrobot-houston)! - Fixes a CSP violation when using both `security.csp` and `experimental.clientPrerender` with `data-astro-prefetch` links. The dynamically injected `