Skip to content

Releases: paritytech/jsonrpsee

v0.24.7

16 Oct 16:31
v0.24.7
9fa3f01
Compare
Choose a tag to compare

[v0.24.7] - 2024-10-16

This is a patch release that mainly fixes the tower::Service implementation to be generic over the HttpBody to work with all middleware layers. For instance, this makes tower_http::compression::CompressionLayer work, which didn't compile before.

[Added]

  • http client: add max_concurrent_requests (#1473)

[Fixed]

  • fix(server): make tower::Service impl generic over HttpBody (#1475)

New Contributors

Full Changelog: v0.24.6...v0.24.7

v0.24.6

07 Oct 15:35
v0.24.6
b3d548e
Compare
Choose a tag to compare

[v0.24.6] - 2024-10-07

This is a bug-fix release that fixes that the ConnectionGuard was dropped before the future was resolved which,
could lead to that HTTP calls were not counted correctly in the ConnectionGuard. This impacts only the server.

[Fixed]

  • fix(server): count http calls in connection guard (#1468)

Full Changelog: v0.24.5...v0.24.6

v0.24.5

26 Sep 08:13
v0.24.5
2de0f5d
Compare
Choose a tag to compare

[v0.24.5] - 2024-09-26

This is a patch release that mainly fixes a compilation issue for the server because the feature tower/util was not enabled.

[Fixed]

  • server: Enable tower util feature (#1464)

[Changed]

  • server: change http method_not_allowed message (#1452)

New Contributors

Full Changelog: v0.24.4...v0.24.5

v0.24.4

11 Sep 14:08
v0.24.4
4440a00
Compare
Choose a tag to compare

[v0.24.4] - 2024-09-11

This is non-breaking release that changes the error variants to be thiserror(transparent) for wrapped errors and adds ConnectionGuard to the extensions to make it possible to get the number of active connections.

[Added]

  • server: expose ConnectionGuard as request extension (#1443)

[Fixed]

  • types: use error(transparent) for wrapped errors when possible (#1449)

New Contributors

Full Changelog: v0.24.3...v0.24.4

v0.20.4

24 Aug 08:34
v0.20.4
889b38f
Compare
Choose a tag to compare

[v0.20.4] - 2024-08-24

This release enables HTTP/2 for http client which is backward compatible and
pure HTTP/1 connections will still work.

[Changed]

  • client: enable http2 for http client (#1445)

Full Changelog: v0.20.3...v0.20.4

v0.24.3

14 Aug 14:53
v0.24.3
6c2de38
Compare
Choose a tag to compare

[v0.24.3] - 2024-08-14

This is a small release that adds two new APIs to inject data via the extensions to the RpcModule/Methods
and it only impacts users that are using RpcModule directly via Methods::call/subscribe/raw_json_request (e.g., unit testing) and not the server itself.

[Added]

  • feat(server): add Methods::extensions/extensions_mut (#1440)

Full Changelog: v0.24.2...v0.24.3

v0.24.2

02 Aug 15:48
v0.24.2
c9e26b0
Compare
Choose a tag to compare

[v0.24.2] - 2024-08-02

Another small release that fixes:

  • Notifications without params were not handled correctly in the client, which been has been fixed.
  • Improve compile times and reduce code-generation in the proc macro crate.

[Fixed]

  • client: parse notification without params (#1436)
  • proc macros: remove direct tracing calls (#1405)

Thanks to the external contributor @DaniPopes who contributed to this release.

Full Changelog: v0.24.1...v0.24.2

v0.24.1

30 Jul 10:27
v0.24.1
65fcb8c
Compare
Choose a tag to compare

[v0.24.1] - 2024-07-30

This is a small release that forces jsonrpsee rustls to use the crypto backend ring which may panic if both ring and aws-lc features are enabled. See rustls/rustls#1877 for further information.

This has no impact on the default configuration of jsonrpsee which was already using ring as the default.

[Changed]

  • chore(deps): update gloo-net requirement from 0.5.0 to 0.6.0 (#1428)

[Fixed]

  • fix: Explicitly set rustls provider before using rustls (#1424)

Full Changelog: v0.24.0...v0.24.1

v0.24.0

09 Jul 08:56
v0.24.0
fc75a88
Compare
Choose a tag to compare

[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)
  • refactor(client+transport)!: split tls into tls and tls-rustls-platform-verifier features (#1419)
  • chore(deps): update rustc-hash requirement from 1 to 2 (#1410)
  • deps: remove anyhow (#1402)
  • deps: remove beef (#1401)

v0.23.2

26 Jun 09:31
v0.23.2
c6344f9
Compare
Choose a tag to compare

[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.
    This impacts users that are injecting their own TcpStream directly into the WsTransport.

[Added]

  • server: add RpcModule::remove (#1416)
  • server: add capacity and max_capacity to the subscription API (#1414)
  • server: add PendingSubscriptionSink::method_name (#1413)

[Fixed]

  • server: make ws::on_connect work again (#1418)
  • client: WsTransport::build_with_stream don't resolve sockaddrs (#1412)

Full Changelog: v0.23.1...v0.23.2