astro
7.4.13 · 18 Nov 2026MIT12.5M / weekRepositoryHomepagenpmAtom feed
Upgrading astro From 7.4.4 to 7.4.7
3 releases in betweenevery note read
- 0
- changes to make
- 2
- advisories fixed
- 0
- new
- 17
- fixes
Security
Fixes 2 advisories affecting 7.4.4
- 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
Release by release
- Fixed
Fixes the image endpoint treating directories whose names differ only by letter case as being inside the build output directory on case-sensitive filesystems
- Fixed
- Fixed
Avoids attributing client-only components or scripts to unrelated pages importing
astro:i18nby bounding top-level page graph traversal at virtual page entries - Fixed
Fixes an extra page reload on the first page load after starting
astro devwithout an existing.astrodirectory - Fixed
Fixes
astro checkexiting with code 0 when@astrojs/checkortypescriptis not installed. The command now exits with code 1 so CI fails instead of silently skipping type checking. - Fixed
Preserves the last-modified date of cached font files and unchanged public files when copying them into the build output. Public-file timestamp preservation respects the resolved public-directory configuration, follows source symlinks, and avoids backdating files overwritten by build plugins.
- Fixed
- Fixed
Fixes
astro dev statusand other background server commands deleting the lock file of a running dev or preview server when run from a sandbox or as another user that is not permitted to signal its process - Fixed
Fixes
import.meta.envvalues containing$sequences (such as$$or$&) being corrupted inastro buildwhen server code reads theimport.meta.envobject directly, for example withconst { MY_SECRET } = import.meta.env - Fixed
Fixes request paths with invalid percent-encoding (e.g.
/%C0%AFor a bare%) being logged as anInvalid URL encodingerror and routed with the undecoded path. These requests now return a400, the same as a path that is encoded too many times. - Fixed
Makes rendering of string tag names stricter and consistent across
.astrodynamic tags, JSX, and MDX. Only the leading part of the string that is a valid element name is rendered, so characters such as/or=can no longer change the generated markup. A string that does not start with a valid element name (for example'!--'or'') now throws an error instead of producing invalid HTML.
- Fixed
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.