Skip to content

Commit 0e9dcdd

Browse files
hanabi1224jxsmergify[bot]
authored
chore: bump crate versions and update changelogs for #5676 (#5678)
## Description <!-- Please write a summary of your changes and why you made them. This section will appear as the commit message after merging. Please craft it accordingly. For a quick primer on good commit messages, check out this blog post: https://cbea.ms/git-commit/ Please include any relevant issues in here, for example: Related https://github.com/libp2p/rust-libp2p/issues/ABCD. Fixes https://github.com/libp2p/rust-libp2p/issues/XYZ. --> This PR bumps crate versions and add changelog entries for crates that are changed in #5676 Question: When should a crate version bump in the current release process? Should it be right before or right after publishing? I see most of current crate versions are published while some are not (e.g. [email protected] [email protected] and [email protected] etc.) ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR which don't need to go into the final commit message. --> ## Change checklist <!-- Please add a Changelog entry in the appropriate crates and bump the crate versions if needed. See <https://github.com/libp2p/rust-libp2p/blob/master/docs/release.md#development-between-releases>--> - [x] I have performed a self-review of my own code - [ ] I have made corresponding changes to the documentation - [ ] I have added tests that prove my fix is effective or that my feature works - [x] A changelog entry has been made in the appropriate crates --------- Co-authored-by: João Oliveira <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent 8222461 commit 0e9dcdd

30 files changed

+109
-36
lines changed

Cargo.lock

+12-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+12-12
Original file line numberDiff line numberDiff line change
@@ -75,33 +75,33 @@ rust-version = "1.75.0"
7575
asynchronous-codec = { version = "0.7.0" }
7676
futures-bounded = { version = "0.2.4" }
7777
futures-rustls = { version = "0.26.0", default-features = false }
78-
libp2p = { version = "0.54.1", path = "libp2p" }
79-
libp2p-allow-block-list = { version = "0.4.1", path = "misc/allow-block-list" }
78+
libp2p = { version = "0.54.2", path = "libp2p" }
79+
libp2p-allow-block-list = { version = "0.4.2", path = "misc/allow-block-list" }
8080
libp2p-autonat = { version = "0.13.1", path = "protocols/autonat" }
81-
libp2p-connection-limits = { version = "0.4.0", path = "misc/connection-limits" }
82-
libp2p-core = { version = "0.42.0", path = "core" }
83-
libp2p-dcutr = { version = "0.12.0", path = "protocols/dcutr" }
81+
libp2p-connection-limits = { version = "0.4.1", path = "misc/connection-limits" }
82+
libp2p-core = { version = "0.42.1", path = "core" }
83+
libp2p-dcutr = { version = "0.12.1", path = "protocols/dcutr" }
8484
libp2p-dns = { version = "0.42.0", path = "transports/dns" }
8585
libp2p-floodsub = { version = "0.45.0", path = "protocols/floodsub" }
8686
libp2p-gossipsub = { version = "0.48.0", path = "protocols/gossipsub" }
8787
libp2p-identify = { version = "0.46.0", path = "protocols/identify" }
88-
libp2p-identity = { version = "0.2.9" }
88+
libp2p-identity = { version = "0.2.10" }
8989
libp2p-kad = { version = "0.47.0", path = "protocols/kad" }
9090
libp2p-mdns = { version = "0.46.0", path = "protocols/mdns" }
91-
libp2p-memory-connection-limits = { version = "0.3.0", path = "misc/memory-connection-limits" }
91+
libp2p-memory-connection-limits = { version = "0.3.1", path = "misc/memory-connection-limits" }
9292
libp2p-metrics = { version = "0.15.0", path = "misc/metrics" }
9393
libp2p-mplex = { version = "0.42.0", path = "muxers/mplex" }
9494
libp2p-noise = { version = "0.45.0", path = "transports/noise" }
9595
libp2p-perf = { version = "0.4.0", path = "protocols/perf" }
96-
libp2p-ping = { version = "0.45.0", path = "protocols/ping" }
96+
libp2p-ping = { version = "0.45.1", path = "protocols/ping" }
9797
libp2p-plaintext = { version = "0.42.0", path = "transports/plaintext" }
9898
libp2p-pnet = { version = "0.25.0", path = "transports/pnet" }
99-
libp2p-quic = { version = "0.11.1", path = "transports/quic" }
100-
libp2p-relay = { version = "0.18.0", path = "protocols/relay" }
99+
libp2p-quic = { version = "0.11.2", path = "transports/quic" }
100+
libp2p-relay = { version = "0.18.1", path = "protocols/relay" }
101101
libp2p-rendezvous = { version = "0.15.0", path = "protocols/rendezvous" }
102-
libp2p-request-response = { version = "0.27.0", path = "protocols/request-response" }
102+
libp2p-request-response = { version = "0.27.1", path = "protocols/request-response" }
103103
libp2p-server = { version = "0.12.8", path = "misc/server" }
104-
libp2p-stream = { version = "0.2.0-alpha", path = "protocols/stream" }
104+
libp2p-stream = { version = "0.2.0-alpha.1", path = "protocols/stream" }
105105
libp2p-swarm = { version = "0.45.2", path = "swarm" }
106106
libp2p-swarm-derive = { version = "=0.35.0", path = "swarm-derive" } # `libp2p-swarm-derive` may not be compatible with different `libp2p-swarm` non-breaking releases. E.g. `libp2p-swarm` might introduce a new enum variant `FromSwarm` (which is `#[non-exhaustive]`) in a non-breaking release. Older versions of `libp2p-swarm-derive` would not forward this enum variant within the `NetworkBehaviour` hierarchy. Thus the version pinning is required.
107107
libp2p-swarm-test = { version = "0.5.0", path = "swarm-test" }

core/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.42.1
2+
3+
- Added `libp2p::core::util::unreachable` that is a drop-in replacement of `void::unreachable`.
4+
See [PR 5676](https://github.com/libp2p/rust-libp2p/pull/5676).
5+
16
## 0.42.0
27

38
- Update `Transport::dial` function signature with a `DialOpts` param and remove `Transport::dial_as_listener`:

core/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "libp2p-core"
33
edition = "2021"
44
rust-version = { workspace = true }
55
description = "Core traits and structs of libp2p"
6-
version = "0.42.0"
6+
version = "0.42.1"
77
authors = ["Parity Technologies <[email protected]>"]
88
license = "MIT"
99
repository = "https://github.com/libp2p/rust-libp2p"

identity/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.2.10
2+
3+
- Deprecate `void` crate.
4+
See [PR 5676](https://github.com/libp2p/rust-libp2p/pull/5676).
5+
16
## 0.2.9
27

38
- Add `rand` feature gate to ecdsa methods requiring a random number generator.

identity/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libp2p-identity"
3-
version = "0.2.9"
3+
version = "0.2.10"
44
edition = "2021"
55
description = "Data structures and algorithms for identifying peers in libp2p."
66
rust-version = "1.73.0" # MUST NOT inherit from workspace because we don't want to publish breaking changes to `libp2p-identity`.

libp2p/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.54.2
2+
3+
- Deprecate `void` crate.
4+
See [PR 5676](https://github.com/libp2p/rust-libp2p/pull/5676).
5+
16
## 0.54.1
27

38
- Update individual crates.

libp2p/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "libp2p"
33
edition = "2021"
44
rust-version = { workspace = true }
55
description = "Peer-to-peer networking library"
6-
version = "0.54.1"
6+
version = "0.54.2"
77
authors = ["Parity Technologies <[email protected]>"]
88
license = "MIT"
99
repository = "https://github.com/libp2p/rust-libp2p"

misc/allow-block-list/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.4.2
2+
3+
- Deprecate `void` crate.
4+
See [PR 5676](https://github.com/libp2p/rust-libp2p/pull/5676).
5+
16
## 0.4.1
27

38
- Add getters & setters for the allowed/blocked peers.

misc/allow-block-list/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "libp2p-allow-block-list"
33
edition = "2021"
44
rust-version = { workspace = true }
55
description = "Allow/block list connection management for libp2p."
6-
version = "0.4.1"
6+
version = "0.4.2"
77
license = "MIT"
88
repository = "https://github.com/libp2p/rust-libp2p"
99
keywords = ["peer-to-peer", "libp2p", "networking"]

misc/connection-limits/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.4.1
2+
3+
- Deprecate `void` crate.
4+
See [PR 5676](https://github.com/libp2p/rust-libp2p/pull/5676).
5+
16
## 0.4.0
27

38
<!-- Update to libp2p-swarm v0.45.0 -->

misc/connection-limits/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "libp2p-connection-limits"
33
edition = "2021"
44
rust-version = { workspace = true }
55
description = "Connection limits for libp2p."
6-
version = "0.4.0"
6+
version = "0.4.1"
77
license = "MIT"
88
repository = "https://github.com/libp2p/rust-libp2p"
99
keywords = ["peer-to-peer", "libp2p", "networking"]

misc/memory-connection-limits/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.3.1
2+
3+
- Deprecate `void` crate.
4+
See [PR 5676](https://github.com/libp2p/rust-libp2p/pull/5676).
5+
16
## 0.3.0
27

38
<!-- Update to libp2p-swarm v0.45.0 -->

misc/memory-connection-limits/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "libp2p-memory-connection-limits"
33
edition = "2021"
44
rust-version = { workspace = true }
55
description = "Memory usage based connection limits for libp2p."
6-
version = "0.3.0"
6+
version = "0.3.1"
77
license = "MIT"
88
repository = "https://github.com/libp2p/rust-libp2p"
99
keywords = ["peer-to-peer", "libp2p", "networking"]

protocols/autonat/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
## 0.13.1
2+
23
- Verify that an incoming AutoNAT dial comes from a connected peer. See [PR 5597](https://github.com/libp2p/rust-libp2p/pull/5597).
34

5+
- Deprecate `void` crate.
6+
See [PR 5676](https://github.com/libp2p/rust-libp2p/pull/5676).
7+
48
## 0.13.0
59

610
- Due to the refactor of `Transport` it's no longer required to create a seperate transport for

protocols/dcutr/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.12.1
2+
3+
- Deprecate `void` crate.
4+
See [PR 5676](https://github.com/libp2p/rust-libp2p/pull/5676).
5+
16
## 0.12.0
27

38
<!-- Update to libp2p-swarm v0.45.0 -->

protocols/dcutr/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "libp2p-dcutr"
33
edition = "2021"
44
rust-version = { workspace = true }
55
description = "Direct connection upgrade through relay"
6-
version = "0.12.0"
6+
version = "0.12.1"
77
authors = ["Max Inden <[email protected]>"]
88
license = "MIT"
99
repository = "https://github.com/libp2p/rust-libp2p"

protocols/gossipsub/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
- Apply `max_transmit_size` to the inner message instead of the final payload.
44
See [PR 5642](https://github.com/libp2p/rust-libp2p/pull/5642).
55

6+
- Deprecate `void` crate.
7+
See [PR 5676](https://github.com/libp2p/rust-libp2p/pull/5676).
8+
69
## 0.47.1
710

811
- Attempt to publish to at least mesh_n peers when flood publish is disabled.

protocols/perf/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
- Add ConnectionError to FromSwarm::ConnectionClosed.
55
See [PR 5485](https://github.com/libp2p/rust-libp2p/pull/5485).
66

7+
- Deprecate `void` crate.
8+
See [PR 5676](https://github.com/libp2p/rust-libp2p/pull/5676).
9+
710
## 0.3.1
811
- Use `web-time` instead of `instant`.
912
See [PR 5347](https://github.com/libp2p/rust-libp2p/pull/5347).

protocols/ping/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.45.1
2+
3+
- Deprecate `void` crate.
4+
See [PR 5676](https://github.com/libp2p/rust-libp2p/pull/5676).
5+
16
## 0.45.0
27

38
<!-- Update to libp2p-swarm v0.45.0 -->

protocols/ping/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "libp2p-ping"
33
edition = "2021"
44
rust-version = { workspace = true }
55
description = "Ping protocol for libp2p"
6-
version = "0.45.0"
6+
version = "0.45.1"
77
authors = ["Parity Technologies <[email protected]>"]
88
license = "MIT"
99
repository = "https://github.com/libp2p/rust-libp2p"

protocols/relay/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.18.1
2+
3+
- Deprecate `void` crate.
4+
See [PR 5676](https://github.com/libp2p/rust-libp2p/pull/5676).
5+
16
## 0.18.0
27

38
<!-- Update to libp2p-swarm v0.45.0 -->

protocols/relay/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "libp2p-relay"
33
edition = "2021"
44
rust-version = { workspace = true }
55
description = "Communications relaying for libp2p"
6-
version = "0.18.0"
6+
version = "0.18.1"
77
authors = ["Parity Technologies <[email protected]>", "Max Inden <[email protected]>"]
88
license = "MIT"
99
repository = "https://github.com/libp2p/rust-libp2p"

protocols/request-response/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.27.1
2+
3+
- Deprecate `void` crate.
4+
See [PR 5676](https://github.com/libp2p/rust-libp2p/pull/5676).
5+
16
## 0.27.0
27

38
<!-- Update to libp2p-swarm v0.45.0 -->

protocols/request-response/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "libp2p-request-response"
33
edition = "2021"
44
rust-version = { workspace = true }
55
description = "Generic Request/Response Protocols"
6-
version = "0.27.0"
6+
version = "0.27.1"
77
authors = ["Parity Technologies <[email protected]>"]
88
license = "MIT"
99
repository = "https://github.com/libp2p/rust-libp2p"

protocols/stream/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.2.0-alpha.1
2+
3+
- Deprecate `void` crate.
4+
See [PR 5676](https://github.com/libp2p/rust-libp2p/pull/5676).
5+
16
## 0.2.0-alpha
27

38
<!-- Update to libp2p-swarm v0.45.0 -->

protocols/stream/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libp2p-stream"
3-
version = "0.2.0-alpha"
3+
version = "0.2.0-alpha.1"
44
edition = "2021"
55
rust-version.workspace = true
66
description = "Generic stream protocols for libp2p"

swarm/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
- Don't report `NewExternalAddrCandidate` for confirmed external addresses.
44
See [PR 5582](https://github.com/libp2p/rust-libp2p/pull/5582).
55

6+
- Deprecate `void` crate.
7+
See [PR 5676](https://github.com/libp2p/rust-libp2p/pull/5676).
8+
69
## 0.45.1
710

811
- Update `libp2p-swarm-derive` to version `0.35.0`, see [PR 5545]

transports/quic/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.11.2
2+
3+
- Deprecate `void` crate.
4+
See [PR 5676](https://github.com/libp2p/rust-libp2p/pull/5676).
5+
16
## 0.11.1
27

38
- Update `libp2p-tls` to version `0.5.0`, see [PR 5547]

0 commit comments

Comments
 (0)