From 1928e40b0cc0508702269bf0e06af2d6d081c425 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 12 May 2021 12:06:33 +0000 Subject: [PATCH 1/4] build(deps): Update snow requirement from 0.7.1 to 0.8.0 Updates the requirements on [snow](https://github.com/mcginty/snow) to permit the latest version. - [Release notes](https://github.com/mcginty/snow/releases) - [Commits](https://github.com/mcginty/snow/compare/v0.7.1...v0.8.0) Signed-off-by: dependabot[bot] --- transports/noise/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transports/noise/Cargo.toml b/transports/noise/Cargo.toml index 1385b32291e..f6f4a60ebae 100644 --- a/transports/noise/Cargo.toml +++ b/transports/noise/Cargo.toml @@ -22,7 +22,7 @@ x25519-dalek = "1.1.0" zeroize = "1" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -snow = { version = "0.7.1", features = ["ring-resolver"], default-features = false } +snow = { version = "0.8.0", features = ["ring-resolver"], default-features = false } [target.'cfg(target_arch = "wasm32")'.dependencies] snow = { version = "0.7.1", features = ["default-resolver"], default-features = false } From 593a556342593c1eeb86b53525f5864e86ad9f98 Mon Sep 17 00:00:00 2001 From: Max Inden Date: Wed, 12 May 2021 15:07:37 +0200 Subject: [PATCH 2/4] transports/noise: Update to rand v0.8.3 --- transports/noise/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transports/noise/Cargo.toml b/transports/noise/Cargo.toml index f6f4a60ebae..bef60c4b1de 100644 --- a/transports/noise/Cargo.toml +++ b/transports/noise/Cargo.toml @@ -15,7 +15,7 @@ lazy_static = "1.2" libp2p-core = { version = "0.28.0", path = "../../core" } log = "0.4" prost = "0.7" -rand = "0.7.2" +rand = "0.8.3" sha2 = "0.9.1" static_assertions = "1" x25519-dalek = "1.1.0" From f934d718cf4ff2d9c242fa8522ed3b2685ff4f7e Mon Sep 17 00:00:00 2001 From: Max Inden Date: Wed, 12 May 2021 15:10:59 +0200 Subject: [PATCH 3/4] *: Update changelogs and cargo tomls --- CHANGELOG.md | 1 + Cargo.toml | 2 +- transports/noise/CHANGELOG.md | 6 ++++++ transports/noise/Cargo.toml | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 65eb6d89e07..197684903be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -46,6 +46,7 @@ - Update individual crates. - `libp2p-core` - `libp2p-gossipsub` + - `libp2p-noise` - `libp2p-pnet` - `libp2p-wasm-ext` diff --git a/Cargo.toml b/Cargo.toml index f19dd5e0696..e69f95e1978 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -70,7 +70,7 @@ libp2p-gossipsub = { version = "0.30.1", path = "./protocols/gossipsub", optiona libp2p-identify = { version = "0.29.0", path = "protocols/identify", optional = true } libp2p-kad = { version = "0.30.0", path = "protocols/kad", optional = true } libp2p-mplex = { version = "0.28.0", path = "muxers/mplex", optional = true } -libp2p-noise = { version = "0.30.0", path = "transports/noise", optional = true } +libp2p-noise = { version = "0.31.0", path = "transports/noise", optional = true } libp2p-ping = { version = "0.29.0", path = "protocols/ping", optional = true } libp2p-plaintext = { version = "0.28.0", path = "transports/plaintext", optional = true } libp2p-pnet = { version = "0.21.0", path = "transports/pnet", optional = true } diff --git a/transports/noise/CHANGELOG.md b/transports/noise/CHANGELOG.md index 36fc76423c7..620eaa85387 100644 --- a/transports/noise/CHANGELOG.md +++ b/transports/noise/CHANGELOG.md @@ -1,3 +1,9 @@ +# 0.31.0 [unreleased] + +- Update to `snow` `v0.8.0` ([PR-2068]). + +[PR-2068]: https://github.com/libp2p/rust-libp2p/pull/2068 + # 0.30.0 [2021-03-17] - Update `libp2p-core`. diff --git a/transports/noise/Cargo.toml b/transports/noise/Cargo.toml index bef60c4b1de..f8248d8360e 100644 --- a/transports/noise/Cargo.toml +++ b/transports/noise/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "libp2p-noise" description = "Cryptographic handshake protocol using the noise framework." -version = "0.30.0" +version = "0.31.0" authors = ["Parity Technologies "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" From 0a8acdba84d49ee44f171d4ebfd0889d921ab2a4 Mon Sep 17 00:00:00 2001 From: Max Inden Date: Wed, 12 May 2021 17:48:37 +0200 Subject: [PATCH 4/4] transports/noise: Update to snow v0.8.0 on wasm32 as well --- transports/noise/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transports/noise/Cargo.toml b/transports/noise/Cargo.toml index f8248d8360e..1f568f629d4 100644 --- a/transports/noise/Cargo.toml +++ b/transports/noise/Cargo.toml @@ -25,7 +25,7 @@ zeroize = "1" snow = { version = "0.8.0", features = ["ring-resolver"], default-features = false } [target.'cfg(target_arch = "wasm32")'.dependencies] -snow = { version = "0.7.1", features = ["default-resolver"], default-features = false } +snow = { version = "0.8.0", features = ["default-resolver"], default-features = false } [dev-dependencies] async-io = "1.2.0"