Releases: vphantom/js-jrpc
Releases · vphantom/js-jrpc
Minor release
Bugfix release
Specifically addresses issue #10 for JS engines without a Promise
global object.
Minor bugfix release
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
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
- Added
remote.notify()
as a shortcut toremote.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
Complete rewrite to become transport-agnostic ("streaming"), bidirectional and add backwards-compatible protocol extensions.
Custom format from 2010-2013
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.