Astro 7: Rust Rewrite, Vite 8, Builds Up to 61% Faster
Astro 7 rebuilds its core in Rust, moves to Vite 8, and adds queued rendering — cutting real-world build times by 15 to 61 percent.
Astro 7 landed on June 22, 2026, and the headline is performance. The release rewrites core parts of the build in Rust, moves to Vite 8, and reworks how pages render. The result: build times that drop by 15 to 61 percent across real projects.
A bundler rewritten in Rust
At the centre of the release is Vite 8, which ships Rolldown — a Rust-based bundler that replaces the older esbuild and Rollup combination. Bundling is one of the slowest steps in any build, so moving it to a single Rust engine removes a long-standing bottleneck.
The component compiler goes native
The compiler that turns component files into JavaScript was rewritten from the ground up in Rust. On its own it makes compilation around six percent faster. It also sets the foundation for further speed work, without changing how you write components.
Faster Markdown and content sites
Content-heavy sites get the biggest win. The Markdown and MDX pipeline now runs on a new Rust-powered processor called Sätteri, first introduced in Astro 6.4 , replacing the previous JavaScript chain. Sites with thousands of pages see some of the largest reductions in build time.
Rendering, now queued
Page rendering was rebuilt around a queue instead of deep recursion. The new engine renders roughly 2.4 times faster. It also avoids the stack limits that recursion can hit on large pages, so output stays predictable under load.
Full control over the request pipeline
A new entry point lets you take full control of how requests are handled before they reach a route. It is compatible with Hono-style middleware, building on the routing model from Astro 6.3 . You can handle authentication, redirects, and custom headers in a familiar pattern, right at the edge of your app.
A stable cache, anywhere
Route caching is now stable, with platform-agnostic directives that work the same way regardless of where the site is deployed. Experimental cache providers for major hosting platforms let pages be cached at the CDN without provider-specific code.
What breaks
The upgrade is not entirely free. Astro 7 no longer silently corrects invalid markup: unclosed tags, malformed attributes, and similar mistakes now raise errors instead of being patched. Whitespace between inline elements also collapses under stricter rules, so a small number of layouts may need adjustment.
Upgrading
Existing projects can move over with a single command, npx @astrojs/upgrade, which updates the framework and its official packages together. The payoff is usually immediate: the same code, built and served noticeably faster. It is the stable form of what the Astro 7 alpha first previewed .