-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update libp2p to 0.50.0 [fixes NET-332] #1419
Conversation
1194a08
to
2ffb27e
Compare
2ffb27e
to
103c8ff
Compare
|
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. ⚠ Warning: custom changes will be lost. |
b474a8e
to
5c5e20f
Compare
5bb9517
to
813f76c
Compare
1ecbbaf
to
2976f61
Compare
This PR contains the following updates:
0.48.0
->0.50.0
0.36.0
->0.38.0
0.9.0
->0.11.0
0.39.0
->0.41.0
0.39.0
->0.41.1
0.18.0
->0.19.0
Release Notes
libp2p/rust-libp2p
v0.50.0
Compare Source
This is a large release. After > 4 years, rust-libp2p ships with an (alpha) QUIC
implementation. The necessary TLS logic is extracted into
its own crate, and can thus be used detached from QUIC, e.g.
on top of TCP as an alternative to Noise. In addition to these two transports, this release adds
a third, namely WebRTC (browser-to-server). But that is
definitely not it. See below for the many other changes packed into this release.
libp2p-tls
v0.1.0-alpha
. See PR 2945.libp2p-quic
v0.7.0-alpha
. See PR 2289.libp2p-webrtc
v0.4.0-alpha
. See PR 2289.tcp-tokio
,mdns-tokio
,dns-tokio
,tcp-async-io
,mdns-async-io
,dns-async-std
.See PR 3001.
NetworkBehaviour
macro export from root crate in favor of re-exported macro fromlibp2p::swarm
.Change your import from
libp2p::NetworkBehaviour
tolibp2p::swarm::NetworkBehaviour
. See PR 3055.NetworkBehaviour
macro behindmacros
feature flag. See PR 3055.libp2p-autonat
v0.89.0
.libp2p-core
v0.38.0
.libp2p-dcutr
v0.8.0
.libp2p-deflate
v0.38.0
.libp2p-dns
v0.38.0
.libp2p-floodsub
v0.41.0
.libp2p-gossipsub
v0.43.0
.libp2p-identify
v0.41.0
.libp2p-kad
v0.42.0
.libp2p-mdns
v0.42.0
.libp2p-metrics
v0.11.0
.libp2p-mplex
v0.38.0
.libp2p-noise
v0.41.0
.libp2p-ping
v0.41.0
.libp2p-plaintext
v0.38.0
.libp2p-pnet
v0.22.2
.libp2p-relay
v0.14.0
.libp2p-rendezvous
v0.11.0
.libp2p-request-response
v0.23.0
.libp2p-swarm
v0.41.0
.libp2p-tcp
v0.38.0
.libp2p-uds
v0.37.0
.libp2p-wasm-ext
v0.38.0
.libp2p-websocket
v0.40.0
.libp2p-yamux
v0.42.0
.v0.49.0
Compare Source
Remove default features. You need to enable required features explicitly now. As a quick workaround, you may want to use the
new
full
feature which activates all features. See PR 2918.Introduce
tokio
andasync-std
features and deprecate the following ones:tcp-tokio
in favor oftcp
+tokio
mdns-tokio
in favor ofmdns
+tokio
dns-tokio
in favor ofdns
+tokio
tcp-async-io
in favor oftcp
+async-std
mdns-async-io
in favor ofmdns
+async-std
dns-async-std
in favor ofdns
+async-std
See PR 2962.
Update individual crates.
libp2p-autonat
v0.8.0
.libp2p-core
v0.37.0
.libp2p-dcutr
v0.7.0
.libp2p-deflate
v0.37.0
.libp2p-dns
v0.37.0
.libp2p-floodsub
v0.40.0
.libp2p-gossipsub
v0.42.0
.libp2p-identify
v0.40.0
.libp2p-kad
v0.41.0
.libp2p-mdns
v0.41.0
.libp2p-metrics
v0.10.0
.libp2p-mplex
v0.37.0
.libp2p-noise
v0.40.0
.libp2p-ping
v0.40.0
.libp2p-plaintext
v0.37.0
.libp2p-relay
v0.13.0
.libp2p-rendezvous
v0.10.0
.libp2p-request-response
v0.22.0
.libp2p-swarm-derive
v0.30.1
.libp2p-swarm
v0.40.0
.libp2p-tcp
v0.37.0
.libp2p-uds
v0.36.0
.libp2p-wasm-ext
v0.37.0
.libp2p-websocket
v0.39.0
.libp2p-yamux
v0.41.0
.prometheus/client_rust
v0.19.0
Compare Source
This is a large release including multiple breaking changes. Major user-facing
improvement of this release is support for the OpenMetrics Protobuf format.
Upgrade guide:
Don't box before registering.
Gauge uses
i64
instead ofu64
.Derive
EncodeLabelSet
forstruct
andEncodeLabelValue
forenum
instead of justEncode
for all and requireDebug
.Encode as utf-8 and not as
[u8]
.For details on each of these, see changelog entries below.
Added
remove
method toFamily
to allow the removal of a specified labelset from a family. See PR 85.
clear
method toFamily
to allow the removal of all label setsfrom a family. See PR 85.
TypedMetric
forCounterWithExemplar
andHistogramWithExemplar
, so that they can be used withFamily
. See PR 96.Changed
Registry
, i.e. remove generic type parameterM
fromRegistry
. See PR 105.EncodeCounterValue
)EncodeLabelSet
), derivable for structs viaprometheus-client-derive-encode
EncodeLabel
)EncodeLabelKey
)EncodeLabelValue
), derivable for enums viaprometheus-client-derive-encode
std::fmt::Write
instead ofstd::io::Write
.Gauge
for compliance with OpenMetrics protobufformat. See PR 105.
v0.18.1
Compare Source
Fixed
Family::get_or_create
. See PR 102.Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.
BEGIN_COMMIT_OVERRIDE
fix(deps): update libp2p to 0.50.0 [fixes NET-232] #1419
END_COMMIT_OVERRIDE