@astrojs/react@5.0.0
Breaking Changes📦 astroView on GitHub →
⚠ 2 breaking✨ 1 features🐛 1 fixes🔧 1 symbols
Summary
Astro v6.0 has been released, upgrading the core engine to Vite v7.0 and increasing the minimum required Node.js version to 22.12.0, alongside dependency updates.
⚠️ Breaking Changes
- Minimum Node.js version increased to 22.12.0. Users must upgrade Node.js to continue using Astro.
- Astro v6.0 upgrades to Vite v7.0 for the development server and production bundler. This may require configuration updates.
Migration Steps
- Upgrade Node.js to version 22.12.0 or higher. See upgrade guidance: https://docs.astro.build/en/guides/upgrade-to/v6/#node-22
- Review configuration due to upgrade to Vite v7.0. See upgrade guidance: https://docs.astro.build/en/guides/upgrade-to/v6/#vite-70
✨ New Features
- Improved identification of React components when setting `include` and/or `exclude` options in projects using multiple JSX frameworks.
🐛 Bug Fixes
- Reverted Node version requirement change temporarily to allow running on Stackblitz until it supports v22.