From bcf60f69509774b07becce00b751ffe713b1d2ec Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 4 Jul 2026 13:53:34 +0000 Subject: [PATCH 1/2] Version Packages --- .changeset/non-post-early-return.md | 6 ------ CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 10 insertions(+), 9 deletions(-) delete mode 100644 .changeset/non-post-early-return.md diff --git a/.changeset/non-post-early-return.md b/.changeset/non-post-early-return.md deleted file mode 100644 index 739b11c8..00000000 --- a/.changeset/non-post-early-return.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"capnweb": patch ---- - -Fix nodeHttpBatchRpcResponse leaving the connection open and crashing with -ERR_HTTP_HEADERS_SENT on non-POST requests. It now returns 405 immediately. diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ab95492..ead9aaa1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # capnweb +## 0.9.1 + +### Patch Changes + +- [#195](https://github.com/cloudflare/capnweb/pull/195) [`78744ca`](https://github.com/cloudflare/capnweb/commit/78744ca99df8c93443556351b5849329765a930c) Thanks [@aleister1102](https://github.com/aleister1102)! - Fix nodeHttpBatchRpcResponse leaving the connection open and crashing with + ERR_HTTP_HEADERS_SENT on non-POST requests. It now returns 405 immediately. + ## 0.9.0 ### Minor Changes diff --git a/package-lock.json b/package-lock.json index b1de5e67..a7061afb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "capnweb", - "version": "0.9.0", + "version": "0.9.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "capnweb", - "version": "0.9.0", + "version": "0.9.1", "license": "MIT", "workspaces": [ ".", diff --git a/package.json b/package.json index 63ea9183..e9f37e42 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "capnweb", - "version": "0.9.0", + "version": "0.9.1", "description": "JavaScript/TypeScript-native RPC library with Promise Pipelining", "main": "dist/index.js", "types": "dist/index.d.ts", From 763788a541a5ad521cfee85193a5654d83fbc4cf Mon Sep 17 00:00:00 2001 From: Steven <25894545+teamchong@users.noreply.github.com> Date: Sat, 4 Jul 2026 10:07:59 -0400 Subject: [PATCH 2/2] docs(changelog): credit @ashkalor for #186 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ead9aaa1..23989242 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ ### Minor Changes -- [#186](https://github.com/cloudflare/capnweb/pull/186) [`c70bbb7`](https://github.com/cloudflare/capnweb/commit/c70bbb77ee5b25672f77d7befef7e711f4a98836) Thanks [@teamchong](https://github.com/teamchong)! - Add transport encoding levels so custom RPC transports can work with `jsonCompatible` values, `jsonCompatibleWithBytes` values, or `structuredClonable` messages instead of always receiving JSON strings. +- [#186](https://github.com/cloudflare/capnweb/pull/186) [`c70bbb7`](https://github.com/cloudflare/capnweb/commit/c70bbb77ee5b25672f77d7befef7e711f4a98836) Thanks [@ashkalor](https://github.com/ashkalor)! - Add transport encoding levels so custom RPC transports can work with `jsonCompatible` values, `jsonCompatibleWithBytes` values, or `structuredClonable` messages instead of always receiving JSON strings. Note: `MessagePort` sessions now post structured-clonable objects over the port instead of JSON strings. This changes the wire format between the two ends of the port, so both ends of a `MessagePort` session must upgrade to this version together.