Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: cloudflare/capnweb

v0.4.0

24 Dec 14:59
db952ec

Choose a tag to compare

Minor Changes

  • #121 32e362f Thanks @kentonv! - Improved compatibility with Cloudflare Workers' built-in RPC, particularly when proxying from one to the other.

v0.3.0

16 Dec 21:35
76fdff1

Choose a tag to compare

Minor Changes

  • #78 8a47045 Thanks @itaylor! - The package now exports the type RpcCompatible<T> (previously called Serializable<T>, but not exported), which is needed when writing generic functions on RpcStub / RpcPromise.

Patch Changes

v0.2.0

05 Nov 14:30
6d805d4

Choose a tag to compare

Minor Changes

  • #105 f4275f5 Thanks @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 f4275f5 Thanks @kentonv! - Support serializing Infinity, -Infinity, and NaN.

Patch Changes

  • #105 f4275f5 Thanks @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 aa4fe30 Thanks @threepointone! - chore: generate commonjs build

  • #105 f4275f5 Thanks @kentonv! - Polyfilled Promise.withResolvers() to improve compatibility with old Safari versions and Hermes (React Native).