astro
7.4.7 · 5 Nov 2026MIT11.2M / weekRepositoryHomepagenpmAtom feed
Where each line stands
Plan an upgradeLatest releases
All 736 releases7.4.7
5 Nov 2026Fixes the image endpoint treating directories whose names differ only by letter case as being inside the build output directory on case-sensitive filesystems
Patch Changes
Fixes the image endpoint treating directories whose names differ only by letter case as being inside the build output directory on case-sensitive filesystems
7.4.6
5 Nov 2026Avoids attributing client-only components or scripts to unrelated pages importing
astro:i18nby bounding top-level page graph traversal at virtual page entriesFixes an extra page reload on the first page load after starting
astro devwithout an existing.astrodirectoryFixes
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.
Patch Changes
Avoids attributing client-only components or scripts to unrelated pages importing
astro:i18nby bounding top-level page graph traversal at virtual page entriesFixes an extra page reload on the first page load after starting
astro devwithout an existing.astrodirectoryFixes
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.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.
Fixes the
glob()loader adding files from a folder excluded with a negation pattern such as!_docswhen they change duringastro devImproves the
MissingSharperror to include the reason Sharp failed to load, such as its prebuilt binaries not supporting the current CPUFixes i18n fallback for on-demand rendered pages. A locale-prefixed request for a page that only exists in the fallback locale (for example
/de/aboutwithfallback: { de: 'en' }) was answered with status302and noLocationheader. Such requests are now rewritten or redirected to the fallback locale according toi18n.routing.fallbackType, including encoded paths and sites with a configuredbase. Query strings are preserved, and explicit page statuses and redirects are left unchanged.Fixes
matchAllRoutesto considerfallbackRoutes, matchingmatchRouteand the production router. Dev-server i18n fallback requests now resolve to the source route's metadata instead of the 404 route, and SSR-only fallback candidates can fall through the prerender handler.Fixes
astro checklosing the end of its output, including theResultsummary, when stdout is piped to a slow reader. When the reader closes the pipe early, for exampleastro check | head,astro checknow exits with code 1 instead of crashing with anEPIPEstack trace.Fixes an unnecessary full page reload in
astro devwhen a content loader callsstore.clear()orstore.delete()and the content store has no asset importsFixes pages using
<ClientRouter />briefly showing the top of the page on reload before jumping back to the previous scroll position. Full reloads now use the browser's native scroll restoration.Fixes an unhandled
TypeError: Cannot convert undefined or null to objectwhen callingroute.generate()without arguments on static routes
7.4.5
2 Nov 2026Fixes
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 processFixes
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.envFixes 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.
Patch Changes
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 processFixes
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.envFixes 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.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.
Dependency tracking · free for 3 projects
Know when your own dependencies move
astro had 22 security advisories in the last 12 months. inlinr emails you the day one touches a project of yours, with the version that fixes it.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Registry facts last checked 6 Nov 2026. Releases and advisories last read 6 Nov 2026.