diff --git a/.changeset/fast-rules-thank.md b/.changeset/fast-rules-thank.md deleted file mode 100644 index db4a831..0000000 --- a/.changeset/fast-rules-thank.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"capnweb": minor ---- - -Fixed incompatibility with bundlers that don't support top-level await. The top-level await was used for a conditional import; it has been replaced with an approach based on "exports" in package.json instead. diff --git a/.changeset/frank-drinks-sleep.md b/.changeset/frank-drinks-sleep.md deleted file mode 100644 index 1cf9c50..0000000 --- a/.changeset/frank-drinks-sleep.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"capnweb": patch ---- - -Attempting to remotely access an instance property of an RpcTarget will now throw an exception rather than returning `undefined`, in order to help people understand what went wrong. diff --git a/.changeset/kind-carrots-flash.md b/.changeset/kind-carrots-flash.md deleted file mode 100644 index 0777144..0000000 --- a/.changeset/kind-carrots-flash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"capnweb": patch ---- - -chore: generate commonjs build diff --git a/.changeset/salty-trams-stop.md b/.changeset/salty-trams-stop.md deleted file mode 100644 index 0fd0f12..0000000 --- a/.changeset/salty-trams-stop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"capnweb": minor ---- - -Support serializing Infinity, -Infinity, and NaN. diff --git a/.changeset/six-banks-pull.md b/.changeset/six-banks-pull.md deleted file mode 100644 index b2f2c8e..0000000 --- a/.changeset/six-banks-pull.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"capnweb": patch ---- - -Polyfilled Promise.withResolvers() to improve compatibility with old Safari versions and Hermes (React Native). diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..6752a40 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,17 @@ +# capnweb + +## 0.2.0 + +### Minor Changes + +- [#105](https://github.com/cloudflare/capnweb/pull/105) [`f4275f5`](https://github.com/cloudflare/capnweb/commit/f4275f5531472003fa8264e6434929c03eb54448) Thanks [@kentonv](https://github.com/kentonv)! - Fixed incompatibility with bundlers that don't support top-level await. The top-level await was used for a conditional import; it has been replaced with an approach based on "exports" in package.json instead. + +- [#105](https://github.com/cloudflare/capnweb/pull/105) [`f4275f5`](https://github.com/cloudflare/capnweb/commit/f4275f5531472003fa8264e6434929c03eb54448) Thanks [@kentonv](https://github.com/kentonv)! - Support serializing Infinity, -Infinity, and NaN. + +### Patch Changes + +- [#105](https://github.com/cloudflare/capnweb/pull/105) [`f4275f5`](https://github.com/cloudflare/capnweb/commit/f4275f5531472003fa8264e6434929c03eb54448) Thanks [@kentonv](https://github.com/kentonv)! - Attempting to remotely access an instance property of an RpcTarget will now throw an exception rather than returning `undefined`, in order to help people understand what went wrong. + +- [#107](https://github.com/cloudflare/capnweb/pull/107) [`aa4fe30`](https://github.com/cloudflare/capnweb/commit/aa4fe305f8037219bce822f9e9095303ff374c4f) Thanks [@threepointone](https://github.com/threepointone)! - chore: generate commonjs build + +- [#105](https://github.com/cloudflare/capnweb/pull/105) [`f4275f5`](https://github.com/cloudflare/capnweb/commit/f4275f5531472003fa8264e6434929c03eb54448) Thanks [@kentonv](https://github.com/kentonv)! - Polyfilled Promise.withResolvers() to improve compatibility with old Safari versions and Hermes (React Native). diff --git a/package-lock.json b/package-lock.json index 9c570d5..a9b849c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "capnweb", - "version": "0.1.0", + "version": "0.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "capnweb", - "version": "0.1.0", + "version": "0.2.0", "license": "MIT", "devDependencies": { "@changesets/changelog-github": "^0.5.1", @@ -4093,6 +4093,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -4205,6 +4206,7 @@ } ], "license": "MIT", + "peer": true, "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", diff --git a/package.json b/package.json index 071b74e..558afe1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "capnweb", - "version": "0.1.0", + "version": "0.2.0", "description": "JavaScript/TypeScript-native RPC library with Promise Pipelining", "main": "dist/index.js", "types": "dist/index.d.ts",