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

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>
This commit is contained in:
chrnx committed 2026-10-30 10:16:12 -05:00
1 parent ff63fc7c87
commit 846346b53a
11 files changed
+24 -24

No files matched your search

+4 -4
View File
@@ -9,7 +9,7 @@ import { encode, decode, MESH_PROTOCOL_VERSION, type Manifest, type RequestEnvel
* Client handle to a remote mesh server: its manifest, an RPC caller, and a close().
*
* @experimental Part of the mesh, which needs `createApp({ experimental: true })`: outside the
* API freeze, so it may change in a minor release.
* API freeze, so it may change in any release.
*/
export interface Link {
manifest: Manifest;
@@ -21,7 +21,7 @@ export interface Link {
* Backoff bounds for reconnection. `false` disables reconnecting entirely.
*
* @experimental Part of the mesh, which needs `createApp({ experimental: true })`: outside the
* API freeze, so it may change in a minor release.
* API freeze, so it may change in any release.
*/
export interface ReconnectOptions {
/** Delay before the first retry; doubles from here (default: 500ms). */
@@ -38,7 +38,7 @@ export interface ReconnectOptions {
* cadences, and silently changing what the default means is the worst kind of breaking change.
*
* @experimental Part of the mesh, which needs `createApp({ experimental: true })`: outside the
* API freeze, so it may change in a minor release.
* API freeze, so it may change in any release.
*/
export type ManifestPolicy = 'refuse';
@@ -474,7 +474,7 @@ function backoffBounds(
* `Ctor` is injectable to exercise both client implementations on a single runtime.
*
* @experimental Part of the mesh, which needs `createApp({ experimental: true })`: outside the
* API freeze, so it may change in a minor release.
* API freeze, so it may change in any release.
*/
export function connectLink(args: {
url: string;