Skip to content

docs(tanstackstart-react): Update setup for TanStack Start stable - #20910

Merged
chargome merged 3 commits into
masterfrom
tanstackstart-react-stable-setup
Nov 20, 2026
Merged

chargome merged 3 commits into
masterfrom
tanstackstart-react-stable-setup

Conversation

@chargome

@chargome chargome commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

DESCRIBE YOUR PR

Updates the TanStack Start React docs for TanStack Start stable and the current @sentry/tanstackstart-react SDK.

  • Remove the beta alerts and require @tanstack/react-start 1.169.0 or newer
  • Make the automatic instrument.server loading in Nitro builds the main path and drop the cp/--import production steps
  • Forward request options in src/server.ts and add the CSRF middleware back in start.ts
  • Document server function spans (available since 11.15.0) and route onError for loader errors
  • Fix the error boundary and errorComponent examples

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

Bring the TanStack Start React docs in line with @sentry/tanstackstart-react
11.14.0 and the server function span changes that are merged but not released.

- Require @tanstack/react-start 1.169.0 or newer
- Make the automatic instrument.server loading in Nitro builds the main path
- Forward the request options in the server entry
- Add the CSRF middleware back in start.ts
- Describe server function spans and route onError for loader errors
- Fix the error boundary and errorComponent examples

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chargome chargome self-assigned this Nov 19, 2026
@vercel

vercel Bot commented Nov 19, 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 Nov 20, 2026 11:12am UTC
1 Skipped Deployment
Project Deployment Actions Updated
develop-docs Ignored Ignored Preview Nov 20, 2026 11:12am UTC

Request Review

TanStack Start is stable and the SDK is no longer in beta, so remove the beta
alerts. The version requirement stays in Prerequisites.

Server function spans shipped in 11.15.0, so mark them with AvailableSince.
Drop the redundant version mention from the plugin page intro, as the linked
section already shows it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@cursor

cursor Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Getting ready to monitor this change · Rollout details

Status Service Environment
⏳ Getting ready to monitor this change

Remove the section on updating an existing setup, as existing setups keep
working. Drop the list of server function span attributes, which would drift
from the SDK, and move the 11.15.0 note into the sentence about the spans.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@nicohrubec nicohrubec left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

chargome added a commit to getsentry/sentry-javascript that referenced this pull request Nov 20, 2026
**What:** Removes the beta marks from the `@sentry/tanstackstart-react`
README and adds a changelog entry for the promotion to stable.

**Why:** TanStack Start is stable since 1.169.0, and the SDK is tested
against it in the e2e apps. The setup gaps we found for stable are
closed.

Docs PR: getsentry/sentry-docs#20910

---------

Co-authored-by: Claude Fable 5.2 <[email protected]>
@chargome
chargome merged commit 738dfdd into master Nov 20, 2026
28 checks passed
@chargome
chargome deleted the tanstackstart-react-stable-setup branch November 20, 2026 14:06
@linear-code

linear-code Bot commented Nov 23, 2026

Copy link
Copy Markdown

JSSDK-53

chargome added a commit to getsentry/sentry that referenced this pull request Nov 23, 2026
)

Update the TanStack Start React onboarding to match the new setup in the
docs (getsentry/sentry-docs#20910).

- With Nitro, the Vite plugin loads `instrument.server` at startup, so
the `--import` flag is only needed for `vite dev`
- Fix the dead docs link for setups without `--import`
- Forward `opts` in `src/server.ts`
- Add `createCsrfMiddleware` to `src/start.ts`
- Replace the outdated error boundary, `errorComponent` and tunneling
snippets with a link to the docs, like Astro and SolidStart do

Refs JSSDK-59

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>

This branch was successfully deployed

1 active deployment
Preview – sentry-docs — 27795907 Deployed Nov 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Normal Docs review has no urgent deadline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants