From 60650d8b90794e4237208b280edd66d6b8a41f4f Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Tue, 3 Oct 2023 11:04:57 +1100 Subject: [PATCH] chore(identity): release version 0.2.4 `libp2p-identity` gets a special treatment in our workspace because it is the only crate that is a dependency of crates _outside_ the workspace, in particular `multiaddr`. We however also depend on `multiaddr` again in the workspace. As a result, we need to use `[patch.crates-io]` to replace the `libp2p-identity` version across the entire dependency tree. This however doesn't work well with `cargo semver-checks` as it doesn't copy over `[patch]` sections into its workspace where it does the docs building. To fix the semver checks error, we need to release a new version of `libp2p-identity`. Pull-Request: #4583. --- Cargo.lock | 2 +- Cargo.toml | 2 +- identity/CHANGELOG.md | 2 +- identity/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index baaeecae080..9fe48b9e1d1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2634,7 +2634,7 @@ dependencies = [ [[package]] name = "libp2p-identity" -version = "0.2.3" +version = "0.2.4" dependencies = [ "asn1_der", "base64 0.21.4", diff --git a/Cargo.toml b/Cargo.toml index 73ae23d70ff..c0c77273b4b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -82,7 +82,7 @@ libp2p-dns = { version = "0.40.1", path = "transports/dns" } libp2p-floodsub = { version = "0.43.0", path = "protocols/floodsub" } libp2p-gossipsub = { version = "0.45.1", path = "protocols/gossipsub" } libp2p-identify = { version = "0.43.1", path = "protocols/identify" } -libp2p-identity = { version = "0.2.3" } +libp2p-identity = { version = "0.2.4" } libp2p-kad = { version = "0.44.6", path = "protocols/kad" } libp2p-mdns = { version = "0.44.0", path = "protocols/mdns" } libp2p-memory-connection-limits = { version = "0.1.0", path = "misc/memory-connection-limits" } diff --git a/identity/CHANGELOG.md b/identity/CHANGELOG.md index 89fd8dfa570..157f4e5cdd3 100644 --- a/identity/CHANGELOG.md +++ b/identity/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.2.4 - unreleased +## 0.2.4 - Implement `Keypair::derive_secret`, to deterministically derive a new secret from the embedded secret key. See [PR 4554]. diff --git a/identity/Cargo.toml b/identity/Cargo.toml index 95cc63a6498..2b13bd0464a 100644 --- a/identity/Cargo.toml +++ b/identity/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libp2p-identity" -version = "0.2.3" +version = "0.2.4" edition = "2021" description = "Data structures and algorithms for identifying peers in libp2p." rust-version = { workspace = true }