Skip to content

docs(sdk): Rewrite API and Architecture spec for readability#17014

Merged
stephanie-anderson merged 5 commits intomasterfrom
docs/humanize-api-architecture-spec
Mar 18, 2026
Merged

docs(sdk): Rewrite API and Architecture spec for readability#17014
stephanie-anderson merged 5 commits intomasterfrom
docs/humanize-api-architecture-spec

Conversation

@stephanie-anderson
Copy link
Contributor

Rewrites the API and Architecture standards page to be more human-friendly:

  • Add intro paragraph framing the core philosophy
  • Replace rigid Rule/Enforcement/Per-SDK override template with natural prose
  • Merge breaking changes and deprecation lifecycle into one cohesive section
  • Remove enforcement boilerplate and StatusBadge components
  • Add contextual "why" before rules instead of dropping straight into requirements
  • Thin out RFC keyword density — keep MUST/REQUIRES for hard rules, plain language elsewhere
  • Promote spec status to stable

Replace rigid Rule/Enforcement/Per-SDK override template with
natural prose. Add intro framing the philosophy, merge breaking
changes and deprecation lifecycle into one section, remove
enforcement boilerplate, and promote spec status to stable.

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Mar 18, 2026

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

Project Deployment Actions Updated (UTC)
develop-docs Ready Ready Preview, Comment Mar 18, 2026 10:17am
sentry-docs Ready Ready Preview, Comment Mar 18, 2026 10:17am

Request Review

@github-actions github-actions bot added the sdk-develop-docs PRs touching develop-docs/sdk label Mar 18, 2026
## Server-side (Relay) vs. SDK implementation

New processing or transformation logic **MUST** default to server-side (Relay).
When deciding where new logic should live, default to server-side (Relay). Processing data in Relay keeps behavior consistent across SDK versions and avoids duplicating logic in clients that may remain deployed indefinitely.
Copy link
Contributor

Choose a reason for hiding this comment

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

Is Relay our only entry point? If not we should make this a little bit more open imho.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is, yes - we only send envelopes to the /envelope endpoint in relay

Breaking changes and deprecations are closely linked — every breaking change goes through a deprecation period first. Both follow a lifecycle designed to give users time and guidance to migrate.

Breaking changes **MUST** follow the [breaking changes playbook](/sdk/getting-started/playbooks/sdk-lifecycle/breaking-changes).
### Deprecation lifecycle
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if we really need this here or just in the playbook.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do you mean the intro?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll do the playbooks review after the standards - so I might do this in a separate PR in a few hours


New attributes **MUST** first be defined in [sentry-conventions](https://github.com/getsentry/sentry-conventions).
Process:
1. Open a PR to sentry-conventions
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if we should move this out of standard, it reads like process, maybe extracting into a Sentry conventions playbook? I would add that changes to attributes are considered a breaking change and that conventions should be treated like public API, wdyt?

Add that convention attributes should be treated like public API and
that changes to existing attributes are breaking changes. Document
the sentry-conventions deprecation lifecycle (backfill → normalize).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
stephanie-anderson and others added 2 commits March 18, 2026 11:02
Update playbook links to match new section IDs after spec rewrite.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@stephanie-anderson stephanie-anderson merged commit 41348fb into master Mar 18, 2026
18 checks passed
@stephanie-anderson stephanie-anderson deleted the docs/humanize-api-architecture-spec branch March 18, 2026 10:39
stephanie-anderson added a commit that referenced this pull request Mar 18, 2026
Rewrites the API and Architecture standards page to be more
human-friendly:

- Add intro paragraph framing the core philosophy
- Replace rigid Rule/Enforcement/Per-SDK override template with natural
prose
- Merge breaking changes and deprecation lifecycle into one cohesive
section
- Remove enforcement boilerplate and StatusBadge components
- Add contextual "why" before rules instead of dropping straight into
requirements
- Thin out RFC keyword density — keep MUST/REQUIRES for hard rules,
plain language elsewhere
- Promote spec status to stable

---------

Co-authored-by: Claude <noreply@anthropic.com>
constantinius pushed a commit that referenced this pull request Mar 20, 2026
Rewrites the API and Architecture standards page to be more
human-friendly:

- Add intro paragraph framing the core philosophy
- Replace rigid Rule/Enforcement/Per-SDK override template with natural
prose
- Merge breaking changes and deprecation lifecycle into one cohesive
section
- Remove enforcement boilerplate and StatusBadge components
- Add contextual "why" before rules instead of dropping straight into
requirements
- Thin out RFC keyword density — keep MUST/REQUIRES for hard rules,
plain language elsewhere
- Promote spec status to stable

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sdk-develop-docs PRs touching develop-docs/sdk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants