From 4b056746e77adfb2d39b466146451976567c3204 Mon Sep 17 00:00:00 2001 From: Max Inden Date: Tue, 29 Nov 2022 09:18:40 +0100 Subject: [PATCH] fix(derive): Release breaking change as v0.31.0 `libp2p-swarm-derive` released a breaking change (https://github.com/libp2p/rust-libp2p/pull/3011) as a patch release `v0.30.2`. This patch: 1. Prepares a new minor release of `libp2p-swarm-derive`. 2. Prepares a patch release for `libp2p-swarm` to use the minor release of `libp2p-swarm-derive`. As a follow up we can yank the `libp2p-swarm-derive` `v0.30.2` release. In addition we might want to release `libp2p-swarm-derive` `v0.30.3` containing all patches but https://github.com/libp2p/rust-libp2p/pull/3011. --- swarm-derive/CHANGELOG.md | 2 +- swarm-derive/Cargo.toml | 2 +- swarm/CHANGELOG.md | 4 ++++ swarm/Cargo.toml | 4 ++-- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/swarm-derive/CHANGELOG.md b/swarm-derive/CHANGELOG.md index 1567ed39406..b29f213e4e3 100644 --- a/swarm-derive/CHANGELOG.md +++ b/swarm-derive/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.30.2 +# 0.31.0 - Replace `NetworkBehaviour` Derive macro deprecated `inject_*` method implementations with the new `on_swarm_event` and `on_connection_handler_event`. diff --git a/swarm-derive/Cargo.toml b/swarm-derive/Cargo.toml index 3530d14ed9d..00deb73f5e7 100644 --- a/swarm-derive/Cargo.toml +++ b/swarm-derive/Cargo.toml @@ -3,7 +3,7 @@ name = "libp2p-swarm-derive" edition = "2021" rust-version = "1.60.0" description = "Procedural macros of libp2p-core" -version = "0.30.2" +version = "0.31.0" authors = ["Parity Technologies "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" diff --git a/swarm/CHANGELOG.md b/swarm/CHANGELOG.md index 546ae75f7a6..ac2f18823f2 100644 --- a/swarm/CHANGELOG.md +++ b/swarm/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.41.1 + +- Update to `swarm-derive` `v0.31.0`. + # 0.41.0 - Update to `libp2p-core` `v0.38.0`. diff --git a/swarm/Cargo.toml b/swarm/Cargo.toml index c17b00203a9..fc07a91c01b 100644 --- a/swarm/Cargo.toml +++ b/swarm/Cargo.toml @@ -3,7 +3,7 @@ name = "libp2p-swarm" edition = "2021" rust-version = "1.62.0" description = "The libp2p swarm" -version = "0.41.0" +version = "0.41.1" authors = ["Parity Technologies "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" @@ -17,7 +17,7 @@ futures = "0.3.1" futures-timer = "3.0.2" instant = "0.1.11" libp2p-core = { version = "0.38.0", path = "../core" } -libp2p-swarm-derive = { version = "0.30.2", path = "../swarm-derive", optional = true } +libp2p-swarm-derive = { version = "0.31.0", path = "../swarm-derive", optional = true } log = "0.4" pin-project = "1.0.0" rand = "0.8"