Skip to content

Conversation

SoonIter
Copy link
Member

Summary

chore: upgrade to [email protected]

Related Issue

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@Copilot Copilot AI review requested due to automatic review settings October 20, 2025 09:25
@netlify
Copy link

netlify bot commented Oct 20, 2025

Deploy Preview for rspress-v2 failed. Why did it fail? →

Name Link
🔨 Latest commit 5c00a4e
🔍 Latest deploy log https://app.netlify.com/projects/rspress-v2/deploys/68f603dc60d2980008987f0c

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR upgrades React and React DOM from version 19.1.1 to 19.2.0 across the entire monorepo.

Key changes:

  • Updates react and react-dom dependencies from ^19.1.1 to ^19.2.0 across all packages
  • Updates peerDependencies constraints in plugins from >=18.0.0 to ^19.2.0

Reviewed Changes

Copilot reviewed 20 out of 21 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
packages/theme-default/package.json Updates react and react-dom dependencies to 19.2.0
packages/runtime/package.json Updates react and react-dom dependencies to 19.2.0
packages/plugin-typedoc/package.json Updates react dev dependency to 19.2.0
packages/plugin-twoslash/package.json Updates react dev dependency and peer dependency to 19.2.0
packages/plugin-rss/package.json Updates react dev dependency to 19.2.0
packages/plugin-preview/package.json Updates react and react-dom dev dependencies and react peer dependency to 19.2.0
packages/plugin-playground/package.json Updates react and react-dom dev dependencies and react peer dependency to 19.2.0
packages/plugin-llms/package.json Updates react dev dependency to 19.2.0
packages/plugin-client-redirects/package.json Updates react dev dependency to 19.2.0
packages/plugin-api-docgen/package.json Updates react and react-dom dev dependencies to 19.2.0
packages/plugin-algolia/package.json Updates react dev dependency to 19.2.0
packages/core/package.json Updates react and react-dom dependencies to 19.2.0
e2e/fixtures/search-hooks/package.json Updates react dependency to 19.2.0
e2e/fixtures/search-algolia/package.json Updates react dependency to 19.2.0
e2e/fixtures/react-19/package.json Updates react and react-dom dependencies to 19.2.0
e2e/fixtures/plugin-preview/package.json Updates react and react-dom dependencies to 19.2.0
e2e/fixtures/plugin-preview-custom-entry/package.json Updates react and react-dom dependencies to 19.2.0
e2e/fixtures/plugin-playground/package.json Updates react and react-dom dependencies to 19.2.0
e2e/fixtures/dynamic-toc/package.json Updates react dependency to 19.2.0
e2e/fixtures/custom-plugin/package.json Updates react and react-dom dependencies to 19.2.0
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

"peerDependencies": {
"@rspress/core": "workspace:^2.0.0-beta.34",
"react": ">=18.0.0"
"react": "^19.2.0"
Copy link

Copilot AI Oct 20, 2025

Choose a reason for hiding this comment

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

The peer dependency constraint changed from >=18.0.0 to ^19.2.0, which is a breaking change that forces consumers to use React 19.2.x specifically. This prevents the plugin from working with React 18.x or future React 19.x versions beyond 19.2.x. Consider keeping a broader range like >=19.0.0 or ^19.0.0 unless there's a specific requirement for 19.2.0.

Suggested change
"react": "^19.2.0"
"react": "^19.0.0"

Copilot uses AI. Check for mistakes.

"peerDependencies": {
"@rspress/core": "workspace:^2.0.0-beta.34",
"react": ">=18.0.0",
"react": "^19.2.0",
Copy link

Copilot AI Oct 20, 2025

Choose a reason for hiding this comment

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

The peer dependency constraint changed from >=18.0.0 to ^19.2.0, which is a breaking change that forces consumers to use React 19.2.x specifically. This prevents the plugin from working with React 18.x or future React 19.x versions beyond 19.2.x. Consider keeping a broader range like >=19.0.0 or ^19.0.0 unless there's a specific requirement for 19.2.0.

Suggested change
"react": "^19.2.0",
"react": "^19.0.0",

Copilot uses AI. Check for mistakes.

"peerDependencies": {
"@rspress/core": "workspace:^2.0.0-beta.34",
"react": ">=18.0.0",
"react": "^19.2.0",
Copy link

Copilot AI Oct 20, 2025

Choose a reason for hiding this comment

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

The peer dependency constraint changed from >=18.0.0 to ^19.2.0, which is a breaking change that forces consumers to use React 19.2.x specifically. This prevents the plugin from working with React 18.x or future React 19.x versions beyond 19.2.x. Consider keeping a broader range like >=19.0.0 or ^19.0.0 unless there's a specific requirement for 19.2.0.

Suggested change
"react": "^19.2.0",
"react": "^19.0.0",

Copilot uses AI. Check for mistakes.

@SoonIter SoonIter changed the title chore: upgrade to [email protected] chore(deps): upgrade to [email protected] Oct 20, 2025
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