From fd450cf5862e2b5bf94ab139dc1e8e804eb0cd72 Mon Sep 17 00:00:00 2001 From: Niklas Adolfsson Date: Wed, 11 May 2022 11:03:47 +0200 Subject: [PATCH] chore(release): v0.13.0 --- CHANGELOG.md | 12 ++++++++++++ benches/Cargo.toml | 2 +- client/http-client/Cargo.toml | 6 +++--- client/transport/Cargo.toml | 6 +++--- client/wasm-client/Cargo.toml | 8 ++++---- client/ws-client/Cargo.toml | 8 ++++---- core/Cargo.toml | 4 ++-- examples/Cargo.toml | 2 +- http-server/Cargo.toml | 6 +++--- jsonrpsee/Cargo.toml | 20 ++++++++++---------- proc-macros/Cargo.toml | 2 +- test-utils/Cargo.toml | 2 +- tests/Cargo.toml | 2 +- types/Cargo.toml | 2 +- ws-server/Cargo.toml | 6 +++--- 15 files changed, 50 insertions(+), 38 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bac35102f3..a7f79bb6a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,18 @@ The format is based on [Keep a Changelog]. ## [Unreleased] +## [v0.13.0] - 2022-05-11 + +v0.13.0 is release that adds support health API for HTTP server and a few bug fixes. + +### [Added] +feat: add http health API [#763](https://github.com/paritytech/jsonrpsee/pull/763) + +### [Fixed] +- hide internal macros from public interface [#755](https://github.com/paritytech/jsonrpsee/pull/755) +- fix: add `core` behind `http-server` feature [#760](https://github.com/paritytech/jsonrpsee/pull/760) + + ## [v0.12.0] - 2022-05-06 v0.12.0 is mainly a patch release with some minor features added. diff --git a/benches/Cargo.toml b/benches/Cargo.toml index d789df05cf..1251414faa 100644 --- a/benches/Cargo.toml +++ b/benches/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-benchmarks" -version = "0.12.0" +version = "0.13.0" authors = ["Parity Technologies "] description = "Benchmarks for jsonrpsee" edition = "2021" diff --git a/client/http-client/Cargo.toml b/client/http-client/Cargo.toml index 89cba33afb..3435e11a0f 100644 --- a/client/http-client/Cargo.toml +++ b/client/http-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-http-client" -version = "0.12.0" +version = "0.13.0" 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.12.0" } -jsonrpsee-core = { path = "../../core", version = "0.12.0", features = ["client", "http-helpers"] } +jsonrpsee-types = { path = "../../types", version = "0.13.0" } +jsonrpsee-core = { path = "../../core", version = "0.13.0", 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 a4eaacb041..5bf8cb7674 100644 --- a/client/transport/Cargo.toml +++ b/client/transport/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-client-transport" -version = "0.12.0" +version = "0.13.0" 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.12.0", optional = true } -jsonrpsee-core = { path = "../../core", version = "0.12.0", features = ["client"] } +jsonrpsee-types = { path = "../../types", version = "0.13.0", optional = true } +jsonrpsee-core = { path = "../../core", version = "0.13.0", features = ["client"] } tracing = "0.1" # optional diff --git a/client/wasm-client/Cargo.toml b/client/wasm-client/Cargo.toml index 749e1a9977..8b21e1a5c3 100644 --- a/client/wasm-client/Cargo.toml +++ b/client/wasm-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-wasm-client" -version = "0.12.0" +version = "0.13.0" 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.12.0" } -jsonrpsee-client-transport = { path = "../transport", version = "0.12.0", features = ["web"] } -jsonrpsee-core = { path = "../../core", version = "0.12.0", features = ["async-wasm-client"] } +jsonrpsee-types = { path = "../../types", version = "0.13.0" } +jsonrpsee-client-transport = { path = "../transport", version = "0.13.0", features = ["web"] } +jsonrpsee-core = { path = "../../core", version = "0.13.0", features = ["async-wasm-client"] } [dev-dependencies] env_logger = "0.9" diff --git a/client/ws-client/Cargo.toml b/client/ws-client/Cargo.toml index 6035f13a6d..ba947abee6 100644 --- a/client/ws-client/Cargo.toml +++ b/client/ws-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-ws-client" -version = "0.12.0" +version = "0.13.0" 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.12.0" } -jsonrpsee-client-transport = { path = "../transport", version = "0.12.0", features = ["ws"] } -jsonrpsee-core = { path = "../../core", version = "0.12.0", features = ["async-client"] } +jsonrpsee-types = { path = "../../types", version = "0.13.0" } +jsonrpsee-client-transport = { path = "../transport", version = "0.13.0", features = ["ws"] } +jsonrpsee-core = { path = "../../core", version = "0.13.0", features = ["async-client"] } [dev-dependencies] env_logger = "0.9" diff --git a/core/Cargo.toml b/core/Cargo.toml index 0c6556b5ff..74587333ff 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-core" -version = "0.12.0" +version = "0.13.0" 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.12.0" } +jsonrpsee-types = { path = "../types", version = "0.13.0" } 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 4bb9302ea1..31f2e42638 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-examples" -version = "0.12.0" +version = "0.13.0" authors = ["Parity Technologies "] description = "Examples for jsonrpsee" edition = "2021" diff --git a/http-server/Cargo.toml b/http-server/Cargo.toml index 13a6ecfe90..3ba1adb90b 100644 --- a/http-server/Cargo.toml +++ b/http-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-http-server" -version = "0.12.0" +version = "0.13.0" 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.12.0" } -jsonrpsee-core = { path = "../core", version = "0.12.0", features = ["server", "http-helpers"] } +jsonrpsee-types = { path = "../types", version = "0.13.0" } +jsonrpsee-core = { path = "../core", version = "0.13.0", features = ["server", "http-helpers"] } globset = "0.4" lazy_static = "1.4" tracing = "0.1" diff --git a/jsonrpsee/Cargo.toml b/jsonrpsee/Cargo.toml index ad3007437f..e979f9543a 100644 --- a/jsonrpsee/Cargo.toml +++ b/jsonrpsee/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "jsonrpsee" description = "JSON-RPC crate" -version = "0.12.0" +version = "0.13.0" 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.12.0", optional = true } -jsonrpsee-ws-client = { path = "../client/ws-client", version = "0.12.0", optional = true } -jsonrpsee-wasm-client = { path = "../client/wasm-client", version = "0.12.0", optional = true } -jsonrpsee-client-transport = { path = "../client/transport", version = "0.12.0", optional = true } -jsonrpsee-http-server = { path = "../http-server", version = "0.12.0", optional = true } -jsonrpsee-ws-server = { path = "../ws-server", version = "0.12.0", optional = true } -jsonrpsee-proc-macros = { path = "../proc-macros", version = "0.12.0", optional = true } -jsonrpsee-core = { path = "../core", version = "0.12.0", optional = true } -jsonrpsee-types = { path = "../types", version = "0.12.0", optional = true } +jsonrpsee-http-client = { path = "../client/http-client", version = "0.13.0", optional = true } +jsonrpsee-ws-client = { path = "../client/ws-client", version = "0.13.0", optional = true } +jsonrpsee-wasm-client = { path = "../client/wasm-client", version = "0.13.0", optional = true } +jsonrpsee-client-transport = { path = "../client/transport", version = "0.13.0", optional = true } +jsonrpsee-http-server = { path = "../http-server", version = "0.13.0", optional = true } +jsonrpsee-ws-server = { path = "../ws-server", version = "0.13.0", optional = true } +jsonrpsee-proc-macros = { path = "../proc-macros", version = "0.13.0", optional = true } +jsonrpsee-core = { path = "../core", version = "0.13.0", optional = true } +jsonrpsee-types = { path = "../types", version = "0.13.0", optional = true } tracing = { version = "0.1", optional = true } [features] diff --git a/proc-macros/Cargo.toml b/proc-macros/Cargo.toml index 33eb049fd7..55267372c3 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.12.0" +version = "0.13.0" authors = ["Parity Technologies ", "Pierre Krieger "] license = "MIT" edition = "2021" diff --git a/test-utils/Cargo.toml b/test-utils/Cargo.toml index c33c282d16..01b1f7711a 100644 --- a/test-utils/Cargo.toml +++ b/test-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-test-utils" -version = "0.12.0" +version = "0.13.0" authors = ["Parity Technologies "] license = "MIT" edition = "2021" diff --git a/tests/Cargo.toml b/tests/Cargo.toml index bd39cc240e..5227abf7f0 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-integration-tests" -version = "0.12.0" +version = "0.13.0" authors = ["Parity Technologies "] description = "Integration tests for jsonrpsee" edition = "2021" diff --git a/types/Cargo.toml b/types/Cargo.toml index 8a7129c9cc..17457f9c3c 100644 --- a/types/Cargo.toml +++ b/types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-types" -version = "0.12.0" +version = "0.13.0" authors = ["Parity Technologies "] description = "Shared types for jsonrpsee" edition = "2021" diff --git a/ws-server/Cargo.toml b/ws-server/Cargo.toml index 335349ea62..f705f50c1c 100644 --- a/ws-server/Cargo.toml +++ b/ws-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrpsee-ws-server" -version = "0.12.0" +version = "0.13.0" 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.12.0" } -jsonrpsee-core = { path = "../core", version = "0.12.0", features = ["server", "soketto"] } +jsonrpsee-types = { path = "../types", version = "0.13.0" } +jsonrpsee-core = { path = "../core", version = "0.13.0", features = ["server", "soketto"] } tracing = "0.1" serde_json = { version = "1", features = ["raw_value"] } soketto = "0.7.1"