Spec Lifecycle

How SDK specs are versioned and how they advance through proposal, draft, candidate, stable, and deprecated.

SDK specs define the shared contract that every Sentry SDK implements. Each spec carries a status and a version so readers can tell, at a glance, how settled it is and whether it's safe to build against.

This page defines what those statuses mean, the criteria for advancing between them, and how versions and changelogs work. It's the one spec that describes the others, so it does not carry spec frontmatter itself.

The lifecycle broadly mirrors the W3C Process maturity stages: draft ≈ Working Draft, candidate ≈ Candidate Recommendation, stable ≈ Recommendation, deprecated ≈ Obsolete. The key idea borrowed from W3C is that a spec advances based on implementation evidence, not just an author's say-so.

Each spec is an MDX page with frontmatter that drives the status badge, version, dependency list, and changelog.

FieldRequiredPurpose
spec_idyesStable, path-based identifier (e.g. sdk/foundations/client/hooks).
spec_versionyesThe spec's SemVer version.
spec_statusyesOne of proposal, draft, candidate, stable, deprecated.
spec_changelogyesList of {version, date, summary} entries, newest first.
spec_depends_onnoOther specs this one relies on, each {id, version} with a SemVer range.
spec_platformsnoPlatforms the spec applies to; defaults to all.
spec_superseded_bynospec_id of the replacement spec. Set when deprecated.

A spec's body is divided into <SpecSection> blocks, each with its own status, a since version marking when its current requirements landed, and an optional superseded_by link. Sections MAY advance independently — a stable spec can still contain a candidate section that's gathering feedback.

What each status means, and what an SDK author should do when they see it:

  • proposal — Reserved. Not yet in use; proposals currently live as RFCs. Treat as not-yet-a-spec.
  • draft — The shape is still being worked out and MAY change in breaking ways without notice. Do not build against a draft except to prototype the implementation that justifies promoting it.
  • candidate — Stable enough to implement. The spec is asking for implementations and interoperability feedback. Build against it, but expect refinements driven by what implementation surfaces.
  • stable — The contract. Safe to rely on. Changes follow the version rules below and MUST NOT break existing implementations.
  • deprecated — Superseded or withdrawn. Do not adopt it in new work; follow spec_superseded_by and the spec's migration notes to move off it.

Promotion is gated on implementation evidence. The bar is per-feature: a section MUST NOT advance ahead of the requirements below.

A proposal becomes a draft once it's written up as a spec page and the team agrees the problem is worth specifying. No implementation is required.

  • There MUST be at least one SDK implementation demonstrating the spec is feasible as written.
  • The spec version remains 0.x; promotion is signaled by the status, not the version (see Version semantics).
  • Open questions that block implementation MUST be resolved or explicitly deferred.

  • A second independent, interoperable SDK implementation of each feature SHOULD exist — the signal that the spec is implementable consistently across SDKs, not just in the one that shaped it.
  • If only one implementation exists at promotion time, the gap MUST be recorded (in the changelog summary or an open-questions note) rather than silently promoted.
  • The spec version MUST be bumped to 1.0.0 (see Version semantics).
  • No breaking changes SHOULD remain outstanding.

  • spec_status is set to deprecated and, when a replacement exists, spec_superseded_by MUST point to it.
  • The spec SHOULD keep a migration path for existing implementations.

Specs use SemVer, and the major version tracks maturity:

  • proposal, draft, and candidate specs MUST be 0.x. The 0. prefix signals "not yet a frozen contract — anything MAY change." Within 0.x, breaking refinements bump the minor (0.2.0); clarifications bump the patch (0.1.1).
  • Promoting to stable MUST bump the version to 1.0.0. A 1.0.0-or-higher version means the contract is frozen: breaking changes now require a major bump.

Once at 1.x:

  • Major (2.0.0) — a breaking change to existing requirements.
  • Minor (1.1.0) — new requirements added backward-compatibly.
  • Patch (1.0.1) — clarifications and fixes that don't change requirements.

  • Every version bump MUST add a spec_changelog entry (version, date, summary), newest first.
  • A section's since MUST be the spec_version in which that section's current requirements were introduced. Bump it only when the section's requirements actually change.
  • When advancing a spec's status, update the status, bump the version, add a changelog entry describing the promotion, and set each promoted section's status (and since, if its requirements changed) to match.
Was this helpful?
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").