Packages

astro

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

Upgrading astro From 5.17.0 to 5.18.2

6 releases in betweenevery note read

Other targets from 5.17.0Clears its 14 advisories7.4.7Latest7.4.13

Before you upgrade

Tick each one off as you go
  • Breaking5.17.1

Security

Fixes 1 advisory affecting 5.17.0

Release by release

  1. 5.18.2

    26 May 20261 fix
    • Fixed

      Populates styles in the SSR manifest for prerendered routes. Previously, prerendered routes had styles: in the manifest, making it impossible for workers or middleware to discover which CSS files a prerendered page uses.

  2. 5.18.1nothing new or fixed in the note

  3. 5.18.0

    25 Feb 20261 new · 1 fix
    • New

      Adds a new security.actionBodySizeLimit option to configure the maximum size of Astro Actions request bodies.

    • Fixed

      Fix X-Forwarded-Proto validation when allowedDomains includes both protocol and hostname fields. The protocol check no longer fails due to hostname mismatch against the hardcoded test URL.

  4. 5.17.3

    18 Feb 20261 new · 1 fix
    • New

      Add a default body size limit for server actions to prevent oversized requests from exhausting memory.

    • Fixed

      Respect image allowlists when inferring remote image sizes and reject remote redirects.

  5. 5.17.2

    11 Feb 20261 fix
    • Fixed

      Improves Host header handling for SSR deployments behind proxies

  6. 5.17.1

    Migration needed29 Jan 2026
    • Breaking

      BREAKING CHANGE to the experimental Fonts API only

2 internal lines (docs, tests, tooling) left out.

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.