From 9a0b51c0e30a0d782ae1952804bc0e569587ae2f Mon Sep 17 00:00:00 2001 From: Charly Gomez Date: Fri, 11 Sep 2026 13:37:50 +0200 Subject: [PATCH 1/2] docs(react-router): Raise framework-mode minimum version to 7.15 SDK v11 raises the React Router framework-mode minimum to 7.15. Change the stated support from v7+ to v7.15+, add a prerequisites include that lists the minimum version, and drop the feature-scoped 7.15 notes on the instrumentation API now that it's the baseline. The docs only describe the instrumentation API going forward; the removed server wrappers are covered by the v10-to-v11 migration guide. Refs SDK-1466 Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01833WEY4kqAQNfbtu9Z8JLr --- docs/platforms/javascript/guides/react-router/index.mdx | 2 +- .../javascript/guides/react-router/manual-setup.mdx | 8 ++++---- .../javascript.react-router.mdx | 7 +++++++ 3 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 platform-includes/getting-started-prerequisites/javascript.react-router.mdx diff --git a/docs/platforms/javascript/guides/react-router/index.mdx b/docs/platforms/javascript/guides/react-router/index.mdx index 6ddfed33718bb..ac37048d33314 100644 --- a/docs/platforms/javascript/guides/react-router/index.mdx +++ b/docs/platforms/javascript/guides/react-router/index.mdx @@ -1,6 +1,6 @@ --- title: React Router Framework -description: Learn how to set up and configure Sentry in your React Router application (v7+) using the installation wizard, capture your first errors, and view them in Sentry. +description: Learn how to set up and configure Sentry in your React Router application (v7.15+) using the installation wizard, capture your first errors, and view them in Sentry. sdk: sentry.javascript.react-router categories: - javascript diff --git a/docs/platforms/javascript/guides/react-router/manual-setup.mdx b/docs/platforms/javascript/guides/react-router/manual-setup.mdx index 1d962a45d25b2..8303295253deb 100644 --- a/docs/platforms/javascript/guides/react-router/manual-setup.mdx +++ b/docs/platforms/javascript/guides/react-router/manual-setup.mdx @@ -1,7 +1,7 @@ --- title: "Manual Setup" sidebar_order: 1 -description: "Learn how to manually set up Sentry in your React Router app (v7+) and capture your first errors." +description: "Learn how to manually set up Sentry in your React Router app (v7.15+) and capture your first errors." --- @@ -190,7 +190,7 @@ Sentry's OpenTelemetry-based auto-instrumentation (loaded through `instrument.se - **Node 20:** Version \<20.19 - **Node 22:** Version \<22.12 -This restriction **doesn't** affect tracing for loaders, actions, middleware, and request handlers. Those are instrumented through React Router's [instrumentation API](https://reactrouter.com/how-to/instrumentation) (the `instrumentations` export shown below, React Router 7.15+), which works on all Node versions. +This restriction **doesn't** affect tracing for loaders, actions, middleware, and request handlers. Those are instrumented through React Router's [instrumentation API](https://reactrouter.com/how-to/instrumentation) (the `instrumentations` export shown below), which works on all Node versions. On unsupported Node versions, you'll only lose auto-instrumentation for lower-level operations such as outgoing HTTP requests and database queries. @@ -244,7 +244,7 @@ Sentry.init({ Next, replace the default `handleRequest` and `handleError` functions in your `entry.server.tsx` file with Sentry's wrapped versions, and export `instrumentations` to enable automatic tracing. -Exporting `instrumentations` uses React Router's [instrumentation API](https://reactrouter.com/how-to/instrumentation) (React Router 7.15+) to automatically create spans for all loaders, actions, middleware, and request handlers — no need to wrap them individually. +Exporting `instrumentations` uses React Router's [instrumentation API](https://reactrouter.com/how-to/instrumentation) to automatically create spans for all loaders, actions, middleware, and request handlers — no need to wrap them individually. @@ -269,7 +269,7 @@ Exporting `instrumentations` uses React Router's [instrumentation API](https://r +}); +// Automatically instruments all server loaders, actions, middleware, -+// and request handlers. Requires React Router 7.15+. ++// and request handlers. +export const instrumentations = [Sentry.createSentryServerInstrumentation()]; // ... rest of your server entry diff --git a/platform-includes/getting-started-prerequisites/javascript.react-router.mdx b/platform-includes/getting-started-prerequisites/javascript.react-router.mdx new file mode 100644 index 0000000000000..5de5e376f5010 --- /dev/null +++ b/platform-includes/getting-started-prerequisites/javascript.react-router.mdx @@ -0,0 +1,7 @@ +## Prerequisites + +You need: + +- A Sentry [account](https://sentry.io/signup/) and [project](/product/projects/) +- Your application up and running +- React Router version `7.15.0` or above (framework mode) From cb59921e4f1ebb9f96e47bb45b56d632b291abca Mon Sep 17 00:00:00 2001 From: Charly Gomez Date: Fri, 11 Sep 2026 14:11:52 +0200 Subject: [PATCH 2/2] docs(react-router): Remove beta alerts from framework guides The React Router Framework SDK leaves beta with v11. Drop the beta warning alerts from the getting started and manual setup pages. Refs SDK-1466 Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01833WEY4kqAQNfbtu9Z8JLr --- docs/platforms/javascript/guides/react-router/index.mdx | 7 ------- .../javascript/guides/react-router/manual-setup.mdx | 7 ------- 2 files changed, 14 deletions(-) diff --git a/docs/platforms/javascript/guides/react-router/index.mdx b/docs/platforms/javascript/guides/react-router/index.mdx index ac37048d33314..04ae1815318bf 100644 --- a/docs/platforms/javascript/guides/react-router/index.mdx +++ b/docs/platforms/javascript/guides/react-router/index.mdx @@ -14,13 +14,6 @@ categories: platformName="React Router" /> - - This SDK is currently in **beta**. Beta features are still in progress and may - have bugs. Please reach out on - [GitHub](https://github.com/getsentry/sentry-javascript/issues/new/choose) if - you have any feedback or concerns. - - If you're using React Router in data or declarative mode, follow the instructions in our [React guide for v7](/platforms/javascript/guides/react/features/react-router/v7) or [v8](/platforms/javascript/guides/react/features/react-router/v8). diff --git a/docs/platforms/javascript/guides/react-router/manual-setup.mdx b/docs/platforms/javascript/guides/react-router/manual-setup.mdx index 8303295253deb..962d893c94ea3 100644 --- a/docs/platforms/javascript/guides/react-router/manual-setup.mdx +++ b/docs/platforms/javascript/guides/react-router/manual-setup.mdx @@ -4,13 +4,6 @@ sidebar_order: 1 description: "Learn how to manually set up Sentry in your React Router app (v7.15+) and capture your first errors." --- - - This SDK is currently in **beta**. Beta features are still in progress and may - have bugs. Please reach out on - [GitHub](https://github.com/getsentry/sentry-javascript/issues/new/choose) if - you have any feedback or concerns. - -