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

+2 -2
View File
@@ -41,7 +41,7 @@ export function toWsRequest(request: Request, ip: string): WsRequest {
* The subset of a host WebSocket that {@link eventSocket} drives (Deno's WebSocket and workerd's both satisfy it).
*
* @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 EventfulSocket {
readonly readyState: number;
@@ -162,7 +162,7 @@ async function pollDrained(host: Pick<EventfulSocket, 'readyState' | 'bufferedAm
* Constructs a host WebSocket *client*. Both the platform global and the `ws` package satisfy it.
*
* @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 SocketCtor = new (url: string) => EventfulSocket;