From 4efd77ea0c7834efad79e5e20c3636dd838fdd40 Mon Sep 17 00:00:00 2001 From: chad Date: Thu, 30 Jun 2022 22:50:49 -0500 Subject: [PATCH 1/2] swarm/src/connection: update dial concurrency factor default value to > 8 (#2678) --- swarm/CHANGELOG.md | 4 +++- swarm/src/connection/pool.rs | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/swarm/CHANGELOG.md b/swarm/CHANGELOG.md index 300e4e96a09..0f53f016d0a 100644 --- a/swarm/CHANGELOG.md +++ b/swarm/CHANGELOG.md @@ -6,9 +6,11 @@ - Remove `connection::ListenersStream` and poll the `Transport` directly. See [PR 2652]. +- Update dial address concurrency factor to `8`, thus dialing up to 8 addresses concurrently for a single connection attempt. See `Swarm::dial_concurrency_factor` and [PR 2741]. + [PR 2716]: https://github.com/libp2p/rust-libp2p/pull/2716/ [PR 2652]: https://github.com/libp2p/rust-libp2p/pull/2652 - +[PR 2741]: https://github.com/libp2p/rust-libp2p/pull/2741/ # 0.36.1 - Limit negotiating inbound substreams per connection. See [PR 2697]. diff --git a/swarm/src/connection/pool.rs b/swarm/src/connection/pool.rs index 10fc29a8120..4bbdf9c4162 100644 --- a/swarm/src/connection/pool.rs +++ b/swarm/src/connection/pool.rs @@ -1175,8 +1175,8 @@ impl Default for PoolConfig { executor: None, task_event_buffer_size: 32, task_command_buffer_size: 7, - // By default, addresses of a single connection attempt are dialed in sequence. - dial_concurrency_factor: NonZeroU8::new(1).expect("1 > 0"), + // Set to a default of 8 based on frequency of dialer connections + dial_concurrency_factor: NonZeroU8::new(8).expect("8 > 0"), substream_upgrade_protocol_override: None, max_negotiating_inbound_streams: 128, } From b9158668b6ba7c88a4ed9ad34988c326190bc3e5 Mon Sep 17 00:00:00 2001 From: Max Inden Date: Thu, 7 Jul 2022 18:02:36 +0900 Subject: [PATCH 2/2] swarm/Cargo.toml: Bump version --- CHANGELOG.md | 24 +++++++++++++++++++++ Cargo.toml | 28 ++++++++++++------------- misc/metrics/CHANGELOG.md | 14 +++++++++++++ misc/metrics/Cargo.toml | 16 +++++++------- protocols/autonat/CHANGELOG.md | 6 ++++++ protocols/autonat/Cargo.toml | 6 +++--- protocols/dcutr/CHANGELOG.md | 4 ++++ protocols/dcutr/Cargo.toml | 4 ++-- protocols/floodsub/CHANGELOG.md | 4 ++++ protocols/floodsub/Cargo.toml | 4 ++-- protocols/gossipsub/CHANGELOG.md | 4 ++++ protocols/gossipsub/Cargo.toml | 4 ++-- protocols/identify/CHANGELOG.md | 4 ++++ protocols/identify/Cargo.toml | 4 ++-- protocols/kad/CHANGELOG.md | 4 ++++ protocols/kad/Cargo.toml | 4 ++-- protocols/mdns/CHANGELOG.md | 4 ++++ protocols/mdns/Cargo.toml | 4 ++-- protocols/ping/CHANGELOG.md | 4 ++++ protocols/ping/Cargo.toml | 4 ++-- protocols/relay/CHANGELOG.md | 4 ++++ protocols/relay/Cargo.toml | 4 ++-- protocols/rendezvous/CHANGELOG.md | 4 ++++ protocols/rendezvous/Cargo.toml | 4 ++-- protocols/request-response/CHANGELOG.md | 4 ++++ protocols/request-response/Cargo.toml | 4 ++-- swarm/CHANGELOG.md | 10 ++++++--- swarm/Cargo.toml | 2 +- 28 files changed, 137 insertions(+), 49 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e650d91cb31..d655e04cecb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -43,6 +43,30 @@ # `libp2p` facade crate +# 0.47.0 [unreleased] + +- Update to [`libp2p-dcutr` `v0.5.0`](protocols/dcutr/CHANGELOG.md#050). + +- Update to [`libp2p-rendezvous` `v0.8.0`](protocols/rendezvous/CHANGELOG.md#080). + +- Update to [`libp2p-ping` `v0.38.0`](protocols/ping/CHANGELOG.md#0380). + +- Update to [`libp2p-identify` `v0.38.0`](protocols/identify/CHANGELOG.md#0380). + +- Update to [`libp2p-floodsub` `v0.38.0`](protocols/floodsub/CHANGELOG.md#0380). + +- Update to [`libp2p-relay` `v0.11.0`](protocols/relay/CHANGELOG.md#0110). + +- Update to [`libp2p-metrics` `v0.8.0`](misc/metrics/CHANGELOG.md#080). + +- Update to [`libp2p-kad` `v0.39.0`](protocols/kad/CHANGELOG.md#0390). + +- Update to [`libp2p-autonat` `v0.6.0`](protocols/autonat/CHANGELOG.md#060). + +- Update to [`libp2p-request-response` `v0.20.0`](protocols/request-response/CHANGELOG.md#0200). + +- Update to [`libp2p-swarm` `v0.38.0`](swarm/CHANGELOG.md#0380). + # 0.46.0 - Semver bump Rust from `1.56.1` to `1.60.0` . See [PR 2646]. diff --git a/Cargo.toml b/Cargo.toml index e458dbbd122..68039c042f2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "libp2p" edition = "2021" rust-version = "1.60.0" description = "Peer-to-peer networking library" -version = "0.46.0" +version = "0.47.0" authors = ["Parity Technologies "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" @@ -77,22 +77,22 @@ getrandom = "0.2.3" # Explicit dependency to be used in `wasm-bindgen` feature instant = "0.1.11" # Explicit dependency to be used in `wasm-bindgen` feature lazy_static = "1.2" -libp2p-autonat = { version = "0.5.0", path = "protocols/autonat", optional = true } +libp2p-autonat = { version = "0.6.0", path = "protocols/autonat", optional = true } libp2p-core = { version = "0.34.0", path = "core", default-features = false } -libp2p-dcutr = { version = "0.4.0", path = "protocols/dcutr", optional = true } -libp2p-floodsub = { version = "0.37.0", path = "protocols/floodsub", optional = true } -libp2p-identify = { version = "0.37.0", path = "protocols/identify", optional = true } -libp2p-kad = { version = "0.38.0", path = "protocols/kad", optional = true } -libp2p-metrics = { version = "0.7.0", path = "misc/metrics", optional = true } +libp2p-dcutr = { version = "0.5.0", path = "protocols/dcutr", optional = true } +libp2p-floodsub = { version = "0.38.0", path = "protocols/floodsub", optional = true } +libp2p-identify = { version = "0.38.0", path = "protocols/identify", optional = true } +libp2p-kad = { version = "0.39.0", path = "protocols/kad", optional = true } +libp2p-metrics = { version = "0.8.0", path = "misc/metrics", optional = true } libp2p-mplex = { version = "0.34.0", path = "muxers/mplex", optional = true } libp2p-noise = { version = "0.37.0", path = "transports/noise", optional = true } -libp2p-ping = { version = "0.37.0", path = "protocols/ping", optional = true } +libp2p-ping = { version = "0.38.0", path = "protocols/ping", optional = true } libp2p-plaintext = { version = "0.34.0", path = "transports/plaintext", optional = true } libp2p-pnet = { version = "0.22.0", path = "transports/pnet", optional = true } -libp2p-relay = { version = "0.10.0", path = "protocols/relay", optional = true } -libp2p-rendezvous = { version = "0.7.0", path = "protocols/rendezvous", optional = true } -libp2p-request-response = { version = "0.19.0", path = "protocols/request-response", optional = true } -libp2p-swarm = { version = "0.37.0", path = "swarm" } +libp2p-relay = { version = "0.11.0", path = "protocols/relay", optional = true } +libp2p-rendezvous = { version = "0.8.0", path = "protocols/rendezvous", optional = true } +libp2p-request-response = { version = "0.20.0", path = "protocols/request-response", optional = true } +libp2p-swarm = { version = "0.38.0", path = "swarm" } libp2p-swarm-derive = { version = "0.27.0", path = "swarm-derive" } libp2p-uds = { version = "0.33.0", path = "transports/uds", optional = true } libp2p-wasm-ext = { version = "0.34.0", path = "transports/wasm-ext", default-features = false, optional = true } @@ -106,12 +106,12 @@ smallvec = "1.6.1" [target.'cfg(not(any(target_os = "emscripten", target_os = "wasi", target_os = "unknown")))'.dependencies] libp2p-deflate = { version = "0.34.0", path = "transports/deflate", optional = true } libp2p-dns = { version = "0.34.0", path = "transports/dns", optional = true, default-features = false } -libp2p-mdns = { version = "0.38.0", path = "protocols/mdns", optional = true } +libp2p-mdns = { version = "0.39.0", path = "protocols/mdns", optional = true } libp2p-tcp = { version = "0.34.0", path = "transports/tcp", default-features = false, optional = true } libp2p-websocket = { version = "0.36.0", path = "transports/websocket", optional = true } [target.'cfg(not(target_os = "unknown"))'.dependencies] -libp2p-gossipsub = { version = "0.39.0", path = "protocols/gossipsub", optional = true } +libp2p-gossipsub = { version = "0.40.0", path = "protocols/gossipsub", optional = true } [dev-dependencies] async-std = { version = "1.6.2", features = ["attributes"] } diff --git a/misc/metrics/CHANGELOG.md b/misc/metrics/CHANGELOG.md index 0fc0791ed99..979617bdb29 100644 --- a/misc/metrics/CHANGELOG.md +++ b/misc/metrics/CHANGELOG.md @@ -1,3 +1,17 @@ +# 0.8.0 [unreleased] + +- Update to `libp2p-swarm` `v0.38.0`. + +- Update to `libp2p-dcutr` `v0.5.0`. + +- Update to `libp2p-ping` `v0.38.0`. + +- Update to `libp2p-identify` `v0.38.0`. + +- Update to `libp2p-relay` `v0.11.0`. + +- Update to `libp2p-kad` `v0.39.0`. + # 0.7.0 - Update to `libp2p-core` `v0.34.0`. diff --git a/misc/metrics/Cargo.toml b/misc/metrics/Cargo.toml index 2394d9737b7..f38e192947f 100644 --- a/misc/metrics/Cargo.toml +++ b/misc/metrics/Cargo.toml @@ -3,7 +3,7 @@ name = "libp2p-metrics" edition = "2021" rust-version = "1.56.1" description = "Metrics for libp2p" -version = "0.7.0" +version = "0.8.0" authors = ["Max Inden "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" @@ -20,16 +20,16 @@ dcutr = ["libp2p-dcutr"] [dependencies] libp2p-core = { version = "0.34.0", path = "../../core", default-features = false } -libp2p-dcutr = { version = "0.4.0", path = "../../protocols/dcutr", optional = true } -libp2p-identify = { version = "0.37.0", path = "../../protocols/identify", optional = true } -libp2p-kad = { version = "0.38.0", path = "../../protocols/kad", optional = true } -libp2p-ping = { version = "0.37.0", path = "../../protocols/ping", optional = true } -libp2p-relay = { version = "0.10.0", path = "../../protocols/relay", optional = true } -libp2p-swarm = { version = "0.37.0", path = "../../swarm" } +libp2p-dcutr = { version = "0.5.0", path = "../../protocols/dcutr", optional = true } +libp2p-identify = { version = "0.38.0", path = "../../protocols/identify", optional = true } +libp2p-kad = { version = "0.39.0", path = "../../protocols/kad", optional = true } +libp2p-ping = { version = "0.38.0", path = "../../protocols/ping", optional = true } +libp2p-relay = { version = "0.11.0", path = "../../protocols/relay", optional = true } +libp2p-swarm = { version = "0.38.0", path = "../../swarm" } prometheus-client = "0.16.0" [target.'cfg(not(target_os = "unknown"))'.dependencies] -libp2p-gossipsub = { version = "0.39.0", path = "../../protocols/gossipsub", optional = true } +libp2p-gossipsub = { version = "0.40.0", path = "../../protocols/gossipsub", optional = true } [dev-dependencies] log = "0.4.0" diff --git a/protocols/autonat/CHANGELOG.md b/protocols/autonat/CHANGELOG.md index e91a3397449..eafaecff2a5 100644 --- a/protocols/autonat/CHANGELOG.md +++ b/protocols/autonat/CHANGELOG.md @@ -1,3 +1,9 @@ +# 0.6.0 [unreleased] + +- Update to `libp2p-swarm` `v0.38.0`. + +- Update to `libp2p-request-response` `v0.20.0`. + # 0.5.0 - Update to `libp2p-core` `v0.34.0`. diff --git a/protocols/autonat/Cargo.toml b/protocols/autonat/Cargo.toml index 6cab85dc8bc..9e0d272785d 100644 --- a/protocols/autonat/Cargo.toml +++ b/protocols/autonat/Cargo.toml @@ -3,7 +3,7 @@ name = "libp2p-autonat" edition = "2021" rust-version = "1.56.1" description = "NAT and firewall detection for libp2p" -version = "0.5.0" +version = "0.6.0" authors = ["David Craven ", "Elena Frank "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" @@ -19,8 +19,8 @@ futures = "0.3" futures-timer = "3.0" instant = "0.1" libp2p-core = { version = "0.34.0", path = "../../core", default-features = false } -libp2p-swarm = { version = "0.37.0", path = "../../swarm" } -libp2p-request-response = { version = "0.19.0", path = "../request-response" } +libp2p-swarm = { version = "0.38.0", path = "../../swarm" } +libp2p-request-response = { version = "0.20.0", path = "../request-response" } log = "0.4" rand = "0.8" prost = "0.10" diff --git a/protocols/dcutr/CHANGELOG.md b/protocols/dcutr/CHANGELOG.md index 257c41eb61b..7d144a20772 100644 --- a/protocols/dcutr/CHANGELOG.md +++ b/protocols/dcutr/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.5.0 [unreleased] + +- Update to `libp2p-swarm` `v0.38.0`. + # 0.4.0 - Update to `libp2p-core` `v0.34.0`. diff --git a/protocols/dcutr/Cargo.toml b/protocols/dcutr/Cargo.toml index ceaaeb1c913..1786412cadf 100644 --- a/protocols/dcutr/Cargo.toml +++ b/protocols/dcutr/Cargo.toml @@ -3,7 +3,7 @@ name = "libp2p-dcutr" edition = "2021" rust-version = "1.56.1" description = "Direct connection upgrade through relay" -version = "0.4.0" +version = "0.5.0" authors = ["Max Inden "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" @@ -18,7 +18,7 @@ futures = "0.3.1" futures-timer = "3.0" instant = "0.1.11" libp2p-core = { version = "0.34.0", path = "../../core" } -libp2p-swarm = { version = "0.37.0", path = "../../swarm" } +libp2p-swarm = { version = "0.38.0", path = "../../swarm" } log = "0.4" prost-codec = { version = "0.1", path = "../../misc/prost-codec" } prost = "0.10" diff --git a/protocols/floodsub/CHANGELOG.md b/protocols/floodsub/CHANGELOG.md index 125fe7997f0..491c87b99b5 100644 --- a/protocols/floodsub/CHANGELOG.md +++ b/protocols/floodsub/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.38.0 [unreleased] + +- Update to `libp2p-swarm` `v0.38.0`. + # 0.37.0 - Update to `libp2p-core` `v0.34.0`. diff --git a/protocols/floodsub/Cargo.toml b/protocols/floodsub/Cargo.toml index c97079231fa..2556384f00a 100644 --- a/protocols/floodsub/Cargo.toml +++ b/protocols/floodsub/Cargo.toml @@ -3,7 +3,7 @@ name = "libp2p-floodsub" edition = "2021" rust-version = "1.56.1" description = "Floodsub protocol for libp2p" -version = "0.37.0" +version = "0.38.0" authors = ["Parity Technologies "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" @@ -15,7 +15,7 @@ cuckoofilter = "0.5.0" fnv = "1.0" futures = "0.3.1" libp2p-core = { version = "0.34.0", path = "../../core", default-features = false } -libp2p-swarm = { version = "0.37.0", path = "../../swarm" } +libp2p-swarm = { version = "0.38.0", path = "../../swarm" } log = "0.4" prost = "0.10" rand = "0.7" diff --git a/protocols/gossipsub/CHANGELOG.md b/protocols/gossipsub/CHANGELOG.md index 5100d61ae75..0d0a5fa333f 100644 --- a/protocols/gossipsub/CHANGELOG.md +++ b/protocols/gossipsub/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.40.0 [unreleased] + +- Update to `libp2p-swarm` `v0.38.0`. + # 0.39.0 - Update to `libp2p-core` `v0.34.0`. diff --git a/protocols/gossipsub/Cargo.toml b/protocols/gossipsub/Cargo.toml index 391219d7822..5e787076647 100644 --- a/protocols/gossipsub/Cargo.toml +++ b/protocols/gossipsub/Cargo.toml @@ -3,7 +3,7 @@ name = "libp2p-gossipsub" edition = "2021" rust-version = "1.56.1" description = "Gossipsub protocol for libp2p" -version = "0.39.0" +version = "0.40.0" authors = ["Age Manning "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" @@ -11,7 +11,7 @@ keywords = ["peer-to-peer", "libp2p", "networking"] categories = ["network-programming", "asynchronous"] [dependencies] -libp2p-swarm = { version = "0.37.0", path = "../../swarm" } +libp2p-swarm = { version = "0.38.0", path = "../../swarm" } libp2p-core = { version = "0.34.0", path = "../../core", default-features = false } bytes = "1.0" byteorder = "1.3.4" diff --git a/protocols/identify/CHANGELOG.md b/protocols/identify/CHANGELOG.md index a715586510e..60c77cd032a 100644 --- a/protocols/identify/CHANGELOG.md +++ b/protocols/identify/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.38.0 [unreleased] + +- Update to `libp2p-swarm` `v0.38.0`. + # 0.37.0 - Update to `libp2p-core` `v0.34.0`. diff --git a/protocols/identify/Cargo.toml b/protocols/identify/Cargo.toml index 7136caa4f17..2fc604d1c25 100644 --- a/protocols/identify/Cargo.toml +++ b/protocols/identify/Cargo.toml @@ -3,7 +3,7 @@ name = "libp2p-identify" edition = "2021" rust-version = "1.56.1" description = "Nodes identifcation protocol for libp2p" -version = "0.37.0" +version = "0.38.0" authors = ["Parity Technologies "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" @@ -15,7 +15,7 @@ asynchronous-codec = "0.6" futures = "0.3.1" futures-timer = "3.0.2" libp2p-core = { version = "0.34.0", path = "../../core", default-features = false } -libp2p-swarm = { version = "0.37.0", path = "../../swarm" } +libp2p-swarm = { version = "0.38.0", path = "../../swarm" } log = "0.4.1" lru = "0.7.2" prost-codec = { version = "0.1", path = "../../misc/prost-codec" } diff --git a/protocols/kad/CHANGELOG.md b/protocols/kad/CHANGELOG.md index 4bbb79e126c..66730eecde5 100644 --- a/protocols/kad/CHANGELOG.md +++ b/protocols/kad/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.39.0 [unreleased] + +- Update to `libp2p-swarm` `v0.38.0`. + # 0.38.0 - Update to `libp2p-core` `v0.34.0`. diff --git a/protocols/kad/Cargo.toml b/protocols/kad/Cargo.toml index bebb732d486..6686664f9b2 100644 --- a/protocols/kad/Cargo.toml +++ b/protocols/kad/Cargo.toml @@ -3,7 +3,7 @@ name = "libp2p-kad" edition = "2021" rust-version = "1.56.1" description = "Kademlia protocol for libp2p" -version = "0.38.0" +version = "0.39.0" authors = ["Parity Technologies "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" @@ -19,7 +19,7 @@ asynchronous-codec = "0.6" futures = "0.3.1" log = "0.4" libp2p-core = { version = "0.34.0", path = "../../core", default-features = false } -libp2p-swarm = { version = "0.37.0", path = "../../swarm" } +libp2p-swarm = { version = "0.38.0", path = "../../swarm" } prost = "0.10" rand = "0.7.2" sha2 = "0.10.0" diff --git a/protocols/mdns/CHANGELOG.md b/protocols/mdns/CHANGELOG.md index fed5be0ffd3..320f8b13a2e 100644 --- a/protocols/mdns/CHANGELOG.md +++ b/protocols/mdns/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.39.0 [unreleased] + +- Update to `libp2p-swarm` `v0.38.0`. + # 0.38.0 - Update to `libp2p-core` `v0.34.0`. diff --git a/protocols/mdns/Cargo.toml b/protocols/mdns/Cargo.toml index 393fad61135..f97c185030a 100644 --- a/protocols/mdns/Cargo.toml +++ b/protocols/mdns/Cargo.toml @@ -2,7 +2,7 @@ name = "libp2p-mdns" edition = "2021" rust-version = "1.56.1" -version = "0.38.0" +version = "0.39.0" description = "Implementation of the libp2p mDNS discovery method" authors = ["Parity Technologies "] license = "MIT" @@ -18,7 +18,7 @@ futures = "0.3.13" if-watch = "1.0.0" lazy_static = "1.4.0" libp2p-core = { version = "0.34.0", path = "../../core", default-features = false } -libp2p-swarm = { version = "0.37.0", path = "../../swarm" } +libp2p-swarm = { version = "0.38.0", path = "../../swarm" } log = "0.4.14" rand = "0.8.3" smallvec = "1.6.1" diff --git a/protocols/ping/CHANGELOG.md b/protocols/ping/CHANGELOG.md index 05a27dceed6..a31b17d02f5 100644 --- a/protocols/ping/CHANGELOG.md +++ b/protocols/ping/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.38.0 [unreleased] + +- Update to `libp2p-swarm` `v0.38.0`. + # 0.37.0 - Update to `libp2p-core` `v0.34.0`. diff --git a/protocols/ping/Cargo.toml b/protocols/ping/Cargo.toml index 2210e070add..741cbf05fbc 100644 --- a/protocols/ping/Cargo.toml +++ b/protocols/ping/Cargo.toml @@ -3,7 +3,7 @@ name = "libp2p-ping" edition = "2021" rust-version = "1.56.1" description = "Ping protocol for libp2p" -version = "0.37.0" +version = "0.38.0" authors = ["Parity Technologies "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" @@ -15,7 +15,7 @@ futures = "0.3.1" futures-timer = "3.0.2" instant = "0.1.11" libp2p-core = { version = "0.34.0", path = "../../core", default-features = false } -libp2p-swarm = { version = "0.37.0", path = "../../swarm" } +libp2p-swarm = { version = "0.38.0", path = "../../swarm" } log = "0.4.1" rand = "0.7.2" void = "1.0" diff --git a/protocols/relay/CHANGELOG.md b/protocols/relay/CHANGELOG.md index 251c4acb323..cd615778196 100644 --- a/protocols/relay/CHANGELOG.md +++ b/protocols/relay/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.11.0 [unreleased] + +- Update to `libp2p-swarm` `v0.38.0`. + # 0.10.0 - Update to `libp2p-core` `v0.34.0`. diff --git a/protocols/relay/Cargo.toml b/protocols/relay/Cargo.toml index d4cebd5fd87..97d29ebdfd0 100644 --- a/protocols/relay/Cargo.toml +++ b/protocols/relay/Cargo.toml @@ -3,7 +3,7 @@ name = "libp2p-relay" edition = "2021" rust-version = "1.56.1" description = "Communications relaying for libp2p" -version = "0.10.0" +version = "0.11.0" authors = ["Parity Technologies ", "Max Inden "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" @@ -18,7 +18,7 @@ futures = "0.3.1" futures-timer = "3" instant = "0.1.11" libp2p-core = { version = "0.34.0", path = "../../core", default-features = false } -libp2p-swarm = { version = "0.37.0", path = "../../swarm" } +libp2p-swarm = { version = "0.38.0", path = "../../swarm" } log = "0.4" pin-project = "1" prost-codec = { version = "0.1", path = "../../misc/prost-codec" } diff --git a/protocols/rendezvous/CHANGELOG.md b/protocols/rendezvous/CHANGELOG.md index bb96849b481..11120e0be1b 100644 --- a/protocols/rendezvous/CHANGELOG.md +++ b/protocols/rendezvous/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.8.0 [unreleased] + +- Update to `libp2p-swarm` `v0.38.0`. + # 0.7.0 - Update to `libp2p-core` `v0.34.0`. diff --git a/protocols/rendezvous/Cargo.toml b/protocols/rendezvous/Cargo.toml index 9e55f68966d..b8d81a87e20 100644 --- a/protocols/rendezvous/Cargo.toml +++ b/protocols/rendezvous/Cargo.toml @@ -3,7 +3,7 @@ name = "libp2p-rendezvous" edition = "2021" rust-version = "1.56.1" description = "Rendezvous protocol for libp2p" -version = "0.7.0" +version = "0.8.0" authors = ["The COMIT guys "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" @@ -13,7 +13,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] asynchronous-codec = "0.6" libp2p-core = { version = "0.34.0", path = "../../core", default-features = false } -libp2p-swarm = { version = "0.37.0", path = "../../swarm" } +libp2p-swarm = { version = "0.38.0", path = "../../swarm" } prost = "0.10" void = "1" log = "0.4" diff --git a/protocols/request-response/CHANGELOG.md b/protocols/request-response/CHANGELOG.md index f32ed19e1c9..8acc422ee40 100644 --- a/protocols/request-response/CHANGELOG.md +++ b/protocols/request-response/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.20.0 [unreleased] + +- Update to `libp2p-swarm` `v0.38.0`. + # 0.19.0 - Update to `libp2p-core` `v0.34.0`. diff --git a/protocols/request-response/Cargo.toml b/protocols/request-response/Cargo.toml index f4ac02f8945..010647fe6b3 100644 --- a/protocols/request-response/Cargo.toml +++ b/protocols/request-response/Cargo.toml @@ -3,7 +3,7 @@ name = "libp2p-request-response" edition = "2021" rust-version = "1.56.1" description = "Generic Request/Response Protocols" -version = "0.19.0" +version = "0.20.0" authors = ["Parity Technologies "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" @@ -16,7 +16,7 @@ bytes = "1" futures = "0.3.1" instant = "0.1.11" libp2p-core = { version = "0.34.0", path = "../../core", default-features = false } -libp2p-swarm = { version = "0.37.0", path = "../../swarm" } +libp2p-swarm = { version = "0.38.0", path = "../../swarm" } log = "0.4.11" rand = "0.7" smallvec = "1.6.1" diff --git a/swarm/CHANGELOG.md b/swarm/CHANGELOG.md index 62089d9fa34..174924889b0 100644 --- a/swarm/CHANGELOG.md +++ b/swarm/CHANGELOG.md @@ -1,3 +1,9 @@ +# 0.38.0 [unreleased] + +- Update dial address concurrency factor to `8`, thus dialing up to 8 addresses concurrently for a single connection attempt. See `Swarm::dial_concurrency_factor` and [PR 2741]. + +[PR 2741]: https://github.com/libp2p/rust-libp2p/pull/2741/ + # 0.37.0 - Update to `libp2p-core` `v0.34.0`. @@ -6,11 +12,9 @@ - Remove `connection::ListenersStream` and poll the `Transport` directly. See [PR 2652]. -- Update dial address concurrency factor to `8`, thus dialing up to 8 addresses concurrently for a single connection attempt. See `Swarm::dial_concurrency_factor` and [PR 2741]. - [PR 2716]: https://github.com/libp2p/rust-libp2p/pull/2716/ [PR 2652]: https://github.com/libp2p/rust-libp2p/pull/2652 -[PR 2741]: https://github.com/libp2p/rust-libp2p/pull/2741/ + # 0.36.1 - Limit negotiating inbound substreams per connection. See [PR 2697]. diff --git a/swarm/Cargo.toml b/swarm/Cargo.toml index d2679e6a312..2953c984368 100644 --- a/swarm/Cargo.toml +++ b/swarm/Cargo.toml @@ -3,7 +3,7 @@ name = "libp2p-swarm" edition = "2021" rust-version = "1.56.1" description = "The libp2p swarm" -version = "0.37.0" +version = "0.38.0" authors = ["Parity Technologies "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p"