Skip to content

Commit

Permalink
fix(derive): Release breaking change as v0.31.0 (#3178)
Browse files Browse the repository at this point in the history
`libp2p-swarm-derive` released a breaking change (#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 #3011.
  • Loading branch information
mxinden committed Nov 29, 2022
1 parent 5b4eab7 commit be0b62a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion 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`.
Expand Down
4 changes: 2 additions & 2 deletions swarm-derive/Cargo.toml
Expand Up @@ -2,8 +2,8 @@
name = "libp2p-swarm-derive"
edition = "2021"
rust-version = "1.60.0"
description = "Procedural macros of libp2p-core"
version = "0.30.2"
description = "Procedural macros of libp2p-swarm"
version = "0.31.0"
authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT"
repository = "https://github.com/libp2p/rust-libp2p"
Expand Down
4 changes: 4 additions & 0 deletions swarm/CHANGELOG.md
@@ -1,3 +1,7 @@
# 0.41.1

- Update to `libp2p-swarm-derive` `v0.31.0`.

# 0.41.0

- Update to `libp2p-core` `v0.38.0`.
Expand Down
6 changes: 3 additions & 3 deletions swarm/Cargo.toml
Expand Up @@ -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 <admin@parity.io>"]
license = "MIT"
repository = "https://github.com/libp2p/rust-libp2p"
Expand All @@ -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"
Expand Down Expand Up @@ -46,7 +46,7 @@ libp2p-identify = { path = "../protocols/identify" }
libp2p-kad = { path = "../protocols/kad" }
libp2p-ping = { path = "../protocols/ping" }
libp2p-plaintext = { path = "../transports/plaintext" }
libp2p-swarm-derive = { version = "0.30.2", path = "../swarm-derive" }
libp2p-swarm-derive = { path = "../swarm-derive" }
libp2p-yamux = { path = "../muxers/yamux" }
quickcheck = { package = "quickcheck-ext", path = "../misc/quickcheck-ext" }
void = "1"
Expand Down

0 comments on commit be0b62a

Please sign in to comment.