Skip to content
Tech News
← Back to articles

Astro 7.0

read original more articles

Astro 7 is here! This release is all about speed. The .astro compiler has been rewritten in Rust. Markdown and MDX processing now runs through a new Rust-powered pipeline. The rendering engine has been replaced with a faster queue-based approach. Together with Vite 8 and its new Rolldown bundler, Astro 7 builds are 15-61% faster in our benchmarks. The fastest build is the one that doesn’t happen at all, so Astro 7 also stabilizes route caching and adds experimental CDN cache providers for Netlify, Vercel, and Cloudflare.

Astro 7 also introduces Advanced Routing, giving you a src/fetch.ts entrypoint with full control over Astro’s request pipeline. For AI-assisted development, Astro can now detect coding agents, run the dev server in the background, and output structured JSON logs when agents need machine-readable feedback.

Full release highlights include:

Upgrade now

To upgrade an existing project to Astro 7, use the automated @astrojs/upgrade CLI tool:

# Recommended: npx @astrojs/upgrade # Manual: npm install astro@latest

For new projects, simply use:

npm create astro@latest

See the upgrade guide for detailed migration steps.

Vite 8

... continue reading