Releases: paritytech/jsonrpsee
Releases · paritytech/jsonrpsee
v0.4.0
The v0.4 release is a breaking change.
[Added]
- Document resource limiting (#510)
- Resource limiting #500
- Support http redirects when doing the ws handshake #397
- Add convenience
rpc_params
macro to build params in http and ws clients #498 - Method alias attribute for proc macros #442
- Add benchmarks for concurrent connections #430
- Support generic type params in the proc macro #436
[Changed]
- use tokio::spawn internally in
HttpServer::start
and returnStopHandle
#402 - remove
ParamsSer::NoParams
#501 - http server uses similar API for host and origin filtering as
WS
#473 SubscriptionClosed
errors carry more information #504- Improve feature configuration for faster builds and leaner build artifacts #494
- Unbox async futures #495
- WS clients default subscription buffer set to 1024 items #475
- Re-export
v2
submodules #469 - Replace internal
array_impl macro
with const generics #470 - Rename and reorganize many public types #462
- Export acl types #466
- Propagate cause of
InvalidParams
#463 - Reject overflowing connection with status code 429 #456
- Test helper for calling and converting types to JSON-RPC params #458
- Make it possible to treat empty JSON response as no params #446
- Methods generated by the proc macro return
Result
#435 - Concurrent polling on async methods #424
- Sniff the first byte to glean if the incoming request is a single or batch request #419
- Upgrade hyper to ^0.14.10 #427
- Proc macro params optimizations and tests. #421
[Fixed]
- Proc macro Argument parsing should permit commas inside angle brackets #509
- Fix http client bench with request limit #506
- Fixed flaky test on windows #491
- Share the request id code between the http and websocket clients #490
- WS server terminates subscriptions when connection is closed by the client. #483
- Subscription code generated by the proc macro generated returns
Result
#455 - Proc macro generates documentation for trait methods. #453
- Fix errors with generics when using the proc macro #433
- WS client uses query part of the URL #429
[Removed]
v0.3.1
v0.2.0
v0.2.0-alpha.7
- unify error types in the servers. (#294)
- Fix clippy warning and enforce no warning in the CI (#273)
- Fix examples links (#297)
- [servers] return error if context or params fails (#295)
- [ws-server] Batch support (#300)
- [utils]: add futures util feature to server (#305)
- [ci]: fix workflow to run (#310)
- Add a test for calling methods with multiple params of multiple types (#308)
- [ws client] RegisterNotification support (#303)
- Change order of type params to register_method (#312)
- CI: optimize caching (#317)
- Bump actions/checkout from 2 to 2.3.4 (#315)
- Bump actions-rs/cargo from 1 to 1.0.3 (#314)
- Bump actions-rs/toolchain from 1 to 1.0.7 (#313)
- [ws server]: add logs (#319)
- Add certificate_store() to WsClientBuilder and enable native certificate store by default (#321)
- [servers] extract rpc modules to utils (#322)
- [types]: ID type instead of serde_json::RawValue (#325)
- Add unit-tests for the request/call (de)serialization (#326)
- [ws client]: fix faulty poll in test. (#330)
- Impl Deref/DerefMut for RpcContextModule (#331)
- Add timeouts to the futures in tests (#332)
- Switch from anyhow::Result to std Result (#333)
- [ws client]: parse path from the URL (#335)
- chore(deps): bump soketto to fix #337 (#341)
- [ws client]: return last seen error in connect (#338)
- chore(deps): update futures 0.3.14 (#342)
- chore(deps): relax async-std to 1 (#343)
- chore(release): 0.2.0-alpha.7 (#344)
v0.2.0-alpha.6
Patch release that fixes:
- Race condition in RequestIdGuard
- Make all AtomicIntegers
SeqCst
to be on the safe-side - Fix bad deserialization implementation of JSONRPC Error Object.