Skip to content

docs(react-router): Update framework guides for v11 - #19366

Draft
chargome wants to merge 3 commits into
masterfrom
pick-up-httpslinear.appgetsent
Draft

chargome wants to merge 3 commits into
masterfrom
pick-up-httpslinear.appgetsent

Conversation

@chargome

@chargome chargome commented Sep 11, 2026

Copy link
Copy Markdown
Member

DESCRIBE YOUR PR

Updates the React Router Framework docs for SDK v11: state the new 7.15 framework-mode minimum, drop the beta warnings, only describe the instrumentation API for server-side tracing, and fix the snippets that no longer build against v11.

  • Change the stated support in the page descriptions from "v7+" to "v7.15+"
  • Add a getting-started-prerequisites include for React Router that lists the 7.15.0 minimum (framework mode)
  • Drop the feature-scoped "React Router 7.15+" notes around the instrumentations export, since 7.15 is now the baseline
  • Remove the "This SDK is currently in beta" alerts from the getting started and manual setup pages
  • Import sentryReactRouter, SentryReactRouterBuildOptions, and sentryOnBuildEnd from @sentry/react-router/vite on the manual setup and Hydrogen pages
  • Fix the entry.server.tsx snippet to import ../instrument.server (the file lives in the project root, the entry in app/)
  • Move the misplaced + diff marker in the react-router.config.ts snippet so it no longer renders as a unary plus

The removed wrapServerLoader / wrapServerAction wrappers are already covered by the v10-to-v11 migration guide and aren't referenced anywhere else in the docs.

Supersedes #19314.

⚠️ Do not merge until v11 is released as stable.

Fixes https://linear.app/getsentry/issue/SDK-1466/update-react-router-minimum-version-to-715-in-docs
Fixes https://linear.app/getsentry/issue/SDK-1486/update-react-router-vite-plugin-imports-for-v11-in-docs
Fixes https://linear.app/getsentry/issue/SDK-1516/react-router-getting-started-manual-setup

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.
Select exactly one option. For deadlines, replace YYYY-MM-DD with the due date. You can update this information later by editing the PR description.

  • Urgent deadline (GA date, etc.): YYYY-MM-DD
  • Other deadline: YYYY-MM-DD
  • No deadline: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've supplied a deadline.

Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

🤖 Generated with Claude Code

https://claude.ai/code/session_01833WEY4kqAQNfbtu9Z8JLr

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01833WEY4kqAQNfbtu9Z8JLr
@vercel

vercel Bot commented Sep 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sentry-docs Ready Ready Preview Sep 14, 2026 11:31am UTC
1 Skipped Deployment
Project Deployment Actions Updated
develop-docs Ignored Ignored Preview Sep 14, 2026 11:31am UTC

Request Review

@linear-code

linear-code Bot commented Sep 11, 2026

Copy link
Copy Markdown

SDK-1466

SDK-1516

SDK-1486

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01833WEY4kqAQNfbtu9Z8JLr
@github-actions github-actions Bot added Priority: Needs Triage The PR description is missing valid priority information and removed Priority: Normal Docs review has no urgent deadline labels Sep 14, 2026
@chargome

Copy link
Copy Markdown
Member Author

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ 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 cb59921. Configure here.

@chargome
chargome requested a review from JPeer264 September 14, 2026 11:18
…h for v11

In v11 the Vite plugin exports (sentryReactRouter, sentryOnBuildEnd,
SentryReactRouterBuildOptions) moved to the @sentry/react-router/vite
subpath. Update the manual setup and Hydrogen guides to import from it.

The manual setup page creates instrument.server.mjs in the project root
but the entry.server.tsx snippet imported it from ./, which fails to
resolve from app/. Import it from ../ instead. Also move the diff marker
in the react-router.config.ts snippet to the start of the line so it no
longer renders as a unary plus.

Refs SDK-1486
Refs SDK-1516
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01833WEY4kqAQNfbtu9Z8JLr
@chargome chargome changed the title docs(react-router): Raise framework-mode minimum version to 7.15 docs(react-router): Update framework guides for v11 Sep 14, 2026
@github-actions github-actions Bot added Priority: Normal Docs review has no urgent deadline and removed Priority: Needs Triage The PR description is missing valid priority information labels Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

js-v11-docs Priority: Normal Docs review has no urgent deadline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant