Skip to content

docs(react-router): Document request-scoped CSP nonces - #19701

Merged
andreiborza merged 1 commit into
masterfrom
docs/react-router-csp-nonce
Sep 30, 2026
Merged

andreiborza merged 1 commit into
masterfrom
docs/react-router-csp-nonce

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

DESCRIBE YOUR PR

Document the getNonce option added in getsentry/sentry-javascript#24826. Show how to read a per-request nonce from React Router context, explain forwarding to both rendering APIs, and clarify that the app must generate the nonce and use the same value in its CSP response header.

Keep this draft until the SDK feature is released. The latest release, 11.1.0, does not include getNonce; add the confirmed minimum SDK version before merging.

IS YOUR CHANGE URGENT?

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

via Andrei Borza.

--

View Junior Session [Sentry]

Co-Authored-By: Andrei Borza <andrei.borza@sentry.io>
@vercel

vercel Bot commented Sep 29, 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 29, 2026 1:57pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
develop-docs Ignored Ignored Sep 29, 2026 1:57pm UTC

Request Review

@github-actions github-actions Bot added the Priority: Normal Docs review has no urgent deadline label Sep 29, 2026
@andreiborza
andreiborza marked this pull request as ready for review September 30, 2026 06:44
@cursor

cursor Bot commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

Rollouts skipped this pull request: Documentation-only change: a single MDX file under docs/platforms with no runtime or deployed behavior impact.

Mention @change-monitor in a comment to monitor it anyway.

@andreiborza
andreiborza merged commit 42dffd9 into master Sep 30, 2026
25 checks passed
@andreiborza
andreiborza deleted the docs/react-router-csp-nonce branch September 30, 2026 07:27

This branch was successfully deployed

1 active deployment
Preview – sentry-docs — 8fd6e06f Deployed Sep 29, 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