astro
7.4.13 · 18 Nov 2026MIT12.5M / weekRepositoryHomepagenpmAtom feed
Upgrading astro From 5.1.10 to 5.2.0
1 release in betweenevery note read
Security
23 advisories still affect 5.2.0
- Astro: Remote code execution through AVIF image optimizationcritical · GHSA-26w7-cxv4-gfx2
- Astro: Host header SSRF in prerendered error page fetchhigh · GHSA-2pvr-wf23-7pc7
- Astro: Authorization bypass from missing path-segment boundary check when stripping the configured basemoderate · GHSA-376h-93r7-7g6f
Upgrading to 7.4.5 clears them.
Release by release
- New
Redirects trailing slashes for on-demand pages
- New
Adds support for redirecting to external sites with the
redirectsconfiguration option. - New
Adds a new experimental virtual module
astro:configthat exposes a type-safe subset of yourastro.config.mjsconfiguration - New
Added additional generated typings for the content layer
- Fixed
Updates
astro add tailwindto add the@tailwindcss/viteplugin instead of the@astrojs/tailwindintegration - Fixed
Returns a more helpful 404 page in dev if there is a trailing slash mismatch between the route requested and the
trailingSlashconfiguration
- New
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.