From 9254547b8c08f2032932dca92bf7aaeecb7acbcb Mon Sep 17 00:00:00 2001 From: Charly Gomez Date: Mon, 27 Jul 2026 12:55:56 +0200 Subject: [PATCH] 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 --- packages/gatsby/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 580faf27bf07..8d22b05df8a9 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -44,7 +44,7 @@ }, "peerDependencies": { "gatsby": "^3.0.0 || ^4.0.0 || ^5.0.0", - "react": "17.x || 18.x" + "react": "17.x || 18.x || 19.x" }, "devDependencies": { "@testing-library/react": "^15.0.5",