Skip to content

docs: add API_STABILITY.md commitment + deprecation policy (#474)#593

Merged
chronoai-shining merged 4 commits into
developfrom
docs/474-api-stability
May 19, 2026
Merged

docs: add API_STABILITY.md commitment + deprecation policy (#474)#593
chronoai-shining merged 4 commits into
developfrom
docs/474-api-stability

Conversation

@chronoai-shining
Copy link
Copy Markdown
Collaborator

Closes #474.

What

Publishes docs/API_STABILITY.md — the missing public commitment that the README's "alpha" badge currently lacks. Covers:

  • Alpha caveat for 0.x (no compatibility guarantees; pin exact versions).
  • Post-v1 semver policy (patch / minor / major) and what each bump is allowed to change.
  • Three stability tiers (stable, beta, experimental) declared via OpenAPI x-stability. Beta + experimental require an Accept-Stability header so SDK clients don't reach them by accident.
  • RFC 8594 deprecation policy: ≥ 2 minor releases of lead time + ≥ 90 days for SDK-affecting deprecations, with synchronized signals on response headers, CHANGELOG, DEPRECATIONS.md, and GitHub release notes.
  • Breaking-change PR checklist.

README.md "Documentation" list gets a row for the new doc. CONVENTIONS.md §7 Deprecation gains a one-line lede pointing here so the policy doesn't get duplicated in two places.

Notes

Wiring the x-stability extension into the OpenAPI spec + SDK is a separate follow-up (issues to be filed after this lands). This PR is the contract those follow-ups conform to.

Test plan

Specifies what currently has no public contract:

- Alpha caveat: 0.x line makes no compatibility guarantees;
  pinning exact versions is the only insulator during alpha.
- Post-v1 semver policy (patch / minor / major) and what each
  bump is allowed to change.
- Three stability tiers (stable, beta, experimental) declared
  in OpenAPI via x-stability. Beta + experimental require the
  Accept-Stability request header so SDK clients don't reach
  them by accident.
- RFC 8594 deprecation policy: ≥ 2 minor releases of lead time
  + ≥ 90 days for SDK-affecting deprecations, with synchronized
  signals on response headers, CHANGELOG, DEPRECATIONS.md, and
  GitHub release notes.
- Breaking-change PR checklist.

Adopting these tiers in OpenAPI + SDK is a follow-up; this doc
is the contract those follow-ups conform to.
README "Documentation" list adds a row for the new doc.

CONVENTIONS.md §7 (Deprecation) gets a one-line lede pointing
at API_STABILITY.md for the stability commitment + lead-time
policy — keeps CONVENTIONS focused on header shape and avoids
duplicating the same policy in two places.

Closes #474.
@chronoai-shining chronoai-shining merged commit 1660270 into develop May 19, 2026
10 checks passed
@chronoai-shining chronoai-shining deleted the docs/474-api-stability branch May 19, 2026 06:15
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.

[Docs] API stability commitment + breaking-change & deprecation policy

1 participant