docs(sdk): Rewrite API and Architecture spec for readability#17014
docs(sdk): Rewrite API and Architecture spec for readability#17014stephanie-anderson merged 5 commits intomasterfrom
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| ## 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. |
There was a problem hiding this comment.
Is Relay our only entry point? If not we should make this a little bit more open imho.
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
I wonder if we really need this here or just in the playbook.
There was a problem hiding this comment.
Do you mean the intro?
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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>
Update playbook links to match new section IDs after spec rewrite. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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>
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>
Rewrites the API and Architecture standards page to be more human-friendly: