Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge branch 'libp2p/v0.40' into master #2324

Merged
merged 3 commits into from Nov 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 1 addition & 13 deletions CHANGELOG.md
Expand Up @@ -49,19 +49,7 @@
- `libp2p-websocket`
- Forward `wasm-bindgen` feature to `futures-timer`, `instant`, `parking_lot`, `getrandom/js` and `rand/wasm-bindgen`.

## Version 0.40.0-rc.3 [2021-10-27]

- Update individual crates.
- `libp2p-core`
- `libp2p-identify`
- `libp2p-swarm`

## Version 0.40.0-rc.2 [2021-10-15]

- Update individual crates.
- `libp2p-kad`

## Version 0.40.0-rc.1 [2021-10-15]
## Version 0.40.0 [2021-11-01]

- Update individual crates.
- `libp2p-core`
Expand Down
48 changes: 24 additions & 24 deletions Cargo.toml
Expand Up @@ -71,36 +71,36 @@ futures-timer = "3.0.2" # Explicit dependency to be used in `wasm-bindgen` featu
getrandom = "0.2.3" # Explicit dependency to be used in `wasm-bindgen` feature
instant = "0.1.11" # Explicit dependency to be used in `wasm-bindgen` feature
lazy_static = "1.2"
libp2p-core = { version = "0.30.0-rc.2", path = "core", default-features = false }
libp2p-floodsub = { version = "0.31.0-rc.1", path = "protocols/floodsub", optional = true }
libp2p-gossipsub = { version = "0.33.0-rc.1", path = "./protocols/gossipsub", optional = true }
libp2p-identify = { version = "0.31.0-rc.2", path = "protocols/identify", optional = true }
libp2p-core = { version = "0.30.0", path = "core", default-features = false }
libp2p-floodsub = { version = "0.31.0", path = "protocols/floodsub", optional = true }
libp2p-gossipsub = { version = "0.33.0", path = "./protocols/gossipsub", optional = true }
libp2p-identify = { version = "0.31.0", path = "protocols/identify", optional = true }
libp2p-kad = { version = "0.33.0", path = "protocols/kad", optional = true }
libp2p-metrics = { version = "0.1.0-rc.1", path = "misc/metrics", optional = true }
libp2p-mplex = { version = "0.30.0-rc.1", path = "muxers/mplex", optional = true }
libp2p-noise = { version = "0.33.0-rc.1", path = "transports/noise", optional = true }
libp2p-ping = { version = "0.31.0-rc.1", path = "protocols/ping", optional = true }
libp2p-plaintext = { version = "0.30.0-rc.1", path = "transports/plaintext", optional = true }
libp2p-pnet = { version = "0.22.0-rc.1", path = "transports/pnet", optional = true }
libp2p-relay = { version = "0.4.0-rc.1", path = "protocols/relay", optional = true }
libp2p-rendezvous = { version = "0.1.0-rc.1", path = "protocols/rendezvous", optional = true }
libp2p-request-response = { version = "0.13.0-rc.1", path = "protocols/request-response", optional = true }
libp2p-swarm = { version = "0.31.0-rc.2", path = "swarm" }
libp2p-swarm-derive = { version = "0.25.0-rc.1", path = "swarm-derive" }
libp2p-uds = { version = "0.30.0-rc.1", path = "transports/uds", optional = true }
libp2p-wasm-ext = { version = "0.30.0-rc.1", path = "transports/wasm-ext", default-features = false, optional = true }
libp2p-yamux = { version = "0.34.0-rc.1", path = "muxers/yamux", optional = true }
multiaddr = { version = "0.13.0-rc.1" }
parking_lot = "0.11.2" # Explicit dependency to be used in `wasm-bindgen` feature
libp2p-metrics = { version = "0.1.0", path = "misc/metrics", optional = true }
libp2p-mplex = { version = "0.30.0", path = "muxers/mplex", optional = true }
libp2p-noise = { version = "0.33.0", path = "transports/noise", optional = true }
libp2p-ping = { version = "0.31.0", path = "protocols/ping", optional = true }
libp2p-plaintext = { version = "0.30.0", path = "transports/plaintext", optional = true }
libp2p-pnet = { version = "0.22.0", path = "transports/pnet", optional = true }
libp2p-relay = { version = "0.4.0", path = "protocols/relay", optional = true }
libp2p-rendezvous = { version = "0.1.0", path = "protocols/rendezvous", optional = true }
libp2p-request-response = { version = "0.13.0", path = "protocols/request-response", optional = true }
libp2p-swarm = { version = "0.31.0", path = "swarm" }
libp2p-swarm-derive = { version = "0.25.0", path = "swarm-derive" }
libp2p-uds = { version = "0.30.0", path = "transports/uds", optional = true }
libp2p-wasm-ext = { version = "0.30.0", path = "transports/wasm-ext", default-features = false, optional = true }
libp2p-yamux = { version = "0.34.0", path = "muxers/yamux", optional = true }
multiaddr = { version = "0.13.0" }
parking_lot = "0.11.0"
pin-project = "1.0.0"
rand = "0.7.3" # Explicit dependency to be used in `wasm-bindgen` feature
smallvec = "1.6.1"

[target.'cfg(not(any(target_os = "emscripten", target_os = "wasi", target_os = "unknown")))'.dependencies]
libp2p-deflate = { version = "0.30.0-rc.1", path = "transports/deflate", optional = true }
libp2p-dns = { version = "0.30.0-rc.1", path = "transports/dns", optional = true, default-features = false }
libp2p-mdns = { version = "0.32.0-rc.1", path = "protocols/mdns", optional = true }
libp2p-tcp = { version = "0.30.0-rc.1", path = "transports/tcp", default-features = false, optional = true }
libp2p-deflate = { version = "0.30.0", path = "transports/deflate", optional = true }
libp2p-dns = { version = "0.30.0", path = "transports/dns", optional = true, default-features = false }
libp2p-mdns = { version = "0.32.0", path = "protocols/mdns", optional = true }
libp2p-tcp = { version = "0.30.0", path = "transports/tcp", default-features = false, optional = true }
libp2p-websocket = { version = "0.32.0", path = "transports/websocket", optional = true }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion core/CHANGELOG.md
Expand Up @@ -4,7 +4,7 @@

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

# 0.30.0-rc.2 [2021-10-27]
# 0.30.0 [2021-11-01]

- Add `ConnectionLimit::with_max_established` (see [PR 2137]).

Expand Down
2 changes: 1 addition & 1 deletion misc/metrics/CHANGELOG.md
@@ -1,3 +1,3 @@
## Version 0.1.0 [2021-10-15]
## Version 0.1.0 [2021-11-01]

- Add initial version.
10 changes: 5 additions & 5 deletions misc/metrics/Cargo.toml
Expand Up @@ -2,7 +2,7 @@
name = "libp2p-metrics"
edition = "2018"
description = "Metrics for libp2p"
version = "0.1.0-rc.1"
version = "0.1.0"
authors = ["Max Inden <mail@max-inden.de>"]
license = "MIT"
repository = "https://github.com/libp2p/rust-libp2p"
Expand All @@ -15,11 +15,11 @@ kad = ["libp2p-kad"]
ping = ["libp2p-ping"]

[dependencies]
libp2p-core= { version = "0.30.0-rc.1", path = "../../core" }
libp2p-identify = { version = "0.31.0-rc.1", path = "../../protocols/identify", optional = true }
libp2p-core= { version = "0.30.0", path = "../../core" }
libp2p-identify = { version = "0.31.0", path = "../../protocols/identify", optional = true }
libp2p-kad = { version = "0.33.0", path = "../../protocols/kad", optional = true }
libp2p-ping = { version = "0.31.0-rc.1", path = "../../protocols/ping", optional = true }
libp2p-swarm = { version = "0.31.0-rc.1", path = "../../swarm" }
libp2p-ping = { version = "0.31.0", path = "../../protocols/ping", optional = true }
libp2p-swarm = { version = "0.31.0", path = "../../swarm" }
open-metrics-client = "0.12.0"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion misc/multistream-select/CHANGELOG.md
@@ -1,4 +1,4 @@
# 0.10.4-rc.1 [2021-10-15]
# 0.10.4 [2021-11-01]

- Implement `From<io::Error> for ProtocolError` instead of `Into`.
[PR 2169](https://github.com/libp2p/rust-libp2p/pull/2169)
Expand Down
2 changes: 1 addition & 1 deletion muxers/mplex/CHANGELOG.md
@@ -1,4 +1,4 @@
# 0.30.0-rc.1 [2021-10-15]
# 0.30.0 [2021-11-01]

- Make default features of `libp2p-core` optional.
[PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181)
Expand Down
4 changes: 2 additions & 2 deletions muxers/mplex/Cargo.toml
Expand Up @@ -2,7 +2,7 @@
name = "libp2p-mplex"
edition = "2018"
description = "Mplex multiplexing protocol for libp2p"
version = "0.30.0-rc.1"
version = "0.30.0"
authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT"
repository = "https://github.com/libp2p/rust-libp2p"
Expand All @@ -13,7 +13,7 @@ categories = ["network-programming", "asynchronous"]
bytes = "1"
futures = "0.3.1"
asynchronous-codec = "0.6"
libp2p-core = { version = "0.30.0-rc.1", path = "../../core", default-features = false }
libp2p-core = { version = "0.30.0", path = "../../core", default-features = false }
log = "0.4"
nohash-hasher = "0.2"
parking_lot = "0.11"
Expand Down
2 changes: 1 addition & 1 deletion muxers/yamux/CHANGELOG.md
@@ -1,4 +1,4 @@
# 0.34.0-rc.1 [2021-10-15]
# 0.34.0 [2021-11-01]

- Make default features of `libp2p-core` optional.
[PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181)
Expand Down
4 changes: 2 additions & 2 deletions muxers/yamux/Cargo.toml
Expand Up @@ -2,7 +2,7 @@
name = "libp2p-yamux"
edition = "2018"
description = "Yamux multiplexing protocol for libp2p"
version = "0.34.0-rc.1"
version = "0.34.0"
authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT"
repository = "https://github.com/libp2p/rust-libp2p"
Expand All @@ -11,7 +11,7 @@ categories = ["network-programming", "asynchronous"]

[dependencies]
futures = "0.3.1"
libp2p-core = { version = "0.30.0-rc.1", path = "../../core", default-features = false }
libp2p-core = { version = "0.30.0", path = "../../core", default-features = false }
parking_lot = "0.11"
thiserror = "1.0"
yamux = "0.9.0"
2 changes: 1 addition & 1 deletion protocols/floodsub/CHANGELOG.md
@@ -1,4 +1,4 @@
# 0.31.0-rc.1 [2021-10-15]
# 0.31.0 [2021-11-01]

- Make default features of `libp2p-core` optional.
[PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181)
Expand Down
6 changes: 3 additions & 3 deletions protocols/floodsub/Cargo.toml
Expand Up @@ -2,7 +2,7 @@
name = "libp2p-floodsub"
edition = "2018"
description = "Floodsub protocol for libp2p"
version = "0.31.0-rc.1"
version = "0.31.0"
authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT"
repository = "https://github.com/libp2p/rust-libp2p"
Expand All @@ -13,8 +13,8 @@ categories = ["network-programming", "asynchronous"]
cuckoofilter = "0.5.0"
fnv = "1.0"
futures = "0.3.1"
libp2p-core = { version = "0.30.0-rc.1", path = "../../core", default-features = false }
libp2p-swarm = { version = "0.31.0-rc.1", path = "../../swarm" }
libp2p-core = { version = "0.30.0", path = "../../core", default-features = false }
libp2p-swarm = { version = "0.31.0", path = "../../swarm" }
log = "0.4"
prost = "0.9"
rand = "0.7"
Expand Down
2 changes: 1 addition & 1 deletion protocols/gossipsub/CHANGELOG.md
Expand Up @@ -4,7 +4,7 @@

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

# 0.33.0-rc.1 [2021-10-15]
# 0.33.0 [2021-11-01]

- Add an event to register peers that do not support the gossipsub protocol
[PR 2241](https://github.com/libp2p/rust-libp2p/pull/2241)
Expand Down
4 changes: 2 additions & 2 deletions protocols/gossipsub/Cargo.toml
Expand Up @@ -10,8 +10,8 @@ keywords = ["peer-to-peer", "libp2p", "networking"]
categories = ["network-programming", "asynchronous"]

[dependencies]
libp2p-swarm = { version = "0.31.0-rc.1", path = "../../swarm" }
libp2p-core = { version = "0.30.0-rc.1", path = "../../core", default-features = false }
libp2p-swarm = { version = "0.31.0", path = "../../swarm" }
libp2p-core = { version = "0.30.0", path = "../../core", default-features = false }
bytes = "1.0"
byteorder = "1.3.4"
fnv = "1.0.7"
Expand Down
2 changes: 1 addition & 1 deletion protocols/identify/CHANGELOG.md
Expand Up @@ -4,7 +4,7 @@

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

# 0.31.0-rc.2 [2021-10-27]
# 0.31.0 [2021-11-01]

- Make default features of `libp2p-core` optional.
[PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181)
Expand Down
4 changes: 2 additions & 2 deletions protocols/identify/Cargo.toml
Expand Up @@ -12,8 +12,8 @@ categories = ["network-programming", "asynchronous"]
[dependencies]
futures = "0.3.1"
futures-timer = "3.0.2"
libp2p-core = { version = "0.30.0-rc.2", path = "../../core", default-features = false }
libp2p-swarm = { version = "0.31.0-rc.2", path = "../../swarm" }
libp2p-core = { version = "0.30.0", path = "../../core", default-features = false }
libp2p-swarm = { version = "0.31.0", path = "../../swarm" }
log = "0.4.1"
lru = "0.6"
prost = "0.9"
Expand Down
8 changes: 1 addition & 7 deletions protocols/kad/CHANGELOG.md
Expand Up @@ -12,13 +12,7 @@
[PR 2297]: https://github.com/libp2p/rust-libp2p/pull/2297
[PR 2309]: https://github.com/libp2p/rust-libp2p/pull/2309

# 0.32.0-rc.2 [2021-10-15]

- Export `KademliaBucketInserts` (see [PR 2294]).

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

# 0.32.0-rc.1 [2021-10-15]
# 0.32.0 [2021-11-01]

- Make default features of `libp2p-core` optional.
[PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181)
Expand Down
4 changes: 2 additions & 2 deletions protocols/kad/Cargo.toml
Expand Up @@ -17,8 +17,8 @@ fnv = "1.0"
asynchronous-codec = "0.6"
futures = "0.3.1"
log = "0.4"
libp2p-core = { version = "0.30.0-rc.1", path = "../../core", default-features = false }
libp2p-swarm = { version = "0.31.0-rc.1", path = "../../swarm" }
libp2p-core = { version = "0.30.0", path = "../../core", default-features = false }
libp2p-swarm = { version = "0.31.0", path = "../../swarm" }
prost = "0.9"
rand = "0.7.2"
sha2 = "0.9.1"
Expand Down
2 changes: 1 addition & 1 deletion protocols/mdns/CHANGELOG.md
@@ -1,4 +1,4 @@
# 0.32.0-rc.1 [2021-10-15]
# 0.32.0 [2021-11-01]

- Make default features of `libp2p-core` optional.
[PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181)
Expand Down
6 changes: 3 additions & 3 deletions protocols/mdns/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "libp2p-mdns"
edition = "2018"
version = "0.32.0-rc.1"
version = "0.32.0"
description = "Implementation of the libp2p mDNS discovery method"
authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT"
Expand All @@ -16,8 +16,8 @@ dns-parser = "0.8.0"
futures = "0.3.13"
if-watch = "0.2.0"
lazy_static = "1.4.0"
libp2p-core = { version = "0.30.0-rc.1", path = "../../core", default-features = false }
libp2p-swarm = { version = "0.31.0-rc.1", path = "../../swarm" }
libp2p-core = { version = "0.30.0", path = "../../core", default-features = false }
libp2p-swarm = { version = "0.31.0", path = "../../swarm" }
log = "0.4.14"
rand = "0.8.3"
smallvec = "1.6.1"
Expand Down
2 changes: 1 addition & 1 deletion protocols/ping/CHANGELOG.md
Expand Up @@ -4,7 +4,7 @@

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

# 0.31.0-rc.1 [2021-10-15]
# 0.31.0 [2021-11-01]

- Make default features of `libp2p-core` optional.
[PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181)
Expand Down
4 changes: 2 additions & 2 deletions protocols/ping/Cargo.toml
Expand Up @@ -13,8 +13,8 @@ categories = ["network-programming", "asynchronous"]
futures = "0.3.1"
futures-timer = "3.0.2"
instant = "0.1.11"
libp2p-core = { version = "0.30.0-rc.1", path = "../../core", default-features = false }
libp2p-swarm = { version = "0.31.0-rc.1", path = "../../swarm" }
libp2p-core = { version = "0.30.0", path = "../../core", default-features = false }
libp2p-swarm = { version = "0.31.0", path = "../../swarm" }
log = "0.4.1"
rand = "0.7.2"
void = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion protocols/relay/CHANGELOG.md
Expand Up @@ -4,7 +4,7 @@

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

# 0.4.0-rc.1 [2021-10-15]
# 0.4.0 [2021-11-01]

- Make default features of `libp2p-core` optional.
[PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181)
Expand Down
4 changes: 2 additions & 2 deletions protocols/relay/Cargo.toml
Expand Up @@ -15,8 +15,8 @@ bytes = "1"
futures = "0.3.1"
futures-timer = "3"
instant = "0.1.11"
libp2p-core = { version = "0.30.0-rc.1", path = "../../core", default-features = false }
libp2p-swarm = { version = "0.31.0-rc.1", path = "../../swarm" }
libp2p-core = { version = "0.30.0", path = "../../core", default-features = false }
libp2p-swarm = { version = "0.31.0", path = "../../swarm" }
log = "0.4"
pin-project = "1"
prost = "0.9"
Expand Down
2 changes: 1 addition & 1 deletion protocols/rendezvous/CHANGELOG.md
Expand Up @@ -4,6 +4,6 @@

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

# 0.1.0-rc.1 [2021-10-15]
# 0.1.0 [2021-11-01]

- Initial release.
4 changes: 2 additions & 2 deletions protocols/rendezvous/Cargo.toml
Expand Up @@ -11,8 +11,8 @@ categories = ["network-programming", "asynchronous"]

[dependencies]
asynchronous-codec = "0.6"
libp2p-core = { version = "0.30.0-rc.1", path = "../../core", default-features = false }
libp2p-swarm = { version = "0.31.0-rc.1", path = "../../swarm" }
libp2p-core = { version = "0.30.0", path = "../../core", default-features = false }
libp2p-swarm = { version = "0.31.0", path = "../../swarm" }
prost = "0.9"
void = "1"
log = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion protocols/request-response/CHANGELOG.md
Expand Up @@ -4,7 +4,7 @@

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

# 0.13.0-rc.1 [2021-10-15]
# 0.13.0 [2021-11-01]

- Make default features of `libp2p-core` optional.
[PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181)
Expand Down
4 changes: 2 additions & 2 deletions protocols/request-response/Cargo.toml
Expand Up @@ -14,8 +14,8 @@ async-trait = "0.1"
bytes = "1"
futures = "0.3.1"
instant = "0.1.11"
libp2p-core = { version = "0.30.0-rc.1", path = "../../core", default-features = false }
libp2p-swarm = { version = "0.31.0-rc.1", path = "../../swarm" }
libp2p-core = { version = "0.30.0", path = "../../core", default-features = false }
libp2p-swarm = { version = "0.31.0", path = "../../swarm" }
log = "0.4.11"
lru = "0.7"
rand = "0.7"
Expand Down
2 changes: 1 addition & 1 deletion swarm-derive/CHANGELOG.md
@@ -1,4 +1,4 @@
# 0.25.0-rc.1 [2021-10-15]
# 0.25.0 [2021-11-01]

- Update to latest `libp2p-swarm` changes (see [PR 2191]).

Expand Down
2 changes: 1 addition & 1 deletion swarm-derive/Cargo.toml
Expand Up @@ -2,7 +2,7 @@
name = "libp2p-swarm-derive"
edition = "2018"
description = "Procedural macros of libp2p-core"
version = "0.25.0-rc.1"
version = "0.25.0"
authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT"
repository = "https://github.com/libp2p/rust-libp2p"
Expand Down
2 changes: 1 addition & 1 deletion swarm/CHANGELOG.md
Expand Up @@ -4,7 +4,7 @@

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

# 0.31.0-rc.2 [2021-10-27]
# 0.31.0 [2021-11-01]

- Make default features of `libp2p-core` optional.
[PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181)
Expand Down