astro
7.4.13 · 18 Nov 2026MIT12.5M / weekRepositoryHomepagenpmAtom feed
Upgrading astro From 7.4.8 to 7.4.13
5 releases in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 25
- fixes
Security
- 7.4.11
A forwarded protocol is only applied when an entry allows it for the host in use.
- 7.4.11
A forwarded port is only applied when the entry for that host lists it.
- 7.4.11
A forwarded host without a forwarded protocol is validated with the protocol of the server.
- 7.4.11
An entry with
port: '443'(or'80'forhttp) now matches a host that doesn't include a port.
Release by release
- Fixed
Fixes the dev toolbar's
a11y-missing-contentaudit reporting anchors and headings that are hidden withvisibility: hiddenor are inside anaria-hidden="true"subtree - Fixed
Fixes server bundles including every renderable content collection entry when no server-rendered route calls
render()fromastro:content - Fixed
Fixes
i18n.fallbackfailing withi18nNoLocaleFoundInPathwhen the fallback target is a locale defined with a custompath - Fixed
Fixes
<Font preload>emitting no preload links when a requested weight range such as"400 700"sits inside a variable font file's range such as"400 900"
- Fixed
- Fixed
Fixes a typo in the error message shown when a font
cssVariableis invalid - Fixed
Reduces memory usage during
astro buildby releasing content collection entries from memory once the content layer sync is complete. - Fixed
Unpins
@astrojs/*dependencies to allow versions matching the^range to be installed
- Fixed
- Security
A forwarded protocol is only applied when an entry allows it for the host in use.
- Security
A forwarded port is only applied when the entry for that host lists it.
- Security
A forwarded host without a forwarded protocol is validated with the protocol of the server.
- Security
An entry with
port: '443'(or'80'forhttp) now matches a host that doesn't include a port.
- Security
- Fixed
Fixes the dev toolbar's audit freezing an image's CSS animations in Safari, by reading the image's size from the request that loaded it instead of fetching it again
- Fixed
Improves startup time of
astrocommands by loading SVGO only whensvgoOptimizer()optimizes an SVG, instead of wheneverastro/configis imported - Fixed
Fixes duplicate CSS loading for hydrated islands that share modules or are imported through a path alias. The client build no longer emits and preloads stylesheets that are already linked on the page by the server build.
- Fixed
- Fixed
Fixes static builds skipping or failing on pages whose
getStaticPaths()params contain characters like%or\, and warns when a prerendered page is skipped because it returned an empty error response - Fixed
Fixes bundled scripts and hydrated islands being blocked when
security.csp.scriptDirective.strictDynamicis enabled. Astro now adds the hash of every bundled script toscript-srcand renders an import map with theirintegrityin the<head>. - Fixed
Fixes bundling of a
<script src>that uses a root-relative path to a project file outsidesrc/, such as/lib/analytics.ts. The error asking foris:inlineis now shown only when the path points to a file inpublic/. - Fixed
Fixes errors thrown after a page has started streaming bypassing the configured
logger. They are now reported once through it, as oneerrorrecord, in both production andastro dev
- Fixed
11 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.