← All stories
● Covered by 1 source · 1 reportMedium impact1 neutral

Astro 7 Released with Rust Compiler, Markdown Pipeline, and Vite 8 for Faster Builds

🔄 Updated 1d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Astro 7 features a Rust-rewritten .astro compiler and a new Rust Markdown pipeline.
  • Build times improved by 15% to 61% due to native tooling and Vite 8 integration.
  • The new compiler is stricter, flagging unclosed tags as errors.
  • Advanced routing via `src/fetch.ts` and stabilized route caching were added.

Significant Performance Enhancements

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%.

Stricter Compilation and New Markdown Processing

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.

Additional Features and Community Reception

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 and Impact on Build Times

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 →

The daily brief

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.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~7 min · 6 stories · Aug 15

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Primary sources

GitHub withastro/roadmap

Reporting from

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.