All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.7.1 - 2021-08-26
Request
now omitsparams
from serialization when empty for version 2.0 jsonrpm calls as defined here.
0.7.0 - 2021-07-27
JsonRpcError
now includes the optionaldata
field, defined here.
0.6.0 - 2021-04-26
- APIs defined with
version = 2.0
(as in#[jsonrpc_client::api(version = "2.0")]
) will now serialize their arguments by name instead of by position. The JSON-RPC spec is vague on whether every2.0
server must accept parameters by name. For now we assume that this is the case. This restriction may be lifted in the future.
0.5.1 - 2021-02-22
- Deactivate
default-features
of thereqwest
dependency.
0.5.0 - 2021-01-11
- Bump version of
reqwest
to 0.11 and thereby change the transitive dependency oftokio
to 1.0.
0.4.0 - 2021-01-11
- Re-export
async_trait
andserde
dependencies fromjsonrpc_client
(#6). This allows usage of the macros without having to add these dependencies to your ownCargo.toml
.
0.3.0 - 2021-01-11
This version is a complete re-write of the original jsonrpc_client
crate.
It features a proc-macro based approach for declaring JSON-RPC APIs which you can then interact with using a number of different backends.