Conversation
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
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
Member
Author
|
bugbot run |
Contributor
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 cb59921. Configure here.
…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
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.
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.
getting-started-prerequisitesinclude for React Router that lists the7.15.0minimum (framework mode)instrumentationsexport, since 7.15 is now the baselinesentryReactRouter,SentryReactRouterBuildOptions, andsentryOnBuildEndfrom@sentry/react-router/viteon the manual setup and Hydrogen pagesentry.server.tsxsnippet to import../instrument.server(the file lives in the project root, the entry inapp/)+diff marker in thereact-router.config.tssnippet so it no longer renders as a unary plusThe removed
wrapServerLoader/wrapServerActionwrappers are already covered by the v10-to-v11 migration guide and aren't referenced anywhere else in the docs.Supersedes #19314.
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-DDwith the due date. You can update this information later by editing the PR description.SLA
Thanks in advance for your help!
PRE-MERGE CHECKLIST
Make sure you've checked the following before merging your changes:
🤖 Generated with Claude Code
https://claude.ai/code/session_01833WEY4kqAQNfbtu9Z8JLr