Packages

astro

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

Your version

6.0.4

12 Mar 2026Where it was published

6.4.8 is the newest release of 6.x.

In short

7 fixed

Security

13 advisories affect 6.0.4; 7.4.7 fixes them

8 more

Release note

Patch Changes

  • Prebundle astro/toolbar in dev when custom dev toolbar apps are registered, preventing re-optimization reloads that can hide or break the toolbar.

  • Fixes redirectToDefaultLocale producing a protocol-relative URL (//locale) instead of an absolute path (/locale) when base is '/'.

  • Fixes server islands (server:defer) not working when only used in prerendered pages with output: 'server'.

  • Fix a dev server bug where newly created pages could miss layout-imported CSS until restart.

  • Fixes a warning when using prefetchAll

  • Fixes a bug where a directory at the project root sharing the same name as a page route would cause the dev server to return a 404 instead of serving the page.

  • Update the unknown file extension error hint to recommend vite.resolve.noExternal, which is the correct Vite 7 config key.

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.