Packages

astro

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

Upgrading astro From 7.0.3 to 7.0.4

1 release in betweenevery note read

Other targets from 7.0.3Newest 7.x, Latest7.4.13Clears its 9 advisories7.4.7
  1. 7.0.3yours
  2. 7.0.4target

Security

Release by release

  1. 7.0.4

    30 Jun 20261 new · 6 fixes
    • New

      Adds support for sharp v0.35. pnpm users no longer need to approve sharp's build script (see allowBuilds) when on v0.35.

    • Fixed

      Ensures transition directive values are HTML-escaped when rendered on hydrated islands

    • Fixed

      Fixes trailing slash handling for dynamic file endpoints in dev mode. Dynamic file endpoints (e.g., src/pages/api/[name].json.ts) with trailingSlash: "always" incorrectly required a trailing slash in dev mode, returning 404 for /api/bar.json and 200 for /api/bar.json/.

    • Fixed

      Fixed a bug where the development toolbar did not output a warning even though the implicit ARIA role and the manually specified role were duplicated.

    • Fixed

      Fixes getCollection() returning empty in dev mode for large content collections (500k+ entries)

    • Fixed

      Upgrades the Rust compiler to the latest, which fixes some bugs. Refer to its changelog for more information.

    • Fixed

      Hardens forwarded header handling so the internal request helper validates X-Forwarded-Host against security.allowedDomains before trusting X-Forwarded-For for clientAddress. Previously it only checked that the header was present, which was inconsistent with the public createRequest helper. This aligns both code paths; behavior is unchanged for correctly configured proxies.

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.