diff --git a/CHANGELOG.md b/CHANGELOG.md index 78768e43e9..3036daa261 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,24 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ +## [v0.22.4] - 2024-04-08 + +Yet another rather small release that fixes a cancel-safety issue that +could cause an unexpected panic when reading disconnect reason from the background task. + +Also this makes the API `Client::disconnect_reason` cancel-safe. + +### [Added] +- client: support batched notifications ([#1327](https://github.com/paritytech/jsonrpsee/pull/1327)) +- client: support batched subscription notifs ([#1332](https://github.com/paritytech/jsonrpsee/pull/1332)) + +### [Changed] +- client: downgrade logs from error/warn -> debug ([#1343](https://github.com/paritytech/jsonrpsee/pull/1343)) + +### [Fixed] +- Update MSRV to 1.74.1 in Cargo.toml ([#1338](https://github.com/paritytech/jsonrpsee/pull/1338)) +- client: disconnect_reason/read_error is now cancel-safe ([#1347](https://github.com/paritytech/jsonrpsee/pull/1347)) + ## [v0.22.3] - 2024-03-20 Another small release that adds a new API for RpcModule if one already has the state in an `Arc` diff --git a/Cargo.toml b/Cargo.toml index 89f69c8ad2..77a4320782 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ resolver = "2" [workspace.package] authors = ["Parity Technologies ", "Pierre Krieger "] -version = "0.22.3" +version = "0.22.4" edition = "2021" rust-version = "1.74.1" license = "MIT" @@ -30,11 +30,11 @@ keywords = ["jsonrpc", "json", "http", "websocket", "WASM"] readme = "README.md" [workspace.dependencies] -jsonrpsee-types = { path = "types", version = "0.22.3" } -jsonrpsee-core = { path = "core", version = "0.22.3" } -jsonrpsee-server = { path = "server", version = "0.22.3" } -jsonrpsee-ws-client = { path = "client/ws-client", version = "0.22.3" } -jsonrpsee-http-client = { path = "client/http-client", version = "0.22.3" } -jsonrpsee-wasm-client = { path = "client/wasm-client", version = "0.22.3" } -jsonrpsee-client-transport = { path = "client/transport", version = "0.22.3" } -jsonrpsee-proc-macros = { path = "proc-macros", version = "0.22.3" } +jsonrpsee-types = { path = "types", version = "0.22.4" } +jsonrpsee-core = { path = "core", version = "0.22.4" } +jsonrpsee-server = { path = "server", version = "0.22.4" } +jsonrpsee-ws-client = { path = "client/ws-client", version = "0.22.4" } +jsonrpsee-http-client = { path = "client/http-client", version = "0.22.4" } +jsonrpsee-wasm-client = { path = "client/wasm-client", version = "0.22.4" } +jsonrpsee-client-transport = { path = "client/transport", version = "0.22.4" } +jsonrpsee-proc-macros = { path = "proc-macros", version = "0.22.4" } diff --git a/README.md b/README.md index c70f0e9565..07a5188235 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ ![MIT](https://img.shields.io/crates/l/jsonrpsee.svg) [![CI](https://github.com/paritytech/jsonrpsee/actions/workflows/ci.yml/badge.svg)](https://github.com/paritytech/jsonrpsee/actions/workflows/ci.yml) [![Benchmarks](https://github.com/paritytech/jsonrpsee/actions/workflows/benchmarks_gitlab.yml/badge.svg)](https://github.com/paritytech/jsonrpsee/actions/workflows/benchmarks_gitlab.yml) -[![dependency status](https://deps.rs/crate/jsonrpsee/0.21.0/status.svg)](https://deps.rs/crate/jsonrpsee/0.21.0) +[![dependency status](https://deps.rs/crate/jsonrpsee/0.22.4/status.svg)](https://deps.rs/crate/jsonrpsee/0.22.4) JSON-RPC library designed for async/await in Rust. @@ -50,7 +50,7 @@ If your project uses `jsonrpsee` we would like to know. Please open a pull reque - [subwasm](https://github.com/chevdor/subwasm) - [subway](https://github.com/AcalaNetwork/subway) - [subxt](https://github.com/paritytech/subxt) -- [Trin](https://github.com/ethereum/trin) +- [Trin](https://github.com/ethereum/trin) - [Uptest](https://github.com/uptest-sc/uptest) - [zkSync Era](https://github.com/matter-labs/zksync-era)