Skip to content

docs(native): Rewrite Scopes page to match the SDK's scope model - #18947

Open
limbonaut wants to merge 10 commits into
masterfrom
limbonaut/docs/native-scopes-page
Open

docs(native): Rewrite Scopes page to match the SDK's scope model#18947
limbonaut wants to merge 10 commits into
masterfrom
limbonaut/docs/native-scopes-page

Conversation

@limbonaut

@limbonaut limbonaut commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

DESCRIBE YOUR PR

Rewrites the Native SDK's Scopes page, which described a hub-and-scope-stack model the SDK never implemented, and replaces it with the model the SDK actually has: one global scope the SDK creates at sentry_init(), plus scopes you create and hand to a capture function. Covers which constructor to use and who frees the scope, how scope data is merged and which source wins, and why only the global scope reaches crash events. Related includes are updated to match, including the swap from the deprecated sentry_capture_event_with_scope to sentry_scope_capture_event.

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

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

@vercel

vercel Bot commented Aug 5, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview Aug 6, 2026 8:27am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview Aug 6, 2026 8:27am

Request Review

@codeowner-assignment
codeowner-assignment Bot requested a review from a team August 5, 2026 11:55
@limbonaut limbonaut changed the title docs(native): Rewrite Scopes page for the current scope model docs(native): Rewrite Scopes page to match the SDK's scope model Aug 5, 2026

@jpnurmi jpnurmi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks great! 🥇 Thank you for fixing up the docs while at it

Comment thread docs/platforms/native/common/enriching-events/scopes/index.mdx Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants