Skip to content

Releases: paritytech/jsonrpc

JSON-RPC v9.0.0

05 Nov 11:56
2ed142d
Compare
Choose a tag to compare
  • IPC server on crates.io
  • Default for Metadata no longer required
  • Fix responsiveness of HTTP server under high load (sleep on errors)
  • Limit the size of payloads of HTTP server
  • Update dependencies
  • Change Params encoding (you may now need to handle empty arrays)
  • Health API
  • Customize allowed headers for HTTP server
  • Handle requests concurrently for IPC transport
  • Avoid Boxing in middlewares and introduce on_call hook.
  • Allow IPC access right on Windows
  • ... and more

Full list of changes: v8.0.1...v9.0.0

jsonrpc-core = "9.0.0"
jsonrpc-macros = "9.0.0"
jsonrpc-pubsub = "9.0.0"
jsonrpc-server-utils = "9.0.0"
jsonrpc-http-server = "9.0.0"
jsonrpc-ipc-server = "9.0.0"
jsonrpc-tcp-server = "9.0.0"
jsonrpc-stdio-server = "9.0.0"
jsonrpc-test = "9.0.0"

JSON-RPC v8.0.1

13 Dec 21:19
01434b5
Compare
Choose a tag to compare

A patch release for jsonrpc-core fixing compatibility with serde_json >= 1.0.8. Thanks @Marwes!

jsonrpc-core = "8.0.1"
jsonrpc-macros = "8.0.0"
jsonrpc-pubsub = "8.0.0"
jsonrpc-server-utils = "8.0.0"
jsonrpc-http-server = "8.0.0"
jsonrpc-tcp-server = "8.0.0"
jsonrpc-test = "8.0.0"

JSON-RPC v8.0.0

21 Nov 13:38
Compare
Choose a tag to compare
  • Unifies async and sync methods by allowing the implemetations to return anything that's IntoFuture.
  • Introduces associated types in many places to get rid of uncessary Boxing of returned Futures.
  • HTTP server get's (opt-in) REST -> RPC converter (you can do curl -X POST http://localhost:3000/some_method/"param1")
  • New/altered type aliases jsonrpc_core::Result<T> = Result<T, Error> and jsonrpc_core::BoxFuture<T> = Box<Future<Item=T, Error=Error>>
jsonrpc-core = "8.0.0"
jsonrpc-macros = "8.0.0"
jsonrpc-pubsub = "8.0.0"
jsonrpc-server-utils = "8.0.0"
jsonrpc-http-server = "8.0.0"
jsonrpc-tcp-server = "8.0.0"
jsonrpc-test = "8.0.0"

JSON-RPC v7.1.1

11 Sep 13:36
Compare
Choose a tag to compare
  • Support custom errors in macros
  • Fix stream codec for escaped codes (tcp/ipc/http)
  • handle application/json; charset=utf-8 in http
  • Debug for some types
  • Fix panic while deserializing from error code.

Published crates:

jsonrpc-core = "7.1.1"
jsonrpc-macros = "7.1.1"
jsonrpc-pubsub = "7.1.1"
jsonrpc-server-utils = "7.1.1"
jsonrpc-http-server = "7.1.1"
jsonrpc-tcp-server = "7.1.1"

JSON-RPC v7.1.0

10 Aug 09:38
Compare
Choose a tag to compare

Published crates:

jsonrpc-core = "7.1.0"
jsonrpc-macros = "7.1.0"
jsonrpc-pubsub = "7.1.0"
jsonrpc-server-utils = "7.1.0"
jsonrpc-http-server = "7.1.0"
jsonrpc-tcp-server = "7.1.0"

JSON-RPC v7.0.1

14 Jun 09:24
Compare
Choose a tag to compare

Published crates:

jsonrpc-core = "7.0.1"
jsonrpc-macros = "7.0.1"
jsonrpc-pubsub = "7.0.1"
jsonrpc-server-utils = "7.0.1"
jsonrpc-http-server = "7.0.1"
jsonrpc-tcp-server = "7.0.1"

JSON-RPC v6.0.0

16 Feb 13:42
Compare
Choose a tag to compare

Major overhaul of the library and consolidation to single repository.

  1. We switched to futures which simplified a lot of code in core.
  2. Serde dependency updated to 0.9
  3. IoHandler now supports Middleware and Metadata (both opt-in, second being a slight deviation from json-rpc standard)
  4. jsonrpc-macros library simplifying implementation of complex services.

See examples for each crate for more details.

Published crates:

jsonrpc-core = "6.0"
jsonrpc-macros = "6.0"
jsonrpc-ipc-server = "6.0"
jsonrpc-tcp-server = "6.0"

jsonrpc-http-server uses unstable asynchronous hyper, so it needs to be referenced directly from github:

jsonrpc-http-server = { git = "http://github.com/ethcore/jsonrpc", tag = "v6.0.0" }