Repository navigation
chore(deps): bump @astrojs/react to ^7.0.0 - #269
Closed
spencer-osbrjp wants to merge 1 commit into
Closed
spencer-osbrjp wants to merge 1 commit into
spencer-osbrjp wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017rn9NQPRgXaaTPHcjbRv9y
Collaborator
Author
|
Closing without merging: per task instructions, Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
From
^6.0.6to^7.0.0— bump type: MAJOR.@vitejs/plugin-reactv6, using Oxc for JSX transforms and Fast Refresh, and adds an opt-in Oxc-based React Compiler (compileroption, needsoxc-transform-react). Source: CHANGELOG.md and the GitHub releases for@astrojs/react@7.0.0.Breaking changes
babelintegration option removed. Projects passingreact({ babel: ... })must migrate: install@rolldown/plugin-babeland@babel/core, then move Babel plugins/presets into ababel()call undervite.pluginsinstead of the integration option..jsx,.ts,.tsxbut does not loadbabel.config.js/.babelrc— options must be passed directly tobabel().babelcallback form is unsupported; use the plugin's override/preset hooks for conditional transforms instead.compiler: trueoption — but "do not enablebabel-plugin-react-compileron the same components as the Oxc compiler."oxc-transform-react: ^0.145.0(only required if you opt intocompiler: true).@vitejs/plugin-react^5.2.0 → ^6.1.1,vite^8.0.13 → ^8.3.0 (transitive, not directly pinned by this repo).Not changed / no action needed:
react/react-dompeer range stays^17.0.2 || ^18.0.0 || ^19.0.0; Node engine requirement stays>=22.12.0in 7.0.0 itself (note: 7.1.0, which^7.0.0also permits installing, raises the Node minimum to22.22.0— worth knowing even though it's outside the pinned version this PR sets).Repo impact
config/templates/base/astro/astro.config.mjs.tmplcalls the integration as plainreact()with no options — it does not use the removedbabeloption, so no template edit is required for this bump.config/templates/base/vite/vite.config.ts.tmpluses@vitejs/plugin-reactdirectly (thevite-reactbase) — unrelated to@astrojs/react, not affected.pkg/add_test.goreferences@astrojs/reactonly as a detection-fixture version string ("1"); unaffected by the real version bump..tmplfiles were edited in this PR.Build/test
go build -o /dev/null .: pass.go test ./...: pass except a pre-existing, unrelated failure ininternal/tui(TestSinglePaneUnder100Columns— terminal-width pane-title rendering). Independently confirmed present onmainHEADda18a3fwith no registry.json changes, so it is not caused by this bump.Soak window: 14 days
🤖 Generated with Claude Code
https://claude.ai/code/session_017rn9NQPRgXaaTPHcjbRv9y
Generated by Claude Code