diff --git a/Cargo.lock b/Cargo.lock index fbbf1d84f1a..7865b3a87c2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2563,7 +2563,7 @@ checksum = "89d92a4743f9a61002fae18374ed11e7973f530cb3a3255fb354818118b2203c" [[package]] name = "libp2p" -version = "0.53.2" +version = "0.54.0" dependencies = [ "async-std", "async-trait", @@ -3249,7 +3249,7 @@ dependencies = [ [[package]] name = "libp2p-swarm" -version = "0.44.1" +version = "0.45.0" dependencies = [ "async-std", "either", diff --git a/Cargo.toml b/Cargo.toml index 11ac47b0be4..f71790483c4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -72,7 +72,7 @@ rust-version = "1.73.0" [workspace.dependencies] asynchronous-codec = { version = "0.7.0" } futures-bounded = { version = "0.2.3", path = "misc/futures-bounded" } -libp2p = { version = "0.53.2", path = "libp2p" } +libp2p = { version = "0.54", path = "libp2p" } libp2p-allow-block-list = { version = "0.3.0", path = "misc/allow-block-list" } libp2p-autonat = { version = "0.12.0", path = "protocols/autonat" } libp2p-connection-limits = { version = "0.3.1", path = "misc/connection-limits" } @@ -99,7 +99,7 @@ libp2p-relay = { version = "0.17.1", path = "protocols/relay" } libp2p-rendezvous = { version = "0.14.0", path = "protocols/rendezvous" } libp2p-request-response = { version = "0.26.1", path = "protocols/request-response" } libp2p-server = { version = "0.12.5", path = "misc/server" } -libp2p-swarm = { version = "0.44.1", path = "swarm" } +libp2p-swarm = { version = "0.45.0", path = "swarm" } libp2p-swarm-derive = { version = "=0.34.1", path = "swarm-derive" } # `libp2p-swarm-derive` may not be compatible with different `libp2p-swarm` non-breaking releases. E.g. `libp2p-swarm` might introduce a new enum variant `FromSwarm` (which is `#[non-exhaustive]`) in a non-breaking release. Older versions of `libp2p-swarm-derive` would not forward this enum variant within the `NetworkBehaviour` hierarchy. Thus the version pinning is required. libp2p-swarm-test = { version = "0.3.0", path = "swarm-test" } libp2p-tcp = { version = "0.41.0", path = "transports/tcp" } diff --git a/libp2p/CHANGELOG.md b/libp2p/CHANGELOG.md index 80b32c35643..92ff1db00bd 100644 --- a/libp2p/CHANGELOG.md +++ b/libp2p/CHANGELOG.md @@ -1,5 +1,7 @@ ## 0.53.2 +- Add PeerId to ListenFailure. + - Allow `SwarmBuilder::with_bandwidth_metrics` after `SwarmBuilder::with_websocket`. See [PR 4937](https://github.com/libp2p/rust-libp2p/pull/4937). diff --git a/libp2p/Cargo.toml b/libp2p/Cargo.toml index 9dc9667be10..fcec353e3f6 100644 --- a/libp2p/Cargo.toml +++ b/libp2p/Cargo.toml @@ -3,7 +3,7 @@ name = "libp2p" edition = "2021" rust-version = { workspace = true } description = "Peer-to-peer networking library" -version = "0.53.2" +version = "0.54.0" authors = ["Parity Technologies "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" diff --git a/protocols/gossipsub/CHANGELOG.md b/protocols/gossipsub/CHANGELOG.md index a4b1c7f7dc0..b1c6b71bacd 100644 --- a/protocols/gossipsub/CHANGELOG.md +++ b/protocols/gossipsub/CHANGELOG.md @@ -1,8 +1,6 @@ ## 0.46.1 - unreleased - Adds scoring for slow peers and introduces a message to inform the application of slow peers. -- Adds metrics for priority and non-priority queue lengths. - - Removes the control pool and sends control messages on demand. - Implement backpressure by differentiating between priority and non priority messages. diff --git a/swarm/CHANGELOG.md b/swarm/CHANGELOG.md index 65dce4b002a..6990feade6e 100644 --- a/swarm/CHANGELOG.md +++ b/swarm/CHANGELOG.md @@ -1,5 +1,7 @@ ## 0.44.1 +- Add PeerId to ListenFailure. + - Implement `Clone` & `Copy` for `FromSwarm. This makes it easier to forward these events when wrapping other behaviours. See [PR 4825](https://github.com/libp2p/rust-libp2p/pull/4825). diff --git a/swarm/Cargo.toml b/swarm/Cargo.toml index 0e87f30979d..9a9e7e04894 100644 --- a/swarm/Cargo.toml +++ b/swarm/Cargo.toml @@ -3,7 +3,7 @@ name = "libp2p-swarm" edition = "2021" rust-version = { workspace = true } description = "The libp2p swarm" -version = "0.44.1" +version = "0.45.0" authors = ["Parity Technologies "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p"