diff --git a/CHANGELOG.md b/CHANGELOG.md index bad4d96927..813d9bf592 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,20 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ +## [v0.16.2] - 2022-12-01 + +This release adds `Clone` and `Copy` implementations. + +### [Fixed] + +- fix(rpc module): make async closures Clone ([#948](https://github.com/paritytech/jsonrpsee/pull/948)) +- fix(ci): wasm tests ([#946](https://github.com/paritytech/jsonrpsee/pull/946)) + +### [Added] + +- add missing `Clone` and `Copy` impls ([#951](https://github.com/paritytech/jsonrpsee/pull/951)) +- TowerService should be clone-able for handling concurrent request ([#950](https://github.com/paritytech/jsonrpsee/pull/950)) + ## [v0.16.1] - 2022-11-18 v0.16.1 is release that adds two new APIs to server `http_only` and `ws_only` to make it possible to allow only HTTP respectively WebSocket. diff --git a/benches/Cargo.toml b/benches/Cargo.toml index db795cfd12..c0a9a4562d 100644 --- a/benches/Cargo.toml +++ b/benches/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-benchmarks" -version = "0.16.1" +version = "0.16.2" authors = ["Parity Technologies "] description = "Benchmarks for jsonrpsee" edition = "2021" diff --git a/client/http-client/Cargo.toml b/client/http-client/Cargo.toml index 1b5a2bf37c..524e737b65 100644 --- a/client/http-client/Cargo.toml +++ b/client/http-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-http-client" -version = "0.16.1" +version = "0.16.2" authors = ["Parity Technologies ", "Pierre Krieger "] description = "HTTP client for JSON-RPC" edition = "2021" @@ -14,8 +14,8 @@ async-trait = "0.1" rustc-hash = "1" hyper = { version = "0.14.10", features = ["client", "http1", "http2", "tcp"] } hyper-rustls = { version = "0.23", optional = true } -jsonrpsee-types = { path = "../../types", version = "0.16.1" } -jsonrpsee-core = { path = "../../core", version = "0.16.1", features = ["client", "http-helpers"] } +jsonrpsee-types = { path = "../../types", version = "0.16.2" } +jsonrpsee-core = { path = "../../core", version = "0.16.2", features = ["client", "http-helpers"] } serde = { version = "1.0", default-features = false, features = ["derive"] } serde_json = "1.0" thiserror = "1.0" diff --git a/client/transport/Cargo.toml b/client/transport/Cargo.toml index 7e5738476e..016b3bb657 100644 --- a/client/transport/Cargo.toml +++ b/client/transport/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-client-transport" -version = "0.16.1" +version = "0.16.2" authors = ["Parity Technologies ", "Pierre Krieger "] description = "JSON-RPC client transport" edition = "2021" @@ -10,8 +10,8 @@ homepage = "https://github.com/paritytech/jsonrpsee" documentation = "https://docs.rs/jsonrpsee-client-transport" [dependencies] -jsonrpsee-types = { path = "../../types", version = "0.16.1", optional = true } -jsonrpsee-core = { path = "../../core", version = "0.16.1", features = ["client"] } +jsonrpsee-types = { path = "../../types", version = "0.16.2", optional = true } +jsonrpsee-core = { path = "../../core", version = "0.16.2", features = ["client"] } tracing = "0.1.34" # optional diff --git a/client/wasm-client/Cargo.toml b/client/wasm-client/Cargo.toml index 55240bd058..ff1c60846a 100644 --- a/client/wasm-client/Cargo.toml +++ b/client/wasm-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-wasm-client" -version = "0.16.1" +version = "0.16.2" authors = ["Parity Technologies ", "Pierre Krieger "] description = "WASM client for JSON-RPC" edition = "2021" @@ -10,6 +10,6 @@ homepage = "https://github.com/paritytech/jsonrpsee" documentation = "https://docs.rs/jsonrpsee-wasm-client" [dependencies] -jsonrpsee-types = { path = "../../types", version = "0.16.1" } -jsonrpsee-client-transport = { path = "../transport", version = "0.16.1", features = ["web"] } -jsonrpsee-core = { path = "../../core", version = "0.16.1", features = ["async-wasm-client"] } +jsonrpsee-types = { path = "../../types", version = "0.16.2" } +jsonrpsee-client-transport = { path = "../transport", version = "0.16.2", features = ["web"] } +jsonrpsee-core = { path = "../../core", version = "0.16.2", features = ["async-wasm-client"] } diff --git a/client/ws-client/Cargo.toml b/client/ws-client/Cargo.toml index c73047fcc0..0da51861dc 100644 --- a/client/ws-client/Cargo.toml +++ b/client/ws-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-ws-client" -version = "0.16.1" +version = "0.16.2" authors = ["Parity Technologies ", "Pierre Krieger "] description = "WebSocket client for JSON-RPC" edition = "2021" @@ -10,9 +10,9 @@ homepage = "https://github.com/paritytech/jsonrpsee" documentation = "https://docs.rs/jsonrpsee-ws-client" [dependencies] -jsonrpsee-types = { path = "../../types", version = "0.16.1" } -jsonrpsee-client-transport = { path = "../transport", version = "0.16.1", features = ["ws"] } -jsonrpsee-core = { path = "../../core", version = "0.16.1", features = ["async-client"] } +jsonrpsee-types = { path = "../../types", version = "0.16.2" } +jsonrpsee-client-transport = { path = "../transport", version = "0.16.2", features = ["ws"] } +jsonrpsee-core = { path = "../../core", version = "0.16.2", features = ["async-client"] } http = "0.2.0" [dev-dependencies] diff --git a/core/Cargo.toml b/core/Cargo.toml index ffc051b456..24302a5057 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-core" -version = "0.16.1" +version = "0.16.2" authors = ["Parity Technologies "] description = "Utilities for jsonrpsee" edition = "2021" @@ -11,7 +11,7 @@ anyhow = "1" async-trait = "0.1" beef = { version = "0.5.1", features = ["impl_serde"] } futures-channel = "0.3.14" -jsonrpsee-types = { path = "../types", version = "0.16.1" } +jsonrpsee-types = { path = "../types", version = "0.16.2" } thiserror = "1" serde = { version = "1.0", default-features = false, features = ["derive"] } serde_json = { version = "1", features = ["raw_value"] } diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 2fc0acef31..c0b0c64901 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-examples" -version = "0.16.1" +version = "0.16.2" authors = ["Parity Technologies "] description = "Examples for jsonrpsee" edition = "2021" diff --git a/jsonrpsee/Cargo.toml b/jsonrpsee/Cargo.toml index 2f07fd15c4..7048beb97c 100644 --- a/jsonrpsee/Cargo.toml +++ b/jsonrpsee/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "jsonrpsee" description = "JSON-RPC crate" -version = "0.16.1" +version = "0.16.2" authors = ["Parity Technologies ", "Pierre Krieger "] license = "MIT" edition = "2021" @@ -12,14 +12,14 @@ documentation = "https://docs.rs/jsonrpsee" [dependencies] # No support for namespaced features yet so workspace dependencies are prefixed with `jsonrpsee-`. # See https://github.com/rust-lang/cargo/issues/5565 for more details. -jsonrpsee-http-client = { path = "../client/http-client", version = "0.16.1", optional = true } -jsonrpsee-ws-client = { path = "../client/ws-client", version = "0.16.1", optional = true } -jsonrpsee-wasm-client = { path = "../client/wasm-client", version = "0.16.1", optional = true } -jsonrpsee-client-transport = { path = "../client/transport", version = "0.16.1", optional = true } -jsonrpsee-server = { path = "../server", version = "0.16.1", optional = true } -jsonrpsee-proc-macros = { path = "../proc-macros", version = "0.16.1", optional = true } -jsonrpsee-core = { path = "../core", version = "0.16.1", optional = true } -jsonrpsee-types = { path = "../types", version = "0.16.1", optional = true } +jsonrpsee-http-client = { path = "../client/http-client", version = "0.16.2", optional = true } +jsonrpsee-ws-client = { path = "../client/ws-client", version = "0.16.2", optional = true } +jsonrpsee-wasm-client = { path = "../client/wasm-client", version = "0.16.2", optional = true } +jsonrpsee-client-transport = { path = "../client/transport", version = "0.16.2", optional = true } +jsonrpsee-server = { path = "../server", version = "0.16.2", optional = true } +jsonrpsee-proc-macros = { path = "../proc-macros", version = "0.16.2", optional = true } +jsonrpsee-core = { path = "../core", version = "0.16.2", optional = true } +jsonrpsee-types = { path = "../types", version = "0.16.2", optional = true } tracing = { version = "0.1.34", optional = true } [features] diff --git a/proc-macros/Cargo.toml b/proc-macros/Cargo.toml index 823cc36749..091b0805d1 100644 --- a/proc-macros/Cargo.toml +++ b/proc-macros/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "jsonrpsee-proc-macros" description = "Procedueral macros for jsonrpsee" -version = "0.16.1" +version = "0.16.2" authors = ["Parity Technologies ", "Pierre Krieger "] license = "MIT" edition = "2021" diff --git a/server/Cargo.toml b/server/Cargo.toml index aef437c58f..6b9a162dc5 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-server" -version = "0.16.1" +version = "0.16.2" authors = ["Parity Technologies ", "Pierre Krieger "] description = "JSON-RPC server that supports HTTP and WebSocket transports" edition = "2021" @@ -12,8 +12,8 @@ documentation = "https://docs.rs/jsonrpsee-server" [dependencies] futures-channel = "0.3.14" futures-util = { version = "0.3.14", default-features = false, features = ["io", "async-await-macro"] } -jsonrpsee-types = { path = "../types", version = "0.16.1" } -jsonrpsee-core = { path = "../core", version = "0.16.1", features = ["server", "soketto", "http-helpers"] } +jsonrpsee-types = { path = "../types", version = "0.16.2" } +jsonrpsee-core = { path = "../core", version = "0.16.2", features = ["server", "soketto", "http-helpers"] } tracing = "0.1.34" serde = "1" serde_json = { version = "1", features = ["raw_value"] } diff --git a/test-utils/Cargo.toml b/test-utils/Cargo.toml index d69c37e9f8..3a420cb750 100644 --- a/test-utils/Cargo.toml +++ b/test-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-test-utils" -version = "0.16.1" +version = "0.16.2" authors = ["Parity Technologies "] license = "MIT" edition = "2021" diff --git a/tests/Cargo.toml b/tests/Cargo.toml index c4e570063a..e9dcfcb6b8 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-integration-tests" -version = "0.16.1" +version = "0.16.2" authors = ["Parity Technologies "] description = "Integration tests for jsonrpsee" edition = "2021" diff --git a/types/Cargo.toml b/types/Cargo.toml index 00887351c4..ae61b067fe 100644 --- a/types/Cargo.toml +++ b/types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-types" -version = "0.16.1" +version = "0.16.2" authors = ["Parity Technologies "] description = "Shared types for jsonrpsee" edition = "2021"