Skip to content

release: @rsbuild/plugin-react v2.1.0#7945

Merged
chenjiahan merged 2 commits into
mainfrom
chenjiahan/release-plugin-react-2.1.0
Jun 18, 2026
Merged

release: @rsbuild/plugin-react v2.1.0#7945
chenjiahan merged 2 commits into
mainfrom
chenjiahan/release-plugin-react-2.1.0

Conversation

@chenjiahan

@chenjiahan chenjiahan commented Jun 18, 2026

Copy link
Copy Markdown
Member

@coderabbitai

coderabbitai Bot commented Jun 18, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

The @rsbuild/plugin-react package version is incremented from 2.0.1 to 2.1.0 in packages/plugin-react/package.json. The devDependencies entry for @rsbuild/plugin-react in both packages/create-rsbuild/template-react-js/package.json and packages/create-rsbuild/template-react-ts/package.json is updated from ^2.0.1 to ^2.1.0 to match the new release.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'release: @rsbuild/plugin-react v2.1.0' directly summarizes the main change: bumping the package version and releasing it.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed The pull request description clearly states the release of @rsbuild/plugin-react version 2.1.0 with a new reactCompiler option, directly matching the changeset which updates package versions and templates.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@chenjiahan chenjiahan marked this pull request as ready for review June 18, 2026 14:43
@chenjiahan chenjiahan merged commit a3c0e8f into main Jun 18, 2026
7 checks passed
@chenjiahan chenjiahan deleted the chenjiahan/release-plugin-react-2.1.0 branch June 18, 2026 14:46

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f2924c3f5a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

{
"name": "@rsbuild/plugin-react",
"version": "2.0.1",
"version": "2.1.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Require core 2.1 for the 2.1 release

When consumers keep @rsbuild/core on a 2.0.x release (the peer range still permits it, and the React templates still allow ^2.0.14), installing this newly published @rsbuild/plugin-react@2.1.0 makes the generated declarations reference Rspack.SwcLoaderTransformConfig['reactCompiler']; @rsbuild/core 2.0.x uses Rspack types where that key does not exist, so TypeScript with skipLibCheck: false fails before user code is checked even if reactCompiler is never used. Please either require/bump core to >=2.1.0 for this release or make the exported type compatible with core 2.0.x.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant