Packages

astro

7.4.13 · 18 Nov 2026MIT12.5M / weekRepositoryHomepagenpmAtom feed

Upgrading astro From 7.4.2 to 7.4.7

5 releases in betweenevery note read

Other targets from 7.4.2Newest 7.x, Latest7.4.13

Security

Release by release

  1. 7.4.7

    5 Nov 20261 fix
    • 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

  2. 7.4.6

    5 Nov 202612 fixes
    • Fixed

      Avoids attributing client-only components or scripts to unrelated pages importing astro:i18n by bounding top-level page graph traversal at virtual page entries

    • Fixed

      Fixes an extra page reload on the first page load after starting astro dev without an existing .astro directory

    • Fixed

      Fixes astro check exiting with code 0 when @astrojs/check or typescript is 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.

  3. 7.4.5

    2 Nov 20264 fixes
    • Fixed

      Fixes astro dev status and 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.env values containing $ sequences (such as $$ or $&) being corrupted in astro build when server code reads the import.meta.env object directly, for example with const { MY_SECRET } = import.meta.env

    • Fixed

      Fixes request paths with invalid percent-encoding (e.g. /%C0%AF or a bare %) being logged as an Invalid URL encoding error and routed with the undecoded path. These requests now return a 400, the same as a path that is encoded too many times.

    • Fixed

      Makes rendering of string tag names stricter and consistent across .astro dynamic 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.

  4. 7.4.4

    28 Oct 20261 new
    • New

      Allows astro add to configure tagged versions of official adapters

  5. 7.4.3

    28 Oct 202614 fixes
    • Fixed

      CSP no longer hashes empty children on external stylesheets and scripts, which was inserting the SHA-256 of the empty string into script-src and style-src.

    • Fixed

      Fixes <Image> and <Picture> emitting duplicate srcset candidates when densities contains equivalent values such as 1 and '1x'

    • Fixed

      Fix unhandled AbortError rejection when ClientRouter skips a pending view transition

    • Fixed

      Fixes an uncaught TypeError in the browser when a server:defer island request fails due to a network error. The fallback content is kept, as it is for non-200 responses.

4 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.