This repository has been archived by the owner on Aug 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
bump(deps): update rust crate jsonrpsee to 0.20.0 #84
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/jsonrpsee-0.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❌ Deploy Preview for metachain failed.
|
defichain-bot
added
area/meta
kind/dependencies
Pull requests that update a dependency file
meta/node
labels
Sep 12, 2022
renovate
bot
force-pushed
the
renovate/jsonrpsee-0.x
branch
from
October 3, 2022 16:51
5b13bc8
to
e481115
Compare
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #84 +/- ##
==========================================
+ Coverage 3.96% 89.47% +85.50%
==========================================
Files 10 4 -6
Lines 1766 57 -1709
Branches 0 3 +3
==========================================
- Hits 70 51 -19
+ Misses 1696 6 -1690 ☔ View full report in Codecov by Sentry. |
renovate
bot
force-pushed
the
renovate/jsonrpsee-0.x
branch
from
October 31, 2022 08:37
e481115
to
2d4fcc5
Compare
renovate
bot
force-pushed
the
renovate/jsonrpsee-0.x
branch
from
November 9, 2022 18:35
2d4fcc5
to
7540b75
Compare
renovate
bot
changed the title
bump(deps): update rust crate jsonrpsee to 0.15.1
bump(deps): update rust crate jsonrpsee to 0.16.0
Nov 9, 2022
renovate
bot
force-pushed
the
renovate/jsonrpsee-0.x
branch
from
November 18, 2022 18:30
7540b75
to
8d5fd06
Compare
renovate
bot
changed the title
bump(deps): update rust crate jsonrpsee to 0.16.0
bump(deps): update rust crate jsonrpsee to 0.16.1
Nov 18, 2022
renovate
bot
force-pushed
the
renovate/jsonrpsee-0.x
branch
from
December 1, 2022 14:33
8d5fd06
to
add5e2d
Compare
renovate
bot
changed the title
bump(deps): update rust crate jsonrpsee to 0.16.1
bump(deps): update rust crate jsonrpsee to 0.16.2
Dec 1, 2022
renovate
bot
force-pushed
the
renovate/jsonrpsee-0.x
branch
from
December 12, 2022 04:01
add5e2d
to
44aaa39
Compare
renovate
bot
changed the title
bump(deps): update rust crate jsonrpsee to 0.16.2
Update Rust crate jsonrpsee to 0.16.2
Dec 17, 2022
defichain-bot
removed
the
kind/dependencies
Pull requests that update a dependency file
label
Dec 17, 2022
renovate
bot
changed the title
Update Rust crate jsonrpsee to 0.16.2
bump(deps): update rust crate jsonrpsee to 0.16.2
Dec 17, 2022
defichain-bot
added
the
kind/dependencies
Pull requests that update a dependency file
label
Dec 17, 2022
renovate
bot
force-pushed
the
renovate/jsonrpsee-0.x
branch
from
March 17, 2023 12:14
44aaa39
to
1c0b7e4
Compare
renovate
bot
force-pushed
the
renovate/jsonrpsee-0.x
branch
from
April 18, 2023 12:11
1c0b7e4
to
4ba4ac2
Compare
renovate
bot
changed the title
bump(deps): update rust crate jsonrpsee to 0.16.2
bump(deps): update rust crate jsonrpsee to 0.17.0
Apr 18, 2023
renovate
bot
force-pushed
the
renovate/jsonrpsee-0.x
branch
from
April 21, 2023 15:07
4ba4ac2
to
5aedb18
Compare
renovate
bot
changed the title
bump(deps): update rust crate jsonrpsee to 0.17.0
bump(deps): update rust crate jsonrpsee to 0.17.1
Apr 21, 2023
renovate
bot
force-pushed
the
renovate/jsonrpsee-0.x
branch
from
April 24, 2023 15:05
5aedb18
to
c8f8335
Compare
renovate
bot
changed the title
bump(deps): update rust crate jsonrpsee to 0.17.1
bump(deps): update rust crate jsonrpsee to 0.18.0
Apr 24, 2023
renovate
bot
force-pushed
the
renovate/jsonrpsee-0.x
branch
from
April 27, 2023 19:22
c8f8335
to
7e1644a
Compare
renovate
bot
changed the title
bump(deps): update rust crate jsonrpsee to 0.18.0
bump(deps): update rust crate jsonrpsee to 0.18.1
Apr 27, 2023
renovate
bot
force-pushed
the
renovate/jsonrpsee-0.x
branch
from
May 28, 2023 09:40
7e1644a
to
1d46e62
Compare
renovate
bot
changed the title
bump(deps): update rust crate jsonrpsee to 0.18.1
bump(deps): update rust crate jsonrpsee to 0.18.2
May 28, 2023
renovate
bot
force-pushed
the
renovate/jsonrpsee-0.x
branch
from
July 24, 2023 13:39
1d46e62
to
cd3d227
Compare
renovate
bot
changed the title
bump(deps): update rust crate jsonrpsee to 0.18.2
bump(deps): update rust crate jsonrpsee to 0.19.0
Jul 24, 2023
renovate
bot
changed the title
bump(deps): update rust crate jsonrpsee to 0.19.0
bump(deps): update rust crate jsonrpsee to 0.20.0
Aug 11, 2023
renovate
bot
force-pushed
the
renovate/jsonrpsee-0.x
branch
from
August 11, 2023 16:19
cd3d227
to
c5c9e20
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.15.1
->0.20.0
Release Notes
paritytech/jsonrpsee (jsonrpsee)
v0.20.0
Compare Source
Another breaking release where the major changes are:
host filtering
has been moved to tower middleware instead of the server API.wss://my.server.com
Regarding host filtering prior to this release one had to do:
After this release then one have to do:
Thanks to the external contributors @polachok, @bobs4462 and @aj3n that contributed to this release.
[Added]
SubscriptionMessage::new
(#1176)SubscriptionSink::connection_id
(#1175)Params::get
(#1173)PendingSubscriptionSink::connection_id
(#1163)[Fixed]
[Changed]
&str
(#1160)RootCertStore::add_trust_anchors
(#1165)v0.19.0
Compare Source
[Fixed]
debug
(#1127)MethodSinkPermit
to fix backpressure issue on concurrent subscriptions (#1126)[Changed]
Server::start
infallible and addfn builder()
(#1137)v0.18.2
Compare Source
This release improves error message for
too big batch response
and exposes theBatchRequestConfig type
in order to make it possible to useServerBuilder::set_batch_request_config
[Fixed]
v0.18.1
Compare Source
This release fixes a couple bugs and improves the ergonomics for the HTTP client
when no tower middleware is enabled.
[Changed]
[Fixed]
v0.18.0
Compare Source
This is a breaking release that removes the
CallError
which was used to represent a JSON-RPC error object thatcould happen during JSON-RPC method call and one could assign application specific error code, message and data in a
specific implementation.
Previously jsonrpsee provided
CallError
that could be converted to/fromjsonrpsee::core::Error
and in some scenarios the error code was automatically assigned by jsonrpsee. After jsonrpsee
added support for custom error types the
CallError
doesn't provide any benefit because one has to implementInto<ErrorObjectOwned>
on the error type anyway.
Thus,
jsonrpsee::core::Error
can't be used in the proc macro API anymore and the type aliasRpcResult
has been modified toResult<(), ErrorObjectOwned>
instead.Before it was possible to do:
After this change one has to do:
[Changed]
CallError
(#1087)[Fixed]
v0.17.1
Compare Source
This release fixes HTTP graceful shutdown for the server.
[Fixed]
v0.17.0
Compare Source
This is a significant release and the major breaking changes to be aware of are:
Server backpressure
This release changes the server to be "backpressured" and it mostly concerns subscriptions.
New APIs has been introduced because of that and the API
pipe_from_stream
has been removed.Before it was possible to do:
After this release one must do something like:
Method call return type is more flexible
This release also introduces a trait called
IntoResponse
which is makes it possible to return custom types and/or errortypes instead of enforcing everything to return
Result<T, jsonrpsee::core::Error>
This affects the APIs
RpcModule::register_method
,RpcModule::register_async_method
andRpcModule::register_blocking_method
and when these are used in the proc macro API are affected by this change.
Be aware that the client APIs don't support this yet
The
IntoResponse
trait is already implemented forResult<T, jsonrpsee::core::Error>
and for the primitive typesBefore it was possible to do:
After this release it's possible to do:
Subscription API is changed.
jsonrpsee now spawns the subscriptions via
tokio::spawn
and it's sufficient to provide an async block inregister_subscription
Further, the subscription API had an explicit close API for closing subscriptions which was hard to understand and
to get right. This has been removed and everything is handled by the return value/type of the async block instead.
Example:
The return value in the example above needs to implement
IntoSubscriptionCloseResponse
andany value that is returned after that the subscription has been accepted will be treated as a
IntoSubscriptionCloseResponse
.Because
Result<(), E>
is used here the close notification will be sent out as error notification but it's possible todisable the subscription close response by using
()
instead ofResult<(), E>
or implementIntoSubscriptionCloseResponse
for other behaviour.[Added]
[Fixed]
Semaphore::(u32::MAX)
(#1051)max_log_length
APIs and use missing configs (#956)[Changed]
impl IntoSubscriptionResponse
(#1034)IntoResponse
trait for method calls (#1057)jsonrpc
protocol version field inResponse
asOption
(#1046)SubscriptionAnswer
(#1025)max_notifs_per_subscription
tomax_buffer_capacity_per_subscription
(#1012)FutureDriver
withtokio::spawn
(#1080)v0.16.2
Compare Source
This release adds
Clone
andCopy
implementations.[Fixed]
[Added]
Clone
andCopy
impls (#951)v0.16.1
Compare Source
v0.16.1 is release that adds two new APIs to server
http_only
andws_only
to make it possible to allow only HTTP respectively WebSocket.Both HTTP and WebSocket are still enabled by default.
[Fixed]
async-channel
(#940)[Added]
v0.16.0
Compare Source
v0.16.0 is a breaking release and the major changes are:
jsonrpsee-http-server
andjsonrpsee-ws-server
crates are moved to thejsonrpsee-server
crate instead.tower middleware
support.tower middleware
.[Fixed]
types
to server feature (#891)RpcModule::call
decode response correctly (#839)[Added]
transport protocol details
to the logger trait (#886)notify_on_disconnect
(#837)bytes_len()
to Params (#848)[Changed]
WS and HTTP servers
with a server that supports bothWS and HTTP
(#863)tower
support (#831)Middleware
toLogger
(#845)SubscriptionSink::pipe_from_stream
(#901)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.