Skip to content

Commit

Permalink
chore: release v0.24.0 (#1422)
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasad1 authored Jul 8, 2024
1 parent 87999cf commit fc75a88
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 10 deletions.
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,41 @@ The format is based on [Keep a Changelog].

[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/

## [v0.24.0] - 2024-07-05

A breaking release that mainly changes:

1. `tls` feature for the client has been divided into `tls` and `tls-platform-verifier` where the `tls` feature
will only include `rustls` and no specific certificate store but the default one is still `tls-rustls-platform-verifier`.
This is useful if one wants to avoid bring on openssl dependencies.
2. Remove dependencies `anyhow` and `beef` from the codebase.

### [Changed]
- types: serialize `id` in `Response` before `result`/`error` fields ([#1421](https://github.com/paritytech/jsonrpsee/pull/1421))
- refactor(client+transport)!: split `tls` into `tls` and `tls-rustls-platform-verifier` features ([#1419](https://github.com/paritytech/jsonrpsee/pull/1419))
- chore(deps): update rustc-hash requirement from 1 to 2 ([#1410](https://github.com/paritytech/jsonrpsee/pull/1410))
- deps: remove anyhow ([#1402](https://github.com/paritytech/jsonrpsee/pull/1402))
- deps: remove beef ([#1401](https://github.com/paritytech/jsonrpsee/pull/1401))

## [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
Expand Down
18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ resolver = "2"

[workspace.package]
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
version = "0.23.1"
version = "0.24.0"
edition = "2021"
rust-version = "1.74.1"
license = "MIT"
Expand All @@ -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.24.0" }
jsonrpsee-core = { path = "core", version = "0.24.0" }
jsonrpsee-server = { path = "server", version = "0.24.0" }
jsonrpsee-ws-client = { path = "client/ws-client", version = "0.24.0" }
jsonrpsee-http-client = { path = "client/http-client", version = "0.24.0" }
jsonrpsee-wasm-client = { path = "client/wasm-client", version = "0.24.0" }
jsonrpsee-client-transport = { path = "client/transport", version = "0.24.0" }
jsonrpsee-proc-macros = { path = "proc-macros", version = "0.24.0" }
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.24.0/status.svg)](https://deps.rs/crate/jsonrpsee/0.24.0)

JSON-RPC library designed for async/await in Rust.

Expand Down

0 comments on commit fc75a88

Please sign in to comment.