diff --git a/CHANGELOG.md b/CHANGELOG.md index 8baf450833..2cb46cb67c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,25 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ +## [v0.23.2] - 2024-06-26 + +This a small patch release that fixes a couple of bugs and adds a couple of new APIs. + +The bug fixes are: +- The `server::ws::on_connect` was not working properly due to a merge nit when upgrading to hyper v1.0 + This impacts only users that are using the low-level API and not the server itself. +- `WsTransport::build_with_stream` shouldn't not resolve the socket addresses and it's fixed now, [see #1411 for further info](https://github.com/paritytech/jsonrpsee/issues/1411). + This impacts users that are inject their own TcpStream directly into the `WsTransport`. + +### [Added] +- server: add `RpcModule::remove` ([#1416](https://github.com/paritytech/jsonrpsee/pull/1416)) +- server: add `capacity and max_capacity` to the subscription API ([#1414](https://github.com/paritytech/jsonrpsee/pull/1414)) +- server: add `PendingSubscriptionSink::method_name` ([#1413](https://github.com/paritytech/jsonrpsee/pull/1413)) + +### [Fixed] +- server: make `ws::on_connect` work again ([#1418](https://github.com/paritytech/jsonrpsee/pull/1418)) +- client: `WsTransport::build_with_stream` don't resolve sockaddrs ([#1412](https://github.com/paritytech/jsonrpsee/pull/1412)) + ## [v0.23.1] - 2024-06-10 This is a patch release that injects the ConnectionId in diff --git a/Cargo.toml b/Cargo.toml index 55fdec50ee..216ba85f12 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ resolver = "2" [workspace.package] authors = ["Parity Technologies ", "Pierre Krieger "] -version = "0.23.1" +version = "0.23.2" edition = "2021" rust-version = "1.74.1" license = "MIT" @@ -31,11 +31,11 @@ keywords = ["jsonrpc", "json", "http", "websocket", "WASM"] readme = "README.md" [workspace.dependencies] -jsonrpsee-types = { path = "types", version = "0.23.1" } -jsonrpsee-core = { path = "core", version = "0.23.1" } -jsonrpsee-server = { path = "server", version = "0.23.1" } -jsonrpsee-ws-client = { path = "client/ws-client", version = "0.23.1" } -jsonrpsee-http-client = { path = "client/http-client", version = "0.23.1" } -jsonrpsee-wasm-client = { path = "client/wasm-client", version = "0.23.1" } -jsonrpsee-client-transport = { path = "client/transport", version = "0.23.1" } -jsonrpsee-proc-macros = { path = "proc-macros", version = "0.23.1" } +jsonrpsee-types = { path = "types", version = "0.23.2" } +jsonrpsee-core = { path = "core", version = "0.23.2" } +jsonrpsee-server = { path = "server", version = "0.23.2" } +jsonrpsee-ws-client = { path = "client/ws-client", version = "0.23.2" } +jsonrpsee-http-client = { path = "client/http-client", version = "0.23.2" } +jsonrpsee-wasm-client = { path = "client/wasm-client", version = "0.23.2" } +jsonrpsee-client-transport = { path = "client/transport", version = "0.23.2" } +jsonrpsee-proc-macros = { path = "proc-macros", version = "0.23.2" } diff --git a/README.md b/README.md index 347f690621..7e12587f35 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.23.1/status.svg)](https://deps.rs/crate/jsonrpsee/0.23.1) +[![dependency status](https://deps.rs/crate/jsonrpsee/0.23.2/status.svg)](https://deps.rs/crate/jsonrpsee/0.23.2) JSON-RPC library designed for async/await in Rust.