Skip to content

Commit a2c93fc

Browse files
vmxmxinden
andauthored
*: Update multihash and multiaddr (#2469)
Co-authored-by: Max Inden <[email protected]>
1 parent 1b6ffb1 commit a2c93fc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+229
-89
lines changed

CHANGELOG.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,29 @@
4545
## Version 0.43.0 [unreleased]
4646

4747
- Update individual crates.
48-
- `libp2p-core`
49-
- `libp2p-gossipsub`
50-
- `libp2p-metrics`
48+
- Update to `libp2p-autonat` `v0.2.0`.
49+
- Update to `libp2p-core` `v0.32.0`.
50+
- Update to `libp2p-deflate` `v0.32.0`.
51+
- Update to `libp2p-dns` `v0.32.0`.
52+
- Update to `libp2p-floodsub` `v0.34.0`.
53+
- Update to `libp2p-gossipsub` `v0.36.0`.
54+
- Update to `libp2p-identify` `v0.34.0`.
55+
- Update to `libp2p-kad` `v0.35.0`.
56+
- Update to `libp2p-mdns` `v0.35.0`.
57+
- Update to `libp2p-metrics` `v0.4.0`.
58+
- Update to `libp2p-mplex` `v0.32.0`.
59+
- Update to `libp2p-noise` `v0.35.0`.
60+
- Update to `libp2p-ping` `v0.34.0`.
61+
- Update to `libp2p-plaintext` `v0.32.0`.
62+
- Update to `libp2p-relay` `v0.7.0`.
63+
- Update to `libp2p-rendezvous` `v0.4.0`.
64+
- Update to `libp2p-request-response` `v0.16.0`.
65+
- Update to `libp2p-swarm` `v0.34.0`.
66+
- Update to `libp2p-tcp` `v0.32.0`.
67+
- Update to `libp2p-uds` `v0.32.0`.
68+
- Update to `libp2p-wasm-ext` `v0.32.0`.
69+
- Update to `libp2p-websocket` `v0.34.0`.
70+
- Update to `libp2p-yamux` `v0.36.0`.
5171

5272
## Version 0.42.1 [2022-02-02]
5373

Cargo.toml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -76,38 +76,38 @@ getrandom = "0.2.3" # Explicit dependency to be used in `wasm-bindgen` feature
7676
instant = "0.1.11" # Explicit dependency to be used in `wasm-bindgen` feature
7777
lazy_static = "1.2"
7878

79-
libp2p-autonat = { version = "0.1.0", path = "protocols/autonat", optional = true }
80-
libp2p-core = { version = "0.31.1", path = "core", default-features = false }
81-
libp2p-floodsub = { version = "0.33.0", path = "protocols/floodsub", optional = true }
79+
libp2p-autonat = { version = "0.2.0", path = "protocols/autonat", optional = true }
80+
libp2p-core = { version = "0.32.0", path = "core", default-features = false }
81+
libp2p-floodsub = { version = "0.34.0", path = "protocols/floodsub", optional = true }
8282
libp2p-gossipsub = { version = "0.36.0", path = "./protocols/gossipsub", optional = true }
83-
libp2p-identify = { version = "0.33.0", path = "protocols/identify", optional = true }
84-
libp2p-kad = { version = "0.34.0", path = "protocols/kad", optional = true }
83+
libp2p-identify = { version = "0.34.0", path = "protocols/identify", optional = true }
84+
libp2p-kad = { version = "0.35.0", path = "protocols/kad", optional = true }
8585
libp2p-metrics = { version = "0.4.0", path = "misc/metrics", optional = true }
86-
libp2p-mplex = { version = "0.31.0", path = "muxers/mplex", optional = true }
87-
libp2p-noise = { version = "0.34.0", path = "transports/noise", optional = true }
88-
libp2p-ping = { version = "0.33.0", path = "protocols/ping", optional = true }
89-
libp2p-plaintext = { version = "0.31.0", path = "transports/plaintext", optional = true }
86+
libp2p-mplex = { version = "0.32.0", path = "muxers/mplex", optional = true }
87+
libp2p-noise = { version = "0.35.0", path = "transports/noise", optional = true }
88+
libp2p-ping = { version = "0.34.0", path = "protocols/ping", optional = true }
89+
libp2p-plaintext = { version = "0.32.0", path = "transports/plaintext", optional = true }
9090
libp2p-pnet = { version = "0.22.0", path = "transports/pnet", optional = true }
91-
libp2p-relay = { version = "0.6.1", path = "protocols/relay", optional = true }
92-
libp2p-rendezvous = { version = "0.3.0", path = "protocols/rendezvous", optional = true }
93-
libp2p-request-response = { version = "0.15.0", path = "protocols/request-response", optional = true }
94-
libp2p-swarm = { version = "0.33.0", path = "swarm" }
91+
libp2p-relay = { version = "0.7.0", path = "protocols/relay", optional = true }
92+
libp2p-rendezvous = { version = "0.4.0", path = "protocols/rendezvous", optional = true }
93+
libp2p-request-response = { version = "0.16.0", path = "protocols/request-response", optional = true }
94+
libp2p-swarm = { version = "0.34.0", path = "swarm" }
9595
libp2p-swarm-derive = { version = "0.26.1", path = "swarm-derive" }
96-
libp2p-uds = { version = "0.31.0", path = "transports/uds", optional = true }
97-
libp2p-wasm-ext = { version = "0.31.0", path = "transports/wasm-ext", default-features = false, optional = true }
98-
libp2p-yamux = { version = "0.35.0", path = "muxers/yamux", optional = true }
99-
multiaddr = { version = "0.13.0" }
96+
libp2p-uds = { version = "0.32.0", path = "transports/uds", optional = true }
97+
libp2p-wasm-ext = { version = "0.32.0", path = "transports/wasm-ext", default-features = false, optional = true }
98+
libp2p-yamux = { version = "0.36.0", path = "muxers/yamux", optional = true }
99+
multiaddr = { version = "0.14.0" }
100100
parking_lot = "0.11.0"
101101
pin-project = "1.0.0"
102102
rand = "0.7.3" # Explicit dependency to be used in `wasm-bindgen` feature
103103
smallvec = "1.6.1"
104104

105105
[target.'cfg(not(any(target_os = "emscripten", target_os = "wasi", target_os = "unknown")))'.dependencies]
106-
libp2p-deflate = { version = "0.31.0", path = "transports/deflate", optional = true }
107-
libp2p-dns = { version = "0.31.0", path = "transports/dns", optional = true, default-features = false }
108-
libp2p-mdns = { version = "0.34.0", path = "protocols/mdns", optional = true }
109-
libp2p-tcp = { version = "0.31.1", path = "transports/tcp", default-features = false, optional = true }
110-
libp2p-websocket = { version = "0.33.0", path = "transports/websocket", optional = true }
106+
libp2p-deflate = { version = "0.32.0", path = "transports/deflate", optional = true }
107+
libp2p-dns = { version = "0.32.0", path = "transports/dns", optional = true, default-features = false }
108+
libp2p-mdns = { version = "0.35.0", path = "protocols/mdns", optional = true }
109+
libp2p-tcp = { version = "0.32.0", path = "transports/tcp", default-features = false, optional = true }
110+
libp2p-websocket = { version = "0.34.0", path = "transports/websocket", optional = true }
111111

112112
[dev-dependencies]
113113
async-std = { version = "1.6.2", features = ["attributes"] }

core/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
# 0.31.1 [unreleased]
1+
# 0.32.0 [unreleased]
2+
3+
- Update to `multiaddr` `v0.14.0`.
4+
5+
- Update to `multihash` `v0.16.0`.
26

37
- Implement `Display` on `DialError`. See [PR 2456].
48

core/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "libp2p-core"
33
edition = "2021"
44
rust-version = "1.56.1"
55
description = "Core traits and structs of libp2p"
6-
version = "0.31.1"
6+
version = "0.32.0"
77
authors = ["Parity Technologies <[email protected]>"]
88
license = "MIT"
99
repository = "https://github.com/libp2p/rust-libp2p"
@@ -22,8 +22,8 @@ instant = "0.1.11"
2222
lazy_static = "1.2"
2323
libsecp256k1 = { version = "0.7.0", optional = true }
2424
log = "0.4"
25-
multiaddr = { version = "0.13.0" }
26-
multihash = { version = "0.14", default-features = false, features = ["std", "multihash-impl", "identity", "sha2"] }
25+
multiaddr = { version = "0.14.0" }
26+
multihash = { version = "0.16", default-features = false, features = ["std", "multihash-impl", "identity", "sha2"] }
2727
multistream-select = { version = "0.11", path = "../misc/multistream-select" }
2828
p256 = { version = "0.10.0", default-features = false, features = ["ecdsa"], optional = true }
2929
parking_lot = "0.11.0"
@@ -51,7 +51,7 @@ libp2p-noise = { path = "../transports/noise" }
5151
libp2p-tcp = { path = "../transports/tcp" }
5252
serde_json = "1.0"
5353
rmp-serde = "1.0"
54-
multihash = { version = "0.14", default-features = false, features = ["arb"] }
54+
multihash = { version = "0.16", default-features = false, features = ["arb"] }
5555
quickcheck = "0.9.0"
5656
rand07 = { package = "rand", version = "0.7" }
5757

misc/metrics/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# 0.4.0 [unreleased]
22

3+
- Update to `libp2p-core` `v0.32.0`.
4+
5+
- Update to `libp2p-swarm` `v0.34.0`.
6+
7+
- Update to `libp2p-ping` `v0.34.0`.
8+
9+
- Update to `libp2p-identify` `v0.34.0`.
10+
11+
- Update to `libp2p-relay` `v0.7.0`.
12+
13+
- Update to `libp2p-kad` `v0.35.0`.
14+
315
- Move from `open-metrics-client` to `prometheus-client` (see [PR 2442]).
416

517
[PR 2442]: https://github.com/libp2p/rust-libp2p/pull/2442

misc/metrics/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ ping = ["libp2p-ping"]
1818
relay = ["libp2p-relay"]
1919

2020
[dependencies]
21-
libp2p-core = { version = "0.31.0", path = "../../core", default-features = false }
21+
libp2p-core = { version = "0.32.0", path = "../../core", default-features = false }
2222
libp2p-gossipsub = { version = "0.36.0", path = "../../protocols/gossipsub", optional = true }
23-
libp2p-identify = { version = "0.33.0", path = "../../protocols/identify", optional = true }
24-
libp2p-kad = { version = "0.34.0", path = "../../protocols/kad", optional = true }
25-
libp2p-ping = { version = "0.33.0", path = "../../protocols/ping", optional = true }
26-
libp2p-relay = { version = "0.6.0", path = "../../protocols/relay", optional = true }
27-
libp2p-swarm = { version = "0.33.0", path = "../../swarm" }
23+
libp2p-identify = { version = "0.34.0", path = "../../protocols/identify", optional = true }
24+
libp2p-kad = { version = "0.35.0", path = "../../protocols/kad", optional = true }
25+
libp2p-ping = { version = "0.34.0", path = "../../protocols/ping", optional = true }
26+
libp2p-relay = { version = "0.7.0", path = "../../protocols/relay", optional = true }
27+
libp2p-swarm = { version = "0.34.0", path = "../../swarm" }
2828
prometheus-client = "0.15.0"
2929

3030
[dev-dependencies]

misc/peer-id-generator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ categories = ["network-programming", "asynchronous"]
1212
publish = false
1313

1414
[dependencies]
15-
libp2p-core = { path = "../../core", default-features = false, version = "0.31.0"}
15+
libp2p-core = { path = "../../core", default-features = false, version = "0.32.0"}
1616
num_cpus = "1.8"

muxers/mplex/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.32.0 [unreleased]
2+
3+
- Update to `libp2p-core` `v0.32.0`.
4+
15
# 0.31.0 [2022-01-27]
26

37
- Update dependencies.

muxers/mplex/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "libp2p-mplex"
33
edition = "2021"
44
rust-version = "1.56.1"
55
description = "Mplex multiplexing protocol for libp2p"
6-
version = "0.31.0"
6+
version = "0.32.0"
77
authors = ["Parity Technologies <[email protected]>"]
88
license = "MIT"
99
repository = "https://github.com/libp2p/rust-libp2p"
@@ -14,7 +14,7 @@ categories = ["network-programming", "asynchronous"]
1414
bytes = "1"
1515
futures = "0.3.1"
1616
asynchronous-codec = "0.6"
17-
libp2p-core = { version = "0.31.0", path = "../../core", default-features = false }
17+
libp2p-core = { version = "0.32.0", path = "../../core", default-features = false }
1818
log = "0.4"
1919
nohash-hasher = "0.2"
2020
parking_lot = "0.11"

muxers/yamux/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.36.0 [unreleased]
2+
3+
- Update to `libp2p-core` `v0.32.0`.
4+
15
# 0.35.0 [2022-01-27]
26

37
- Update dependencies.

0 commit comments

Comments
 (0)