astro@7.0.0
Skip this version — install 7.4.13 instead.
9 known advisories (worst: critical), fixed in 7.4.7.
Why this verdict
- 9 known advisories (worst: critical), fixed in 7.4.7.Evidence
- New major version after 6.4.8: expect breaking changes.Evidence
- Release notes list 4 breaking changes: The Babel integration option has been removed, requiring custom Babel transforms to be configured via @rolldown/plugin-…Evidence
Confidence 100% · algorithm v1 · computed 2026-11-22. How verdicts work
Supply chain and security
- Malware reports
- None known (OSV)
- Known advisories
- 9 known
- License
- MIT
- Install scripts
- None
- Build provenance
- Signed provenance
- Weekly downloads
- 20,080
- GHSA-26w7-cxv4-gfx2Astro: Remote code execution through AVIF image optimization
- GHSA-376h-93r7-7g6fAstro: Authorization bypass from missing path-segment boundary check when stripping the configured base
- GHSA-4g3v-8h47-v7g6Astro: Reflected XSS via unescaped View Transition animation properties
- GHSA-7pw4-f3q4-r2p2Astro: Cross-site scripting via unescaped transition:* directive values on hydrated islands
- GHSA-8mv7-9c27-98vcAstro: composable `astro/hono` pipeline bypasses `security.checkOrigin` when `middleware()` is absent or misordered
- GHSA-98hj-9722-w3j8Astro: Reflected/Stored XSS via unescaped <script>/<style> tag content in JSX/MDX rendering
- GHSA-f48w-9m4c-m7f5Astro: XSS via unescaped spread attribute names in renderHTMLElement (incomplete fix for CVE-2026-54298)
- GHSA-mh32-jxcr-mh9fAstro: XSS via attribute injection in dynamic tag names
- GHSA-r3h5-4585-7x3wAstro: Image endpoint in @astrojs/node can read files from a case-variant sibling of the output directory on case-sensitive filesystems
Compatibility
New major version after 6.4.8: expect breaking changes.
Breaking changes in the release notes
- The Babel integration option has been removed, requiring custom Babel transforms to be configured via @rolldown/plugin-babel in vite.plugins.“Removes the babel integration option; projects with custom Babel transforms must configure @rolldown/plugin babel under vite.plugins instead.”
- The old Babel callback is no longer supported.“The old babel callback is not supported; use the plugin's overrides and preset hooks for conditional transforms.”
- Babel plugin React compiler cannot be enabled on the same components as the Oxc compiler.“Do not enable babel plugin react compiler on the same components as the Oxc compiler.”
- The target now defaults to the installed React major version, and React 17/18 projects must also install the React compiler runtime.“The target defaults to the installed React major version; React 17 and 18 projects also need react compiler runtime installed.”
AI-extracted from the official release notes and checked against the quoted text. Read the source
7 issues mention this version in withastro/astro within 14 days of release. See them on GitHub
Check the official release notes below for behaviour changes before merging.
Release notes
Read the Astro changelog on Changes.Watch or the package page on npm for this version’s features and fixes.
New in this release
- The React integration now uses @vitejs/plugin-react v6 with Oxc for JSX and Fast Refresh.“Migrates the React integration to @vitejs/plugin react v6, using Oxc for JSX and Fast Refresh.”
- An opt‑in compiler option for the Oxc‑based React Compiler has been added.“Adds an opt in compiler option for the Oxc based React Compiler.”
- The compiler memoizes client components and hooks.“The compiler memoizes client components and hooks.”
- You can configure the compiler via an options object, e.g., compilationMode: 'annotation'.“Pass an options object to configure the compiler, for example compiler: { compilationMode: 'annotation' }.”
AI-extracted from the official release notes and checked against the quoted text. Read the source
Deprecations and deadlines
The maintainer has not deprecated this version on npm.
Deprecations announced in this release
- The old Babel callback is deprecated and not supported.“The old babel callback is not supported; use the plugin's overrides and preset hooks for conditional transforms.”
AI-extracted from the official release notes and checked against the quoted text. Read the source
Did upgrading to 7.0.0 work for you?
Results appear once three developers have voted.