Packages

astro

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

Upgrading astro From 6.0.4 to 6.0.5

1 release in betweenevery note read

Other targets from 6.0.4Newest 6.x6.4.8Clears its 13 advisories7.4.7Latest7.4.13
  1. 6.0.4yours
  2. 6.0.5target
0
changes to make
0
advisories fixed
0
new
10
fixes

Security

Release by release

  1. 6.0.5

    16 Mar 202610 fixes
    • Fixed

      Fix dev routing for server:defer islands when adapters opt into handling prerendered routes in Astro core. Server island requests are now treated as prerender-handler eligible so prerendered pages using prerenderEnvironment: 'node' can load island content without 400 errors.

    • Fixed

      Fixes astro:actions validation to check resolved routes, so projects using default static output with at least one prerender = false page or endpoint no longer fail during startup.

    • Fixed

      Avoid a MaxListenersExceededWarning during astro dev startup by increasing the shared Vite watcher listener limit when attaching content server listeners.

    • Fixed

      Emit the before-hydration script chunk for the client Vite environment. The chunk was only emitted for prerender and ssr environments, causing a 404 when browsers tried to load it. This broke hydration for any integration using injectScript('before-hydration', ...), including Lit 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.