Packages

astro

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

Upgrading astro From 6.4.3 to 6.4.8

5 releases in betweenevery note read

Other targets from 6.4.3Clears its 10 advisories7.4.7Latest7.4.13

Security

Fixes 2 advisories affecting 6.4.3

  • This preserves the security fix for CVE-2025-66202 (middleware authorization bypass via double encoding) because middleware now always sees the fully decoded path, making bypass impossible.

    6.4.7

Release by release

  1. 6.4.8

    17 Jun 20261 fix
    • Fixed

      Harden the limits on the number of decoding on the URL.

  2. 6.4.7

    Security fix15 Jun 20261 new · 10 fixes
    • Security

      This preserves the security fix for CVE-2025-66202 (middleware authorization bypass via double encoding) because middleware now always sees the fully decoded path, making bypass impossible.

    • New

      Adds a JSON schema to the Wrangler configuration file generated when running astro add cloudflare

    • Fixed

      Fixes getRelativeLocaleUrl, getAbsoluteLocaleUrl, and getAbsoluteLocaleUrlList to strip trailing slashes when trailingSlash: 'never' is configured

    • Fixed

      Fixes double URL-encoded paths returning 400 Bad Request on on-demand routes

  3. 6.4.6

    10 Jun 20263 fixes
    • Fixed

      Fixes an issue where renaming an image file while the dev server is running triggers a build error. Now Astro correctly hot-reloads the image without crashing.

    • Fixed

      Hardens addAttribute to drop attribute names containing characters that are invalid per the HTML spec (", ', >, /, =, whitespace)

    • Fixed

      Validates the request origin against allowedDomains before fetching prerendered error pages. When allowedDomains is configured and the Host header matches, the original origin is used. Otherwise, the fetch falls back to localhost.

  4. 6.4.5

    9 Jun 20263 fixes
    • Fixed

      Fixes the experimental.logger destination not being used for the "Server listening on..." startup message. The logger is now resolved before the server starts listening, and adapterLogger re-creates itself when the underlying logger changes so the startup message uses the correct destination.

    • Fixed

      Fixes Astro.request.url not reflecting validated X-Forwarded-Proto/X-Forwarded-Host headers when security.allowedDomains is configured. Previously, only Astro.url was updated with the forwarded origin while Astro.request.url retained the socket-derived URL, causing the two to diverge behind TLS-terminating proxies.

    • Fixed

      Reverts a change to isNode runtime detection that caused a significant build time regression for Cloudflare adapter users with large prerendered sites

  5. 6.4.4

    3 Jun 20268 fixes
    • Fixed

      Prevents App.match() from throwing on request paths that contain an invalid percent-sequence.

    • Fixed

      Fixes an issue where editing a client-side component (e.g. with client:idle, client:load, etc.) caused an unnecessary full program reload of the backend during development.

    • Fixed

      Fixes a bug where static file endpoints using getStaticPaths with .html in dynamic param values (e.g. { path: 'file.html' }) would fail with a NoMatchingStaticPathFound error during build. The .html suffix is no longer incorrectly stripped from endpoint route pathnames.

    • Fixed

      Fixes dynamic routes returning 500 "TypeError: Missing parameter" when using domain-based i18n routing in SSR.

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.