astro
7.4.13 · 18 Nov 2026MIT12.5M / weekRepositoryHomepagenpmAtom feed
Upgrading astro From 7.3.8 to 7.4.0
1 release in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 9
- new
- 7
- fixes
Start here
Before you upgrade
Tick each one off as you go- Breaking7.4.0
- Deprecated7.4.0
Security
2 advisories still affect 7.4.0
- Astro: XSS via attribute injection in dynamic tag nameslow · GHSA-mh32-jxcr-mh9f
- Astro: Image endpoint in @astrojs/node can read files from a case-variant sibling of the output directory on case-sensitive filesystemsmoderate · GHSA-r3h5-4585-7x3w
Upgrading to 7.4.7 clears them.
Release by release
- Breaking
Increases the minimum Node.js version to 22.22.0
- Deprecated
Returning a plain array from
getStaticPaths()or a plainResponsefromrender()still works, but is deprecated: images used on those pages are not generated. - New
Adds a new
--timingsflag toastro buildto help you find what slows down your builds - New
Adds a new optional
getFontProperties()callback to font providers
- Breaking
3 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.