From 8f2cf940ad9c625c33886090f80cde89318cde00 Mon Sep 17 00:00:00 2001 From: "Roman S. Borschel" Date: Wed, 25 Nov 2020 10:24:11 +0100 Subject: [PATCH 1/3] Prepare v0.31 --- CHANGELOG.md | 2 +- core/CHANGELOG.md | 2 +- misc/multistream-select/CHANGELOG.md | 2 +- muxers/mplex/CHANGELOG.md | 2 +- muxers/yamux/CHANGELOG.md | 2 +- protocols/deflate/CHANGELOG.md | 2 +- protocols/floodsub/CHANGELOG.md | 2 +- protocols/gossipsub/CHANGELOG.md | 2 +- protocols/identify/CHANGELOG.md | 2 +- protocols/kad/CHANGELOG.md | 2 +- protocols/mdns/CHANGELOG.md | 2 +- protocols/noise/CHANGELOG.md | 2 +- protocols/ping/CHANGELOG.md | 2 +- protocols/plaintext/CHANGELOG.md | 2 +- protocols/request-response/CHANGELOG.md | 2 +- protocols/secio/CHANGELOG.md | 2 +- swarm/CHANGELOG.md | 2 +- transports/dns/CHANGELOG.md | 2 +- transports/tcp/CHANGELOG.md | 2 +- transports/uds/CHANGELOG.md | 2 +- transports/wasm-ext/CHANGELOG.md | 2 +- transports/websocket/CHANGELOG.md | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e408bd9d46..ed7dd3ff0d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,7 +23,7 @@ - [`parity-multiaddr` CHANGELOG](misc/multiaddr/CHANGELOG.md) - [`libp2p-core-derive` CHANGELOG](misc/core-derive/CHANGELOG.md) -# Version 0.31.0 [unreleased] +# Version 0.31.0 [2020-11-25] - Update `multistream-select` and all dependent crates. diff --git a/core/CHANGELOG.md b/core/CHANGELOG.md index 071218bc571..a47c146ef71 100644 --- a/core/CHANGELOG.md +++ b/core/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.25.0 [unreleased] +# 0.25.0 [2020-11-25] - The `NetworkConfig` API is now a builder that moves `self`. [PR 1848](https://github.com/libp2p/rust-libp2p/pull/1848/). diff --git a/misc/multistream-select/CHANGELOG.md b/misc/multistream-select/CHANGELOG.md index 3ec5fb8d52d..1eec4776a21 100644 --- a/misc/multistream-select/CHANGELOG.md +++ b/misc/multistream-select/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.9.0 [unreleased] +# 0.9.0 [2020-11-25] - Make the `V1Lazy` upgrade strategy more interoperable with `V1`. Specifically, the listener now behaves identically with `V1` and `V1Lazy`. Furthermore, the diff --git a/muxers/mplex/CHANGELOG.md b/muxers/mplex/CHANGELOG.md index bd0a51fe2c6..2a1126104d7 100644 --- a/muxers/mplex/CHANGELOG.md +++ b/muxers/mplex/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.25.0 [unreleased] +# 0.25.0 [2020-11-25] - Update `libp2p-core`. diff --git a/muxers/yamux/CHANGELOG.md b/muxers/yamux/CHANGELOG.md index 4ced071971d..a499d470f2d 100644 --- a/muxers/yamux/CHANGELOG.md +++ b/muxers/yamux/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.28.0 [unreleased] +# 0.28.0 [2020-11-25] - Update `libp2p-core`. diff --git a/protocols/deflate/CHANGELOG.md b/protocols/deflate/CHANGELOG.md index 34d0b1962d8..b0f3e1760e5 100644 --- a/protocols/deflate/CHANGELOG.md +++ b/protocols/deflate/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.25.0 [unreleased] +# 0.25.0 [2020-11-25] - Update `libp2p-core`. diff --git a/protocols/floodsub/CHANGELOG.md b/protocols/floodsub/CHANGELOG.md index 696e02cd733..927dfe608f4 100644 --- a/protocols/floodsub/CHANGELOG.md +++ b/protocols/floodsub/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.25.0 [unreleased] +# 0.25.0 [2020-11-25] - Update `libp2p-swarm` and `libp2p-core`. diff --git a/protocols/gossipsub/CHANGELOG.md b/protocols/gossipsub/CHANGELOG.md index 7efabaa8c79..fc01624c327 100644 --- a/protocols/gossipsub/CHANGELOG.md +++ b/protocols/gossipsub/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.25.0 [unreleased] +# 0.25.0 [2020-11-25] - Update `libp2p-swarm` and `libp2p-core`. diff --git a/protocols/identify/CHANGELOG.md b/protocols/identify/CHANGELOG.md index 03761672e80..db7796a29bc 100644 --- a/protocols/identify/CHANGELOG.md +++ b/protocols/identify/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.25.0 [unreleased] +# 0.25.0 [2020-11-25] - Update `libp2p-swarm` and `libp2p-core`. diff --git a/protocols/kad/CHANGELOG.md b/protocols/kad/CHANGELOG.md index 1635c0ef792..4c42e37d1f7 100644 --- a/protocols/kad/CHANGELOG.md +++ b/protocols/kad/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.26.0 [unreleased] +# 0.26.0 [2020-11-25] - Update `libp2p-core` and `libp2p-swarm`. diff --git a/protocols/mdns/CHANGELOG.md b/protocols/mdns/CHANGELOG.md index 1d2f6d5915a..3cfe9154619 100644 --- a/protocols/mdns/CHANGELOG.md +++ b/protocols/mdns/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.25.0 [unreleased] +# 0.25.0 [2020-11-25] - Update `libp2p-swarm` and `libp2p-core`. diff --git a/protocols/noise/CHANGELOG.md b/protocols/noise/CHANGELOG.md index 851a7022857..29a6e0cbbc1 100644 --- a/protocols/noise/CHANGELOG.md +++ b/protocols/noise/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.27.0 [unreleased] +# 0.27.0 [2020-11-25] - Update `libp2p-core`. diff --git a/protocols/ping/CHANGELOG.md b/protocols/ping/CHANGELOG.md index 3f75fb1d310..a86557c4b9f 100644 --- a/protocols/ping/CHANGELOG.md +++ b/protocols/ping/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.25.0 [unreleased] +# 0.25.0 [2020-11-25] - Update `libp2p-swarm` and `libp2p-core`. diff --git a/protocols/plaintext/CHANGELOG.md b/protocols/plaintext/CHANGELOG.md index c6857f6341c..635ae3cee98 100644 --- a/protocols/plaintext/CHANGELOG.md +++ b/protocols/plaintext/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.25.0 [unreleased] +# 0.25.0 [2020-11-25] - Update `libp2p-core`. diff --git a/protocols/request-response/CHANGELOG.md b/protocols/request-response/CHANGELOG.md index 198f1e6bc09..ed0d5d0e5e6 100644 --- a/protocols/request-response/CHANGELOG.md +++ b/protocols/request-response/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.6.0 [unreleased] +# 0.6.0 [2020-11-25] - Update `libp2p-swarm` and `libp2p-core`. diff --git a/protocols/secio/CHANGELOG.md b/protocols/secio/CHANGELOG.md index 6147c159f98..3c24d7664c2 100644 --- a/protocols/secio/CHANGELOG.md +++ b/protocols/secio/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.25.0 [unreleased] +# 0.25.0 [2020-11-25] - Update `libp2p-core`. diff --git a/swarm/CHANGELOG.md b/swarm/CHANGELOG.md index 639641e75cf..efe2d182c2e 100644 --- a/swarm/CHANGELOG.md +++ b/swarm/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.25.0 [unreleased] +# 0.25.0 [2020-11-25] - Changed parameters for connection limits from `usize` to `u32`. Connection limits are now configured via `SwarmBuilder::connection_limits()`. diff --git a/transports/dns/CHANGELOG.md b/transports/dns/CHANGELOG.md index 5a324eeaeaa..af69d4c0d62 100644 --- a/transports/dns/CHANGELOG.md +++ b/transports/dns/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.25.0 [unreleased] +# 0.25.0 [2020-11-25] - Update `libp2p-core`. diff --git a/transports/tcp/CHANGELOG.md b/transports/tcp/CHANGELOG.md index 4df28deb8c0..737c8b8e0a0 100644 --- a/transports/tcp/CHANGELOG.md +++ b/transports/tcp/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.25.0 [unreleased] +# 0.25.0 [2020-11-25] - Update `libp2p-core`. diff --git a/transports/uds/CHANGELOG.md b/transports/uds/CHANGELOG.md index 3efa3d1c4ec..f9df580ec3c 100644 --- a/transports/uds/CHANGELOG.md +++ b/transports/uds/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.25.0 [unreleased] +# 0.25.0 [2020-11-25] - Update `libp2p-core`. diff --git a/transports/wasm-ext/CHANGELOG.md b/transports/wasm-ext/CHANGELOG.md index 54c4ef13258..03429ba533c 100644 --- a/transports/wasm-ext/CHANGELOG.md +++ b/transports/wasm-ext/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.25.0 [unreleased] +# 0.25.0 [2020-11-25] - Update `libp2p-core`. diff --git a/transports/websocket/CHANGELOG.md b/transports/websocket/CHANGELOG.md index 0b2cd0f599b..f388f7acde1 100644 --- a/transports/websocket/CHANGELOG.md +++ b/transports/websocket/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.26.0 [unreleased] +# 0.26.0 [2020-11-25] - Update dependencies. From bb8004752836aea640fdd96ac71e2fbb975616d7 Mon Sep 17 00:00:00 2001 From: "Roman S. Borschel" Date: Wed, 25 Nov 2020 11:04:37 +0100 Subject: [PATCH 2/3] Update core-derive --- Cargo.toml | 2 +- misc/core-derive/CHANGELOG.md | 4 ++++ misc/core-derive/Cargo.toml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2c87e40cf61..c836213644b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,7 +63,7 @@ bytes = "0.5" futures = "0.3.1" lazy_static = "1.2" libp2p-core = { version = "0.25.0", path = "core" } -libp2p-core-derive = { version = "0.20.2", path = "misc/core-derive" } +libp2p-core-derive = { version = "0.21.0", path = "misc/core-derive" } libp2p-floodsub = { version = "0.25.0", path = "protocols/floodsub", optional = true } libp2p-gossipsub = { version = "0.25.0", path = "./protocols/gossipsub", optional = true } libp2p-identify = { version = "0.25.0", path = "protocols/identify", optional = true } diff --git a/misc/core-derive/CHANGELOG.md b/misc/core-derive/CHANGELOG.md index 4de00efd7c1..a41b0946724 100644 --- a/misc/core-derive/CHANGELOG.md +++ b/misc/core-derive/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.21.0 [2020-11-25] + +- Update for compatibility with `libp2p-swarm-0.25`. + # 0.20.2 [2020-07-28] - Generate fully-qualified method name for `poll` to avoid diff --git a/misc/core-derive/Cargo.toml b/misc/core-derive/Cargo.toml index 03b64062de3..a3077d6aa8a 100644 --- a/misc/core-derive/Cargo.toml +++ b/misc/core-derive/Cargo.toml @@ -2,7 +2,7 @@ name = "libp2p-core-derive" edition = "2018" description = "Procedural macros of libp2p-core" -version = "0.20.2" +version = "0.21.0" authors = ["Parity Technologies "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" From 747c9fde2798c2bb8b6f8bf00452db53dd443ac7 Mon Sep 17 00:00:00 2001 From: "Roman S. Borschel" Date: Wed, 25 Nov 2020 13:37:34 +0100 Subject: [PATCH 3/3] Update minimum multiaddr patch version in libp2p crate. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c836213644b..578f260a011 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -78,7 +78,7 @@ libp2p-swarm = { version = "0.25.0", path = "swarm" } libp2p-uds = { version = "0.25.0", path = "transports/uds", optional = true } libp2p-wasm-ext = { version = "0.25.0", path = "transports/wasm-ext", optional = true } libp2p-yamux = { version = "0.28.0", path = "muxers/yamux", optional = true } -multiaddr = { package = "parity-multiaddr", version = "0.9.4", path = "misc/multiaddr" } +multiaddr = { package = "parity-multiaddr", version = "0.9.6", path = "misc/multiaddr" } parking_lot = "0.11.0" pin-project = "1.0.0" smallvec = "1.0"