feat(react)!: Drop support for React 16 - #22665
Merged
Merged
Conversation
Contributor
size-limit report 📦
|
Member
Author
|
buglitzer run |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 99ead0d. Configure here.
chargome
marked this pull request as ready for review
July 27, 2026 09:34
chargome
requested review from
andreiborza,
nicohrubec and
s1gr1d
and removed request for
a team and
nicohrubec
July 27, 2026 09:34
andreiborza
approved these changes
Jul 27, 2026
| "peerDependencies": { | ||
| "gatsby": "^3.0.0 || ^4.0.0 || ^5.0.0", | ||
| "react": "16.x || 17.x || 18.x" | ||
| "react": "17.x || 18.x" |
Member
Author
There was a problem hiding this comment.
fair, I'll add it in a follow up
chargome
added a commit
that referenced
this pull request
Jul 27, 2026
Gatsby supports React 19 as of 5.16.0, but `@sentry/gatsby` still declared `react: 17.x || 18.x`. The package just delegates to `@sentry/react`, which already declares `19.x`, so no source changes are needed. came up in review of #22665. Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
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.
Removes React 16 support from
@sentry/reactand@sentry/gatsbyfor v11. The minimum supported version is now React 17, as already documented in the v11 migration guide.Raises the
reactpeer dependency range and drops two code paths that only existed for React 16.No e2e app targeted React 16 —
react-17was already the lowest and stays as the app pinning the new minimum.closes #21461