Releases: paritytech/jsonrpsee
v0.24.7
[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
- @hanabi1224 made their first contribution in #1475
Full Changelog: v0.24.6...v0.24.7
v0.24.6
[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
[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
- @IkerAlus made their first contribution in #1454
- @dcfreire made their first contribution in #1452
- @FabianLars made their first contribution in #1464
Full Changelog: v0.24.4...v0.24.5
v0.24.4
[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
v0.24.3
[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
[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]
Thanks to the external contributor @DaniPopes who contributed to this release.
Full Changelog: v0.24.1...v0.24.2
v0.24.1
[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
[v0.24.0] - 2024-07-05
A breaking release that mainly changes:
tls
feature for the client has been divided intotls
andtls-platform-verifier
where thetls
feature
will only includerustls
and no specific certificate store but the default one is stilltls-rustls-platform-verifier
.
This is useful if one wants to avoid bring on openssl dependencies.- Remove dependencies
anyhow
andbeef
from the codebase.
[Changed]
v0.23.2
[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 theWsTransport
.
[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