Releases: paritytech/jsonrpc
Releases · paritytech/jsonrpc
JSON-RPC v9.0.0
- IPC server on crates.io
Default
forMetadata
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
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
- 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
Box
ing of returnedFutures
. - 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>
andjsonrpc_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
- Support custom errors in
macros
- Fix stream codec for escaped codes (
tcp/ipc/http
) - handle
application/json; charset=utf-8
inhttp
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
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
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
Major overhaul of the library and consolidation to single repository.
- We switched to
futures
which simplified a lot of code incore
. - Serde dependency updated to
0.9
IoHandler
now supportsMiddleware
andMetadata
(both opt-in, second being a slight deviation from json-rpc standard)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" }