Packages

astro

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

Your version

5.12.4

28 Jul 2025Where it was published

5.18.2 is the newest release of 5.x.

In short

1 faster5 fixed

Security

23 advisories affect 5.12.4; 7.4.5 fixes them

18 more

Release note

Patch Changes

  • Optimized the build pipeline for SVG images. Now, Astro doesn't reprocess images that have already been processed.

  • Fixes a bug where the property Astro.routePattern/context.routePattern wasn't updated when using a rewrite via middleware.

  • Fixes a case where an error occurring in a middleware would show the dev overlay instead of the custom 500.astro page

  • Upgrades zod

  • Throws a more helpful error in dev if trying to use a server island without an adapter

  • Fixes a bug where the CSP headers was incorrectly added to a page when using an adapter.

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.