Skip to content

Releases: vphantom/js-jrpc

Minor release

10 Aug 14:36
Compare
Choose a tag to compare

Specifically addresses issue #14 where attempting a remote call which times out before .setTransmitter() returned a -1000 remote timeout error code. Created a -1100 code to clarify this situation.

Bugfix release

16 Jul 12:05
Compare
Choose a tag to compare

Specifically addresses issue #10 for JS engines without a Promise global object.

Minor bugfix release

28 May 11:42
Compare
Choose a tag to compare

Changes:

  • (bug) Correctly omit id from outgoing requests when no return value is expected (i.e. notifications);
  • (cleanup) Remove unnecessary concept of timeouts for notification handling.

Stable release: final API, server-side performance boost

26 Apr 12:00
Compare
Choose a tag to compare

When handling a lot of JRPC instances, cleaning up timers when a connection is lost becomes very important. This release addresses that with the addition of remote.shutdown() to explicitly clean up and mark the instance as no longer useful, to be safe.

This brings us to our final API and testing to get out of beta.

Add notification shortcut, performance improvement

22 Apr 18:00
Compare
Choose a tag to compare
  • Added remote.notify() as a shortcut to remote.call() to help callers more clearly distinguish between calls and notifications;
  • Now skips over the creation of return value timeout callbacks when handling notifications.

Rewrite from scratch, bidirectional support

22 Apr 14:40
Compare
Choose a tag to compare

Complete rewrite to become transport-agnostic ("streaming"), bidirectional and add backwards-compatible protocol extensions.

Custom format from 2010-2013

19 Apr 15:37
Compare
Choose a tag to compare

This was the last release where JRPC implemented its own shorter variation of the JSON-RPC 1.0 protocol with custom batch additions incompatible with JSON-RPC 2.0.