Packages

astro

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

Upgrading astro From 6.0.8 to 6.1.0

1 release in betweenevery note read

Other targets from 6.0.8Newest 6.x6.4.8Clears its 13 advisories7.4.7Latest7.4.13
  1. 6.0.8yours
  2. 6.1.0target
0
changes to make
0
advisories fixed
3
new
15
fixes

Security

  • Fixes checkOrigin CSRF protection in astro dev behind a TLS-terminating reverse proxy. The dev server now reads X-Forwarded-Proto (gated on security.allowedDomains, matching production behaviour) so the constructed request origin matches the https:// origin the browser sends. Also ensures security.allowedDomains and security.checkOrigin are respected in dev.

    6.1.0
  • Updates the dependency svgo to the latest, to fix a security issue.

    6.1.0

Release by release

  1. 6.1.0

    Security fix26 Mar 20263 new · 15 fixes
    • Security

      Fixes checkOrigin CSRF protection in astro dev behind a TLS-terminating reverse proxy. The dev server now reads X-Forwarded-Proto (gated on security.allowedDomains, matching production behaviour) so the constructed request origin matches the https:// origin the browser sends. Also ensures security.allowedDomains and security.checkOrigin are respected in dev.

    • Security

      Updates the dependency svgo to the latest, to fix a security issue.

    • New

      Allows setting codec-specific defaults for Astro's built-in Sharp image service via image.service.config.

    • New

      Adds fallbackRoutes to the IntegrationResolvedRoute type, exposing i18n fallback routes to integrations via the astro:routes:resolved hook for projects using fallbackType: 'rewrite'.

1 internal line (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.