Packages

astro

7.4.13 · 18 Nov 2026MIT12.5M / weekRepositoryHomepagenpmAtom feed

Upgrading astro From 7.2.0 to 7.2.1

1 release in betweenevery note read

Other targets from 7.2.0Newest 7.x, Latest7.4.13Clears its 6 advisories7.4.7
  1. 7.2.0yours
  2. 7.2.1target
0
changes to make
0
advisories fixed
0
new
10
fixes

Security

Release by release

  1. 7.2.1

    11 Aug 202610 fixes
    • Fixed

      Fixes CSS hot module replacement after navigating between pages with ClientRouter

    • Fixed

      Fixes a CSP violation when using both security.csp and experimental.clientPrerender with data-astro-prefetch links. The dynamically injected <script type="speculationrules"> now uses a static "source": "document" approach with a CSS selector, producing a deterministic payload that is hashed and included in the CSP script-src directive at build time.

    • Fixed

      Fixes middleware HMR not responding to changes in imported modules. Previously, only direct edits to the middleware file would trigger a reload.

    • Fixed

      Fixes a regression where content collection reference() fields silently accepted entry IDs that don't exist, such as an ID that doesn't match a loader's slugified version of it. Astro now logs an error for references that point to a missing entry after all loaders finish syncing.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.