Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/cool-firm-full.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-arraybuffer-serialization.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-batch-setimmediate.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ignore-extra-args.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/readable-stream-chunk-types.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/serialize-url.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shared-rpc-promise-alias.md

This file was deleted.

18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# 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.

- [#224](https://github.com/cloudflare/capnweb/pull/224) [`064b0f3`](https://github.com/cloudflare/capnweb/commit/064b0f352a5928caa91fe8a1fbc1c717c4b1ee09) Thanks [@dimitropoulos](https://github.com/dimitropoulos)! - Support serializing `URL` objects over RPC.

### Patch Changes

- [#220](https://github.com/cloudflare/capnweb/pull/220) [`43aa384`](https://github.com/cloudflare/capnweb/commit/43aa384b211f180c6b91ec7d2aa9acf4b57b3fcd) Thanks [@ndisidore](https://github.com/ndisidore)! - Remove the ~1ms per-batch latency floor in the HTTP batch client on Node and Bun by flushing via `setImmediate` instead of the clamped `setTimeout(0)`.

- [#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`.

- [#238](https://github.com/cloudflare/capnweb/pull/238) [`1a1f0d4`](https://github.com/cloudflare/capnweb/commit/1a1f0d419b13de0cf78d611cf9b1c99bc650dc7c) Thanks [@Maximo-Guk](https://github.com/Maximo-Guk)! - Share one `RpcPromise` alias between `Result` and 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 primitive `T` now also carries the pipelining `Provider<T>` surface, matching what stub calls already returned.

## 0.10.0

### Minor Changes
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 6 additions & 0 deletions packages/capnweb-validate/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# capnweb-validate

## 0.2.3

### Patch Changes

- [#227](https://github.com/cloudflare/capnweb/pull/227) [`2b292e4`](https://github.com/cloudflare/capnweb/commit/2b292e41adb4d2856f63118a13e1c70d01b5a0d9) Thanks [@teamchong](https://github.com/teamchong)! - Ignore extra arguments past a method's declared parameters instead of refusing the call, and drop them before invoking the implementation.

## 0.2.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/capnweb-validate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "capnweb-validate",
"version": "0.2.2",
"version": "0.2.3",
"description": "Build-time TypeScript validation transform for capnweb RPC.",
"license": "MIT",
"type": "module",
Expand Down Expand Up @@ -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"
},
Expand Down
Loading