docs: publish the API stability policy (D18) and correct the freeze wording #183

Merged
chrnx merged 4 commits from docs/deprecation-policy into develop 2026-10-30 15:18:18 +00:00
Owner

This adds the API stability policy (CARD-22, D18) to the README, under Versioning → API stability:

  • RC.1 to stable: fixes only. No release adds, removes, renames or narrows the API, and nothing gets deprecated. If a fix needs an API change, the freeze is reopened and the change goes under ### Breaking.
  • After stable:
    • a deprecated API keeps working for at least two monthly releases;
    • it carries @deprecated naming its replacement;
    • it warns once per process through app.logger, wherever it has a runtime path;
    • it is removed only under a ### Breaking CHANGELOG entry.
  • Visibility: every API change shows up in api/*.api.md, and CI fails on drift.
  • Mesh: stays outside the promise.

It also corrects wording I added in #181 (README) and #182 (CONTRIBUTING). Both said the API could still "only gain things" until stable, which contradicts D18 ("RC is fixes only").

The README avoids hard-coding the RC version (26.10 or 26.11), because that depends on the month the tag is cut.

Companion changes:

  • docs: a /docs/stability/ page;
  • site: Gitea Green-Tea/website #22, which adds a banner that links to that page.

Documentation only.

This adds the API stability policy (CARD-22, D18) to the README, under Versioning → API stability: - **RC.1 to stable: fixes only.** No release adds, removes, renames or narrows the API, and nothing gets deprecated. If a fix needs an API change, the freeze is reopened and the change goes under `### Breaking`. - **After stable:** - a deprecated API keeps working for at least two monthly releases; - it carries `@deprecated` naming its replacement; - it warns once per process through `app.logger`, wherever it has a runtime path; - it is removed only under a `### Breaking` CHANGELOG entry. - **Visibility:** every API change shows up in `api/*.api.md`, and CI fails on drift. - **Mesh:** stays outside the promise. It also corrects wording I added in #181 (README) and #182 (CONTRIBUTING). Both said the API could still "only gain things" until stable, which contradicts D18 ("RC is fixes only"). The README avoids hard-coding the RC version (`26.10` or `26.11`), because that depends on the month the tag is cut. Companion changes: - docs: a `/docs/stability/` page; - site: Gitea `Green-Tea/website` #22, which adds a banner that links to that page. Documentation only.
chrnx added 1 commit 2026-10-30 14:44:18 +00:00
docs: publish the API stability policy (D18) and correct the freeze wording
CI / dco (pull_request) Successful in 6s
CI / runtimes (bun) (pull_request) Successful in 20s
CI / build (pull_request) Successful in 31s
CI / runtimes (edge) (pull_request) Successful in 23s
CI / runtimes (deno) (pull_request) Successful in 34s
5c6ee7d68f
Add an API stability section to the README with the policy. From RC.1
to stable, releases are fixes only, with no additions and no
deprecations. After stable, a deprecated API gets at least two monthly
releases, JSDoc @deprecated, and a single app.logger warning before it
is removed under ### Breaking. The committed API reports make every
change visible, and mesh stays outside the promise.

Correct the wording added in #181 and #182, which said the API could
still grow until stable. That contradicted D18.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
chrnx added 1 commit 2026-10-30 14:45:32 +00:00
docs(mesh): mark the newly exported mesh types @experimental
CI / dco (pull_request) Successful in 5s
CI / build (pull_request) Successful in 31s
CI / runtimes (bun) (pull_request) Successful in 21s
CI / runtimes (deno) (pull_request) Successful in 33s
CI / runtimes (edge) (pull_request) Successful in 23s
582f6278c1
#181 exported Link, ReconnectOptions, ManifestPolicy, SocketCtor,
EventfulSocket, RouteEntry, RemoteScopeNode, RemoteRoute and
MeshControlDeps without the tag the other mesh exports carry, so they
would have read as part of the frozen API. They are mesh plumbing,
outside the freeze like MeshConfig.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
chrnx added 1 commit 2026-10-30 14:56:06 +00:00
docs(pipeline): tag ResponseShape @experimental
CI / dco (pull_request) Successful in 4s
CI / runtimes (bun) (pull_request) Successful in 20s
CI / build (pull_request) Successful in 32s
CI / runtimes (edge) (pull_request) Successful in 23s
CI / runtimes (deno) (pull_request) Successful in 33s
ff63fc7c87
ResponseShape reaches the public API only through the mesh signatures
MeshControlDeps and RemoteRoute. The CHANGELOG already lists it with
the mesh types, so tag it like them, which keeps it outside the
freeze.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
chrnx force-pushed docs/deprecation-policy from 5fbe3796b6 to ff63fc7c87 2026-10-30 14:56:06 +00:00 Compare
chrnx added 1 commit 2026-10-30 15:16:20 +00:00
docs(mesh): mesh may change in any release, and only within its own surface
CI / dco (pull_request) Successful in 6s
CI / runtimes (bun) (pull_request) Successful in 20s
CI / build (pull_request) Successful in 32s
CI / runtimes (edge) (pull_request) Successful in 23s
CI / runtimes (deno) (pull_request) Successful in 33s
846346b53a
Make the wording consistent: mesh is alpha and may change in any
release. The JSDoc tags said 'a minor release' while the README said
'any'.

State the rule mesh now follows. Its surface is the @experimental
exports, MeshConfig and the mesh:* events. A mesh change stays inside
that surface: it adds no createApp option, App method or decorator, and
it changes no stable type. Mesh adapts to the stable API instead of
moving it.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
chrnx merged commit fea87b3af4 into develop 2026-10-30 15:18:18 +00:00
Sign in to join this conversation.