Skip to content

Commit 9254547

Browse files
chargomeclaude
andcommitted
fix(gatsby): Add React 19 to peer dependency range
Gatsby supports React 19 as of 5.16.0, but `@sentry/gatsby` still declared `react: 17.x || 18.x`, causing a spurious peer warning on install. The package just delegates to `@sentry/react`, which already declares `19.x`. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 5a0f486 commit 9254547

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/gatsby/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
},
4545
"peerDependencies": {
4646
"gatsby": "^3.0.0 || ^4.0.0 || ^5.0.0",
47-
"react": "17.x || 18.x"
47+
"react": "17.x || 18.x || 19.x"
4848
},
4949
"devDependencies": {
5050
"@testing-library/react": "^15.0.5",

0 commit comments

Comments
 (0)