From 510e58a94911b67b20d46e21da3d5df9fce1a742 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Tue, 19 Jul 2022 09:03:24 +1000 Subject: [PATCH 1/3] Remove leading whitespace character The manifest has two cases of leading whitespace, doesn't obviously mean anything, remove them. Whitespace was introduced in commit: `7d3a149ca5064147229db147359638cbcb54acdd` --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f486446ca..ff9b83669 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,8 +21,8 @@ rustdoc-args = ["--cfg", "docsrs"] default = ["std"] std = ["alloc", "secp256k1-sys/std"] # allow use of Secp256k1::new and related API that requires an allocator - alloc = ["secp256k1-sys/alloc"] - bitcoin-hashes-std = ["bitcoin_hashes/std"] +alloc = ["secp256k1-sys/alloc"] +bitcoin-hashes-std = ["bitcoin_hashes/std"] rand-std = ["rand/std", "rand/std_rng"] recovery = ["secp256k1-sys/recovery"] lowmemory = ["secp256k1-sys/lowmemory"] From 6062ea7d54e58d7acf5109cb9cb5084d9fd8ed76 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Tue, 19 Jul 2022 09:07:32 +1000 Subject: [PATCH 2/3] Upgrade to bitcoin_hashes v0.11.0 New version of `bitcoin_hashes` is out, lets use it. --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ff9b83669..501669915 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,14 +41,14 @@ serde = { version = "1.0", default-features = false, optional = true } # You likely only want to enable these if you explicitly do not want to use "std", otherwise enable # the respective -std feature e.g., bitcoin-hashes-std -bitcoin_hashes = { version = "0.10", default-features = false, optional = true } +bitcoin_hashes = { version = "0.11", default-features = false, optional = true } rand = { version = "0.8", default-features = false, optional = true } [dev-dependencies] rand = "0.8" rand_core = "0.6" serde_test = "1.0" -bitcoin_hashes = "0.10" +bitcoin_hashes = "0.11" bincode = "1.3.3" # cbor does not build on WASM, we use it in a single trivial test (an example of when From d31bbc172366d156f448d8674a77815b20515fa4 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Tue, 19 Jul 2022 09:08:12 +1000 Subject: [PATCH 3/3] Bump version number to v0.24.0 We have updated the `bitcoin_hashes` version, this requires a minor version bump and release. --- CHANGELOG.md | 5 +++++ Cargo.toml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aacd9f0f8..367c6ad45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ + +# 0.24.0 - 2022-07-20 + +* Upgrade to new release of [bitcoin_hashes](https://github.com/rust-bitcoin/bitcoin_hashes/releases/tag/0.11.0). + # 0.23.4 - 2022-07-14 * [Disable automatic rerandomization of contexts under WASM](https://github.com/rust-bitcoin/rust-secp256k1/pull/474) diff --git a/Cargo.toml b/Cargo.toml index 501669915..da343cd3c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "secp256k1" -version = "0.23.4" +version = "0.24.0" authors = [ "Dawid Ciężarkiewicz ", "Andrew Poelstra " ] license = "CC0-1.0"