fix: close the RC.1 API audit gaps (type exports, TLS on Deno/Bun, README) #181

Merged
chrnx merged 3 commits from fix/rc1-api-gaps into develop 2026-10-30 14:26:19 +00:00
3 Commits
Author SHA1 Message Date
chrnx ff7001f4be docs: record the RC.1 freeze, the TLS refusal and the new type exports
CI / dco (pull_request) Successful in 6s
CI / runtimes (bun) (pull_request) Successful in 20s
CI / build (pull_request) Successful in 29s
CI / runtimes (edge) (pull_request) Successful in 22s
CI / runtimes (deno) (pull_request) Successful in 32s
The README no longer describes the API as still moving, or the radix
matcher as future work. It also states that native TLS is Node-only.
The CHANGELOG gains a Breaking entry, with migration notes, for the
Deno and Bun TLS refusal, and an Added entry listing the newly
exported types.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-10-30 08:53:54 -05:00
chrnx 870cdb25e9 fix(adapters): reject createApp({ tls }) on Deno and Bun
Only Node's listen() reads tls. serveDeno and serveBun serve through
the runtime's own listener, so an app created with tls came up as
plain HTTP without warning, for a caller who had asked for HTTPS.

createApp now marks the app with a symbol, following the MARK_EDGE
pattern. Both adapters throw on that mark before they boot or bind.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-10-30 08:53:52 -05:00
chrnx 0261da6fd6 feat(types): export every type a public signature uses
Public declarations named types the entry points did not export, so a
caller could invoke the API but could not name its parameters or
results. The affected types were ModuleOptions, Ctor, BusLike,
ArgSource, GraphNodeView, GraphRouteView, StandardIssue,
StandardResult, the experimental mesh types, and the adapter option
types: DenoServeOptions, BunServeOptions and EdgeCtx.

Export them all. The changes are additive only, and no beta.2 name
moves. Bun's private BunServeShortOptions becomes the exported
BunServeOptions, and the ambient Bun.serve shape is renamed so the two
cannot collide.

channel() had started returning TappableChannel, which leaked the
internal tap symbol into its public return type. Restore the beta.2
return type, Channel<T>. ws-core still finds the tap through the
symbol, not through the signature.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-10-30 08:53:49 -05:00