From ff63fc7c877a8deacbdb57e97e1ae11315779298 Mon Sep 17 00:00:00 2001 From: Diego Resendez Date: Fri, 30 Oct 2026 09:56:00 -0500 Subject: [PATCH] docs(pipeline): tag ResponseShape @experimental 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 --- CHANGELOG.md | 2 +- src/pipeline.ts | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 01e5ea7..4f9198d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -147,7 +147,7 @@ npm treats versions as semver and semver forbids leading zeros. declarations, but nothing exported them, so code could call the API and could not name what it passed or got back. From the root: `ModuleOptions`, `Ctor`, `BusLike`, `ArgSource`, `GraphNodeView`, `GraphRouteView`, `StandardIssue`, `StandardResult`, and, for the experimental - mesh, `Link`, `ReconnectOptions`, `ManifestPolicy`, `SocketCtor`, `EventfulSocket`, `RouteEntry`, + mesh (tagged `@experimental`, outside the freeze), `Link`, `ReconnectOptions`, `ManifestPolicy`, `SocketCtor`, `EventfulSocket`, `RouteEntry`, `RemoteScopeNode`, `RemoteRoute`, `MeshControlDeps` and `ResponseShape`. From `/deno`: `DenoServeOptions` and `DenoHttpServer`. From `/bun`: `BunServeOptions` and `BunServer`. From `/edge`: `EdgeCtx`. All of them are additions, and nothing was renamed. diff --git a/src/pipeline.ts b/src/pipeline.ts index 8dd31ad..b526886 100644 --- a/src/pipeline.ts +++ b/src/pipeline.ts @@ -11,7 +11,12 @@ export interface PipelineStep { origin: string; run: (ctx: any) => any; } -/** A fully materialized HTTP response produced by a transformer. */ +/** + * A fully materialized HTTP response produced by a transformer. + * + * @experimental Public only through the mesh (`MeshControlDeps`, `RemoteRoute`), which needs + * `createApp({ experimental: true })`: outside the API freeze, so it may change in a minor release. + */ export interface ResponseShape { status: number; /** A value may be an array: `set-cookie` arrays are sent one line per element, others joined with `, `. */