Skip to content

fix: drop old React peer support#5

Merged
exKAZUu merged 7 commits intomainfrom
drop-old-runtime-support
Apr 18, 2026
Merged

fix: drop old React peer support#5
exKAZUu merged 7 commits intomainfrom
drop-old-runtime-support

Conversation

@exKAZUu
Copy link
Copy Markdown
Member

@exKAZUu exKAZUu commented Apr 18, 2026

Summary

  • restrict React and React DOM peer dependencies to React 19 via ^19.0.0
  • document the supported baseline as React 19.x, Node.js 24+, and Next.js 16
  • refresh Yarn lock metadata and package metadata formatting

Why

  • the package only needs to support the current React major, which simplifies the support contract
  • using ^19.0.0 keeps support limited to React 19 while avoiding unnecessary peer warnings for users on earlier React 19 releases

Breaking Change

  • React and React DOM 16, 17, and 18 are no longer declared as supported peer dependency versions

Testing

  • yarn check-for-ai
  • PR CI passed

exKAZUu and others added 2 commits April 18, 2026 19:28
Co-authored-by: WillBooster (Codex CLI) <agent@willbooster.com>
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the package's environment requirements and dependencies, including setting the minimum Node.js version to 24 and updating React support to version 19. It also includes a reorganization of the package.json file and updates to the documentation. A review comment suggests using a more permissive version range for React peer dependencies (^19.0.0 instead of ^19.2.5) to improve compatibility and prevent installation warnings for consumers.

Comment thread package.json
Co-authored-by: WillBooster (Codex CLI) <agent@willbooster.com>
@exKAZUu
Copy link
Copy Markdown
Member Author

exKAZUu commented Apr 18, 2026

/gemini review

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the package to support React 19 and Node.js 24, restricting peer dependencies to React 19 and adding a Prettier configuration. Feedback notes that the restriction of React versions is a breaking change requiring a major version bump via conventional commits, and suggests clarifying the supported React range in the README.

Comment thread package.json
Comment thread README.md Outdated
exKAZUu and others added 3 commits April 18, 2026 19:43
BREAKING CHANGE: React and React DOM peer dependencies now require React 19.

Co-authored-by: WillBooster (Codex CLI) <agent@willbooster.com>
Co-authored-by: WillBooster (Codex CLI) <agent@willbooster.com>
@exKAZUu
Copy link
Copy Markdown
Member Author

exKAZUu commented Apr 18, 2026

/gemini review

@exKAZUu exKAZUu changed the title fix: drop old React peer support fix!: drop old React peer support Apr 18, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the project's peer dependencies to require React 19.0.0, effectively dropping support for React 16, 17, and 18. The README has also been updated to reflect these changes along with new requirements for Node.js and Next.js. Feedback was provided regarding the need to explicitly mark this as a breaking change in the commit message or PR title to ensure that semantic-release triggers a major version update rather than a patch release.

Comment thread package.json
@exKAZUu exKAZUu changed the title fix!: drop old React peer support fix: drop old React peer support Apr 18, 2026
@exKAZUu exKAZUu merged commit 2014b3e into main Apr 18, 2026
8 checks passed
@exKAZUu exKAZUu deleted the drop-old-runtime-support branch April 18, 2026 10:58
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