diff --git a/Cargo.lock b/Cargo.lock index 1c2be23c4b7..04d9254b9e5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2509,7 +2509,7 @@ checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" [[package]] name = "libp2p" -version = "0.52.3" +version = "0.52.4" dependencies = [ "async-std", "async-trait", @@ -3188,7 +3188,7 @@ dependencies = [ [[package]] name = "libp2p-swarm" -version = "0.43.3" +version = "0.43.4" dependencies = [ "async-std", "either", diff --git a/Cargo.toml b/Cargo.toml index 97c8c10adfa..8c3d84d0501 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,7 +64,7 @@ resolver = "2" rust-version = "1.65.0" [workspace.dependencies] -libp2p = { version = "0.52.3", path = "libp2p" } +libp2p = { version = "0.52.4", path = "libp2p" } libp2p-allow-block-list = { version = "0.2.0", path = "misc/allow-block-list" } libp2p-autonat = { version = "0.11.0", path = "protocols/autonat" } libp2p-connection-limits = { version = "0.2.1", path = "misc/connection-limits" } @@ -92,7 +92,7 @@ libp2p-relay = { version = "0.16.1", path = "protocols/relay" } libp2p-rendezvous = { version = "0.13.0", path = "protocols/rendezvous" } libp2p-request-response = { version = "0.25.1", path = "protocols/request-response" } libp2p-server = { version = "0.12.2", path = "misc/server" } -libp2p-swarm = { version = "0.43.3", path = "swarm" } +libp2p-swarm = { version = "0.43.4", path = "swarm" } libp2p-swarm-derive = { version = "0.33.0", path = "swarm-derive" } libp2p-swarm-test = { version = "0.2.0", path = "swarm-test" } libp2p-tcp = { version = "0.40.0", path = "transports/tcp" } diff --git a/libp2p/CHANGELOG.md b/libp2p/CHANGELOG.md index 414c11058cb..11075907720 100644 --- a/libp2p/CHANGELOG.md +++ b/libp2p/CHANGELOG.md @@ -1,3 +1,12 @@ +## 0.52.4 + +- Introduce the new `libp2p::SwarmBuilder`. + Users should use the new `libp2p::SwarmBuilder` instead of the now deprecated `libp2p::swarm::SwarmBuilder`. + See `libp2p::SwarmBuilder` docs on how to use the new builder. + Also see [PR 4120]. + +[PR 4120]: https://github.com/libp2p/rust-libp2p/pull/4120 + ## 0.52.3 - Add `libp2p-quic` stable release. diff --git a/libp2p/Cargo.toml b/libp2p/Cargo.toml index 5c68dc69517..df9f7f64a7b 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.52.3" +version = "0.52.4" authors = ["Parity Technologies "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" diff --git a/swarm/CHANGELOG.md b/swarm/CHANGELOG.md index 37a5cbc6157..613567980d8 100644 --- a/swarm/CHANGELOG.md +++ b/swarm/CHANGELOG.md @@ -1,3 +1,12 @@ +## 0.43.4 - unreleased + +- Deprecate old `libp2p::swarm::SwarmBuilder`. + Most users should use the new `libp2p::SwarmBuilder`. + In some special cases, users may need to use `Swarm::new_with_config` and `SwarmConfig` instead of the new `libp2p::SwarmBuilder`. + See [PR 4120]. + +[PR 4120]: https://github.com/libp2p/rust-libp2p/pull/4120 + ## 0.43.3 - Implement `Display` for `ConnectionId`. diff --git a/swarm/Cargo.toml b/swarm/Cargo.toml index c2b959eea01..b739aa8dabb 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.43.3" +version = "0.43.4" authors = ["Parity Technologies "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p"