capnweb@0.11.0
Minor Changes
-
#212
1cca1a2Thanks @codehz! - Support RpcTargets (and other RPC stubs) as ReadableStream/WritableStream chunks without disposing their capabilities whenwrite()returns. Stream chunk payloads now keep lifecycle tied to the chunk (viaSymbol.disposewhen needed) so methods on streamed stubs remain usable after the write resolves. -
#201
7325f9dThanks @ttmx! - Support exact ArrayBuffer, DataView, and typed array serialization over RPC. -
#224
064b0f3Thanks @dimitropoulos! - Support serializingURLobjects over RPC.
Patch Changes
-
#220
43aa384Thanks @ndisidore! - Remove the ~1ms per-batch latency floor in the HTTP batch client on Node and Bun by flushing viasetImmediateinstead of the clampedsetTimeout(0). -
#214
2a02db9Thanks @ndisidore! - The RPCReadableStreamtype accepts any RPC-compatible chunk type, matchingWritableStream. -
#238
1a1f0d4Thanks @Maximo-Guk! - Share oneRpcPromisealias betweenResultand the public export. Deeply-nested RPC interfaces no longer blow the checker's depth budget: this fixes all "excessively deep" / "excessive stack depth" (TS2589/TS2321) errors under TypeScript 7 (tsgo) and reduces TypeScript 5.9 type instantiations by ~13%.RpcPromise<T>for primitiveTnow also carries the pipeliningProvider<T>surface, matching what stub calls already returned.