Skip to content

Releases: DaniGuardiola/rpc-anywhere

v1.7.0

07 Mar 18:03
a5dd110
Compare
Choose a tag to compare

Minor Changes

  • a8a6c04: Fix: detect if iframes are already loaded.

v1.6.0

05 Mar 14:50
06d3efb
Compare
Choose a tag to compare

Minor Changes

  • e76f323: Added iframe transport.
  • e76f323: Updated demo to use the new iframe transport.
  • e76f323: Improved README and added better examples.
  • e76f323: Added worker transport.
  • e76f323: Added broadcast channel transport.
  • e76f323: Improved documentation.
  • e76f323: Improved the createTransportFromMessagePort API.

v1.5.0

28 Feb 23:23
1c352fa
Compare
Choose a tag to compare

Minor Changes

v1.4.0

28 Feb 22:25
5776b5e
Compare
Choose a tag to compare

Minor Changes

  • fefe796: Fixed message port transport.
  • fefe796: Added debug hooks for logging and debugging.
  • 14c38f9: Support "void" in RPCSchema, useful for inferring from request handler when there are no messages.
  • fefe796: Added a cool demo!
  • 14c38f9: Updated and improved documentation.

Patch Changes

  • fefe796: Better naming for low-level message types.
  • 14c38f9: Improve test coverage.
  • fefe796: Reduced chance of colision for the transport id key.

v1.3.4

20 Dec 23:48
740a6da
Compare
Choose a tag to compare

Patch Changes

  • 4046d0b: Fix: transport utils - ID and filter exclusivity check.

v1.3.2

20 Dec 23:14
354c513
Compare
Choose a tag to compare

Patch Changes

  • 2e447f8: Fix: better filter type for createTransportFromBrowserRuntimePort's filter option.

v1.3.1

20 Dec 22:51
eea532d
Compare
Choose a tag to compare

Patch Changes

  • 4058d02: Fix: better browser runtime port transport port type.

v1.3.0

20 Dec 22:34
b66a2f6
Compare
Choose a tag to compare

Minor Changes

  • df6222f: Added transport identification options to browser runtime port transport.

  • df6222f: Merged request and requestProxy into request.

  • df6222f: Added transport utils to simplify the creation of identifiable transports.

  • df6222f: Refactored from class to functions.

    • new RPC() -> createRPC()
    • RPC.asClient() -> createClientRPC()
    • RPC.asServer() -> createServerRPC()
  • df6222f: Added proxy API for message sending.

  • df6222f: New feature: transport bridges.

  • df6222f: Centralized transport methods in transport object.

  • df6222f: Added proxy property.

  • df6222f: Added message port transport (iframes, window objects, service workers, etc)

  • df6222f: Added requestProxy and sendProxy with "just the proxy" types.

  • df6222f: Greatly improved type safety: schema dependent methods and options.

Patch Changes

  • df6222f: Improved documentation.
  • df6222f: Added (very!) exhaustive type tests.
  • df6222f: Added JSDoc tests.
  • df6222f: Fix: invalid message payload type inference.
  • df6222f: Improved unit tests.

v1.1.0

16 Dec 16:33
b5ca27c
Compare
Choose a tag to compare

Minor Changes

  • 63d54c9: Added JSDoc comments everywhere.

v1.0.0

16 Dec 03:22
a7ccc0a
Compare
Choose a tag to compare

Major Changes