Change8

Migrating to Astro astro@7.0.0-beta.6

Version astro@7.0.0-beta.6 introduces 1 breaking change. This guide details how to update your code.

Released: 6/19/2026

1
Breaking Changes
2
Migration Steps
7
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

experimental.cacheexperimental.routeRulescacherouteRulesmemoryCacheAstro.cachecontext.cache

Breaking Changes

Issue #1

The experimental configuration flags `experimental.cache` and `experimental.routeRules` have been removed. They are replaced by top-level configuration options `cache` and `routeRules`.

Migration Steps

  1. 1
    Move configuration from `experimental.cache` to the top-level `cache` option in `astro.config.mjs`.
  2. 2
    Move configuration from `experimental.routeRules` to the top-level `routeRules` option in `astro.config.mjs`.

Release Summary

Route caching is now stable, moving configuration options from `experimental` to top-level fields (`cache`, `routeRules`). This release also fixes build warnings related to Vite and Rolldown.

Need More Details?

View the full release notes and all changes for Astro astro@7.0.0-beta.6.

View Full Changelog