Packages

astro

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

Upgrading astro From 4.8.7 to 4.9.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.8.7Newest 4.x4.16.19Clears its 24 advisories7.4.5Latest7.4.13
  1. 4.8.7yours
  2. 4.9.0target
1
change to make
0
advisories fixed
6
new
0
fixes

Before you upgrade

Tick each one off as you go
  • Deprecated4.9.0

Security

  • The CSRF protection feature that was introduced behind a flag in v4.6.0 is no longer experimental and is available for general use.

    4.9.0

Release by release

  1. 4.9.0

    Security fix23 May 20246 new
    • Security

      The CSRF protection feature that was introduced behind a flag in v4.6.0 is no longer experimental and is available for general use.

    • Deprecated

      Deprecate the getApiContext() function. API Context can now be accessed from the second parameter to your Action handler():

    • New

      Introduces an experimental Container API to render .astro components in isolation.

    • New

      The i18nDomains routing feature introduced behind a flag in v3.4.0 is no longer experimental and is available for general use.

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.