diff --git a/.changeset/cool-firm-full.md b/.changeset/cool-firm-full.md deleted file mode 100644 index 0009b56..0000000 --- a/.changeset/cool-firm-full.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"capnweb": minor ---- - -Support RpcTargets (and other RPC stubs) as ReadableStream/WritableStream chunks without disposing their capabilities when `write()` returns. Stream chunk payloads now keep lifecycle tied to the chunk (via `Symbol.dispose` when needed) so methods on streamed stubs remain usable after the write resolves. diff --git a/.changeset/fix-arraybuffer-serialization.md b/.changeset/fix-arraybuffer-serialization.md deleted file mode 100644 index 3102890..0000000 --- a/.changeset/fix-arraybuffer-serialization.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"capnweb": minor ---- - -Support exact ArrayBuffer, DataView, and typed array serialization over RPC. diff --git a/.changeset/readable-stream-chunk-types.md b/.changeset/readable-stream-chunk-types.md deleted file mode 100644 index 6c3aa4d..0000000 --- a/.changeset/readable-stream-chunk-types.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"capnweb": patch ---- - -The RPC `ReadableStream` type accepts any RPC-compatible chunk type, matching `WritableStream`. diff --git a/CHANGELOG.md b/CHANGELOG.md index b2f74cd..cf19336 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # capnweb +## 0.11.0 + +### Minor Changes + +- [#212](https://github.com/cloudflare/capnweb/pull/212) [`1cca1a2`](https://github.com/cloudflare/capnweb/commit/1cca1a212da1e8bc4f807725d96702f0b78207e1) Thanks [@codehz](https://github.com/codehz)! - Support RpcTargets (and other RPC stubs) as ReadableStream/WritableStream chunks without disposing their capabilities when `write()` returns. Stream chunk payloads now keep lifecycle tied to the chunk (via `Symbol.dispose` when needed) so methods on streamed stubs remain usable after the write resolves. + +- [#201](https://github.com/cloudflare/capnweb/pull/201) [`7325f9d`](https://github.com/cloudflare/capnweb/commit/7325f9d5c80dd57fea896bb4696d22a102cf10a8) Thanks [@ttmx](https://github.com/ttmx)! - Support exact ArrayBuffer, DataView, and typed array serialization over RPC. + +### Patch Changes + +- [#214](https://github.com/cloudflare/capnweb/pull/214) [`2a02db9`](https://github.com/cloudflare/capnweb/commit/2a02db961460c222b0643a92483255613c7f78d5) Thanks [@ndisidore](https://github.com/ndisidore)! - The RPC `ReadableStream` type accepts any RPC-compatible chunk type, matching `WritableStream`. + ## 0.10.0 ### Minor Changes diff --git a/package-lock.json b/package-lock.json index 7fe7e2d..b2c60de 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "capnweb", - "version": "0.10.0", + "version": "0.11.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "capnweb", - "version": "0.10.0", + "version": "0.11.0", "license": "MIT", "workspaces": [ ".", @@ -7011,7 +7011,7 @@ }, "devDependencies": { "@typescript/vfs": "^1.6.4", - "capnweb": "^0.10.0", + "capnweb": "^0.11.0", "tsdown": "^0.22.0", "typescript": "^5.9.3" }, diff --git a/package.json b/package.json index cca4db3..aac5e20 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "capnweb", - "version": "0.10.0", + "version": "0.11.0", "description": "JavaScript/TypeScript-native RPC library with Promise Pipelining", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/capnweb-validate/package.json b/packages/capnweb-validate/package.json index 802d4f1..27871e7 100644 --- a/packages/capnweb-validate/package.json +++ b/packages/capnweb-validate/package.json @@ -80,7 +80,7 @@ }, "devDependencies": { "@typescript/vfs": "^1.6.4", - "capnweb": "^0.10.0", + "capnweb": "^0.11.0", "tsdown": "^0.22.0", "typescript": "^5.9.3" },