diff --git a/CHANGELOG.md b/CHANGELOG.md index f994f4aa75..5a69cfab20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ +## [v0.15.1] - 2022-07-29 + +This release fixes some incorrect tracing spans. + +### [Fixed] +- [Bug Fix] - Incorrect trace caused by use of Span::enter in asynchronous code [#835](https://github.com/paritytech/jsonrpsee/pull/835) + ## [v0.15.0] - 2022-07-20 v0.15.0 is a breaking release. The main changes are: diff --git a/benches/Cargo.toml b/benches/Cargo.toml index 58b980b530..58c3c5f406 100644 --- a/benches/Cargo.toml +++ b/benches/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-benchmarks" -version = "0.15.0" +version = "0.15.1" authors = ["Parity Technologies "] description = "Benchmarks for jsonrpsee" edition = "2021" diff --git a/client/http-client/Cargo.toml b/client/http-client/Cargo.toml index 92b29b251f..8c01de509f 100644 --- a/client/http-client/Cargo.toml +++ b/client/http-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-http-client" -version = "0.15.0" +version = "0.15.1" 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.15.0" } -jsonrpsee-core = { path = "../../core", version = "0.15.0", features = ["client", "http-helpers"] } +jsonrpsee-types = { path = "../../types", version = "0.15.1" } +jsonrpsee-core = { path = "../../core", version = "0.15.1", 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 4c67eb29ce..9495f7ad55 100644 --- a/client/transport/Cargo.toml +++ b/client/transport/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-client-transport" -version = "0.15.0" +version = "0.15.1" authors = ["Parity Technologies ", "Pierre Krieger "] description = "WebSocket client for JSON-RPC" edition = "2021" @@ -10,8 +10,8 @@ homepage = "https://github.com/paritytech/jsonrpsee" documentation = "https://docs.rs/jsonrpsee-ws-client" [dependencies] -jsonrpsee-types = { path = "../../types", version = "0.15.0", optional = true } -jsonrpsee-core = { path = "../../core", version = "0.15.0", features = ["client"] } +jsonrpsee-types = { path = "../../types", version = "0.15.1", optional = true } +jsonrpsee-core = { path = "../../core", version = "0.15.1", features = ["client"] } tracing = "0.1.34" # optional diff --git a/client/wasm-client/Cargo.toml b/client/wasm-client/Cargo.toml index 3c65e3a31a..9cf109183e 100644 --- a/client/wasm-client/Cargo.toml +++ b/client/wasm-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-wasm-client" -version = "0.15.0" +version = "0.15.1" authors = ["Parity Technologies ", "Pierre Krieger "] description = "WASM 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.15.0" } -jsonrpsee-client-transport = { path = "../transport", version = "0.15.0", features = ["web"] } -jsonrpsee-core = { path = "../../core", version = "0.15.0", features = ["async-wasm-client"] } +jsonrpsee-types = { path = "../../types", version = "0.15.1" } +jsonrpsee-client-transport = { path = "../transport", version = "0.15.1", features = ["web"] } +jsonrpsee-core = { path = "../../core", version = "0.15.1", features = ["async-wasm-client"] } [dev-dependencies] tracing-subscriber = { version = "0.3.3", features = ["env-filter"] } diff --git a/client/ws-client/Cargo.toml b/client/ws-client/Cargo.toml index 2e9feebec9..cd277c93c3 100644 --- a/client/ws-client/Cargo.toml +++ b/client/ws-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-ws-client" -version = "0.15.0" +version = "0.15.1" 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.15.0" } -jsonrpsee-client-transport = { path = "../transport", version = "0.15.0", features = ["ws"] } -jsonrpsee-core = { path = "../../core", version = "0.15.0", features = ["async-client"] } +jsonrpsee-types = { path = "../../types", version = "0.15.1" } +jsonrpsee-client-transport = { path = "../transport", version = "0.15.1", features = ["ws"] } +jsonrpsee-core = { path = "../../core", version = "0.15.1", features = ["async-client"] } http = "0.2.0" [dev-dependencies] diff --git a/core/Cargo.toml b/core/Cargo.toml index 375aa7eda0..091eb8c84d 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-core" -version = "0.15.0" +version = "0.15.1" 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.15.0" } +jsonrpsee-types = { path = "../types", version = "0.15.1" } 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 453b3b240e..2b8c5b1476 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-examples" -version = "0.15.0" +version = "0.15.1" authors = ["Parity Technologies "] description = "Examples for jsonrpsee" edition = "2021" diff --git a/http-server/Cargo.toml b/http-server/Cargo.toml index b9f67ae501..9558805bdf 100644 --- a/http-server/Cargo.toml +++ b/http-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-http-server" -version = "0.15.0" +version = "0.15.1" authors = ["Parity Technologies ", "Pierre Krieger "] description = "HTTP server for JSON-RPC" edition = "2021" @@ -13,8 +13,8 @@ documentation = "https://docs.rs/jsonrpsee-http-server" hyper = { version = "0.14.10", features = ["server", "http1", "http2", "tcp"] } futures-channel = "0.3.14" futures-util = { version = "0.3.14", default-features = false } -jsonrpsee-types = { path = "../types", version = "0.15.0" } -jsonrpsee-core = { path = "../core", version = "0.15.0", features = ["server", "http-helpers"] } +jsonrpsee-types = { path = "../types", version = "0.15.1" } +jsonrpsee-core = { path = "../core", version = "0.15.1", features = ["server", "http-helpers"] } tracing = "0.1.34" tracing-futures = "0.2.5" serde_json = { version = "1.0", features = ["raw_value"] } diff --git a/jsonrpsee/Cargo.toml b/jsonrpsee/Cargo.toml index a74c78ae8e..5d738d6d7e 100644 --- a/jsonrpsee/Cargo.toml +++ b/jsonrpsee/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "jsonrpsee" description = "JSON-RPC crate" -version = "0.15.0" +version = "0.15.1" authors = ["Parity Technologies ", "Pierre Krieger "] license = "MIT" edition = "2021" @@ -12,15 +12,15 @@ 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.15.0", optional = true } -jsonrpsee-ws-client = { path = "../client/ws-client", version = "0.15.0", optional = true } -jsonrpsee-wasm-client = { path = "../client/wasm-client", version = "0.15.0", optional = true } -jsonrpsee-client-transport = { path = "../client/transport", version = "0.15.0", optional = true } -jsonrpsee-http-server = { path = "../http-server", version = "0.15.0", optional = true } -jsonrpsee-ws-server = { path = "../ws-server", version = "0.15.0", optional = true } -jsonrpsee-proc-macros = { path = "../proc-macros", version = "0.15.0", optional = true } -jsonrpsee-core = { path = "../core", version = "0.15.0", optional = true } -jsonrpsee-types = { path = "../types", version = "0.15.0", optional = true } +jsonrpsee-http-client = { path = "../client/http-client", version = "0.15.1", optional = true } +jsonrpsee-ws-client = { path = "../client/ws-client", version = "0.15.1", optional = true } +jsonrpsee-wasm-client = { path = "../client/wasm-client", version = "0.15.1", optional = true } +jsonrpsee-client-transport = { path = "../client/transport", version = "0.15.1", optional = true } +jsonrpsee-http-server = { path = "../http-server", version = "0.15.1", optional = true } +jsonrpsee-ws-server = { path = "../ws-server", version = "0.15.1", optional = true } +jsonrpsee-proc-macros = { path = "../proc-macros", version = "0.15.1", optional = true } +jsonrpsee-core = { path = "../core", version = "0.15.1", optional = true } +jsonrpsee-types = { path = "../types", version = "0.15.1", optional = true } tracing = { version = "0.1.34", optional = true } [features] diff --git a/proc-macros/Cargo.toml b/proc-macros/Cargo.toml index 0d76327d9f..ac1070658f 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.15.0" +version = "0.15.1" authors = ["Parity Technologies ", "Pierre Krieger "] license = "MIT" edition = "2021" diff --git a/test-utils/Cargo.toml b/test-utils/Cargo.toml index be9b23d51c..e88d200beb 100644 --- a/test-utils/Cargo.toml +++ b/test-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-test-utils" -version = "0.15.0" +version = "0.15.1" authors = ["Parity Technologies "] license = "MIT" edition = "2021" diff --git a/tests/Cargo.toml b/tests/Cargo.toml index d39983b393..8192f85006 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-integration-tests" -version = "0.15.0" +version = "0.15.1" authors = ["Parity Technologies "] description = "Integration tests for jsonrpsee" edition = "2021" diff --git a/types/Cargo.toml b/types/Cargo.toml index 11e5e2e653..2c10e7e7ea 100644 --- a/types/Cargo.toml +++ b/types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-types" -version = "0.15.0" +version = "0.15.1" authors = ["Parity Technologies "] description = "Shared types for jsonrpsee" edition = "2021" diff --git a/ws-server/Cargo.toml b/ws-server/Cargo.toml index c95c47d308..384cae9255 100644 --- a/ws-server/Cargo.toml +++ b/ws-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-ws-server" -version = "0.15.0" +version = "0.15.1" authors = ["Parity Technologies ", "Pierre Krieger "] description = "WebSocket server for JSON-RPC" edition = "2021" @@ -12,8 +12,8 @@ documentation = "https://docs.rs/jsonrpsee-ws-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.15.0" } -jsonrpsee-core = { path = "../core", version = "0.15.0", features = ["server", "soketto"] } +jsonrpsee-types = { path = "../types", version = "0.15.1" } +jsonrpsee-core = { path = "../core", version = "0.15.1", features = ["server", "soketto"] } tracing = "0.1.34" serde_json = { version = "1", features = ["raw_value"] } soketto = "0.7.1"