Astro 7 focuses on build performance through a shift to native tooling. The .astro compiler has been rewritten in Rust, replacing the previous Go implementation. Markdown and MDX processing now utilize a new Rust pipeline, and the framework integrates Vite 8 with its Rolldown bundler. These updates have led to reported build speed increases of 15% to 61%.
The new Rust compiler, built on oxc for parsing and Lightning CSS for scoping, enforces stricter HTML compilation rules. Unclosed tags now produce errors instead of being silently repaired, and invalid nesting is passed through as written. The new Markdown pipeline, Sätteri, is also Rust-based and includes built-in support for GitHub Flavored Markdown, smart punctuation, heading IDs, math, and wikilinks. Projects dependent on remark or rehype can continue using the older pipeline.
Beyond performance, Astro 7 introduces advanced routing capabilities via a `src/fetch.ts` entrypoint compatible with Hono. It also stabilizes route caching with experimental CDN providers for Netlify, Vercel, and Cloudflare, and adds `astro dev --background` with JSON logging for AI coding agents. Community reaction has been mixed, with some users appreciating the reduced dependency count and others expressing concerns about the stricter HTML compilation and the shift in Markdown processing for legacy projects.
Migration to Astro 7 is managed using `npx @astrojs/upgrade`, with a detailed upgrade guide available. While performance improvements are primarily observed in larger sites with thousands of pages or extensive MDX usage, some users have reported slightly slower builds. The Astro team is also working on incremental builds to further enhance performance.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
Astro, a content-focused web framework, released version 7, which includes a rewrite of its compiler in Rust, a new Rust-based Markdown pipeline, and an upgrade to Vite 8. These changes result in build performance improvements ranging from 15% to 61% for larger sites. The update also introduces stricter HTML compilation and advanced routing features.