What changed, and why it matters
This commit is a routine version bump for the bitcoin_hashes library from version 1.1.0 to 1.2.0. It only updates lock files, the package version number, and the changelog. There is no code change and no security relevance visible in the commit itself.
No security action needed; this is a release bookkeeping commit. Review the actual feature pull request (#6646) separately if security assessment of the new const Midstate methods is desired.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit updates Cargo-minimal.lock, Cargo-recent.lock, hashes/CHANGELOG.md, and hashes/Cargo.toml to reflect the release of bitcoin_hashes 1.2.0. The changelog notes one new feature: const-context methods for computing sha256::Midstate values. No source code, tests, or security fixes are modified.
Changed components
Inspect captured patch +27 / −22
diff --git a/Cargo-minimal.lock b/Cargo-minimal.lock
index f711e4b9..09ecb514 100644
--- a/Cargo-minimal.lock
+++ b/Cargo-minimal.lock
@@ -28,7 +28,7 @@ name = "base58ck"
version = "0.4.0"
dependencies = [
"bitcoin-internals 0.6.0",
- "bitcoin_hashes 1.1.0",
+ "bitcoin_hashes 1.2.0",
"hex-conservative 1.1.0",
]
@@ -91,7 +91,7 @@ dependencies = [
"bitcoin-primitives",
"bitcoin-taproot-primitives",
"bitcoin-units 0.5.0",
- "bitcoin_hashes 1.1.0",
+ "bitcoin_hashes 1.2.0",
"bitcoinconsensus",
"hex-conservative 1.1.0",
"secp256k1 0.32.0-beta.2",
@@ -111,7 +111,7 @@ dependencies = [
"bitcoin-network-kind",
"bitcoin-primitives",
"bitcoin-taproot-primitives",
- "bitcoin_hashes 1.1.0",
+ "bitcoin_hashes 1.2.0",
"serde",
"serde_json",
]
@@ -148,7 +148,7 @@ dependencies = [
"bitcoin-internals 0.6.0",
"bitcoin-network-kind",
"bitcoin-primitives",
- "bitcoin_hashes 1.1.0",
+ "bitcoin_hashes 1.2.0",
"hex-conservative 1.1.0",
"secp256k1 0.32.0-beta.2",
"serde",
@@ -204,7 +204,7 @@ version = "0.6.0"
dependencies = [
"bitcoin-consensus-encoding 1.1.0",
"bitcoin-internals 0.6.0",
- "bitcoin_hashes 1.1.0",
+ "bitcoin_hashes 1.2.0",
]
[[package]]
@@ -217,7 +217,7 @@ dependencies = [
"bitcoin-crypto",
"bitcoin-internals 0.6.0",
"bitcoin-network-kind",
- "bitcoin_hashes 1.1.0",
+ "bitcoin_hashes 1.2.0",
"hex-conservative 1.1.0",
"secp256k1 0.32.0-beta.2",
"serde",
@@ -245,7 +245,7 @@ dependencies = [
"bitcoin-network-kind",
"bitcoin-primitives",
"bitcoin-units 0.5.0",
- "bitcoin_hashes 1.1.0",
+ "bitcoin_hashes 1.2.0",
"hex-conservative 1.1.0",
"serde",
]
@@ -259,7 +259,7 @@ dependencies = [
"bitcoin-consensus-encoding 1.1.0",
"bitcoin-internals 0.6.0",
"bitcoin-units 0.5.0",
- "bitcoin_hashes 1.1.0",
+ "bitcoin_hashes 1.2.0",
"hex-conservative 1.1.0",
"serde",
"serde_json",
@@ -278,7 +278,7 @@ dependencies = [
"arbitrary",
"bitcoin-crypto",
"bitcoin-internals 0.6.0",
- "bitcoin_hashes 1.1.0",
+ "bitcoin_hashes 1.2.0",
"secp256k1 0.32.0-beta.2",
"serde",
]
@@ -328,7 +328,7 @@ dependencies = [
[[package]]
name = "bitcoin_hashes"
-version = "1.1.0"
+version = "1.2.0"
dependencies = [
"arbitrary",
"bitcoin-consensus-encoding 1.1.0",
diff --git a/Cargo-recent.lock b/Cargo-recent.lock
index b6da2095..e4c00fd0 100644
--- a/Cargo-recent.lock
+++ b/Cargo-recent.lock
@@ -28,7 +28,7 @@ name = "base58ck"
version = "0.4.0"
dependencies = [
"bitcoin-internals 0.6.0",
- "bitcoin_hashes 1.1.0",
+ "bitcoin_hashes 1.2.0",
"hex-conservative 1.1.0",
]
@@ -90,7 +90,7 @@ dependencies = [
"bitcoin-primitives",
"bitcoin-taproot-primitives",
"bitcoin-units 0.5.0",
- "bitcoin_hashes 1.1.0",
+ "bitcoin_hashes 1.2.0",
"bitcoinconsensus",
"hex-conservative 1.1.0",
"secp256k1 0.32.0-beta.2",
@@ -110,7 +110,7 @@ dependencies = [
"bitcoin-network-kind",
"bitcoin-primitives",
"bitcoin-taproot-primitives",
- "bitcoin_hashes 1.1.0",
+ "bitcoin_hashes 1.2.0",
"serde",
"serde_json",
]
@@ -147,7 +147,7 @@ dependencies = [
"bitcoin-internals 0.6.0",
"bitcoin-network-kind",
"bitcoin-primitives",
- "bitcoin_hashes 1.1.0",
+ "bitcoin_hashes 1.2.0",
"hex-conservative 1.1.0",
"secp256k1 0.32.0-beta.2",
"serde",
@@ -203,7 +203,7 @@ version = "0.6.0"
dependencies = [
"bitcoin-consensus-encoding 1.1.0",
"bitcoin-internals 0.6.0",
- "bitcoin_hashes 1.1.0",
+ "bitcoin_hashes 1.2.0",
]
[[package]]
@@ -216,7 +216,7 @@ dependencies = [
"bitcoin-crypto",
"bitcoin-internals 0.6.0",
"bitcoin-network-kind",
- "bitcoin_hashes 1.1.0",
+ "bitcoin_hashes 1.2.0",
"hex-conservative 1.1.0",
"secp256k1 0.32.0-beta.2",
"serde",
@@ -244,7 +244,7 @@ dependencies = [
"bitcoin-network-kind",
"bitcoin-primitives",
"bitcoin-units 0.5.0",
- "bitcoin_hashes 1.1.0",
+ "bitcoin_hashes 1.2.0",
"hex-conservative 1.1.0",
"serde",
]
@@ -258,7 +258,7 @@ dependencies = [
"bitcoin-consensus-encoding 1.1.0",
"bitcoin-internals 0.6.0",
"bitcoin-units 0.5.0",
- "bitcoin_hashes 1.1.0",
+ "bitcoin_hashes 1.2.0",
"hex-conservative 1.1.0",
"serde",
"serde_json",
@@ -271,7 +271,7 @@ dependencies = [
"arbitrary",
"bitcoin-crypto",
"bitcoin-internals 0.6.0",
- "bitcoin_hashes 1.1.0",
+ "bitcoin_hashes 1.2.0",
"secp256k1 0.32.0-beta.2",
"serde",
]
@@ -312,7 +312,7 @@ dependencies = [
[[package]]
name = "bitcoin_hashes"
-version = "1.1.0"
+version = "1.2.0"
dependencies = [
"arbitrary",
"bitcoin-consensus-encoding 1.1.0",
diff --git a/hashes/CHANGELOG.md b/hashes/CHANGELOG.md
index 68df71ac..6b7efb2e 100644
--- a/hashes/CHANGELOG.md
+++ b/hashes/CHANGELOG.md
@@ -2,6 +2,10 @@
## [Unreleased]
+## [1.2.0] - 2026-07-30
+
+* Add several methods for computing `sha256::Midstate` values in const contexts [#6646](https://github.com/rust-bitcoin/rust-bitcoin/pull/6646)
+
## [1.1.0] - 2026-07-15
* Add `with_input` method to `HashEngine` for convenient one-shot hashing [#6411](https://github.com/rust-bitcoin/rust-bitcoin/pull/6411)
@@ -373,7 +377,8 @@ Note that we have stopped re-exporting the `core` crate when compiling without `
* Initial release
-[Unreleased]: https://github.com/rust-bitcoin/rust-bitcoin/compare/bitcoin_hashes-1.1.0...HEAD
+[Unreleased]: https://github.com/rust-bitcoin/rust-bitcoin/compare/bitcoin_hashes-1.2.0...HEAD
+[1.2.0]: https://github.com/rust-bitcoin/rust-bitcoin/compare/bitcoin_hashes-1.1.0...bitcoin_hashes-1.2.0
[1.1.0]: https://github.com/rust-bitcoin/rust-bitcoin/compare/bitcoin_hashes-1.0.0...bitcoin_hashes-1.1.0
[1.0.0]: https://github.com/rust-bitcoin/rust-bitcoin/compare/bitcoin_hashes-0.21.0...bitcoin_hashes-1.0.0
[0.21.0]: https://github.com/rust-bitcoin/rust-bitcoin/compare/bitcoin_hashes-0.20.0...bitcoin_hashes-0.21.0
diff --git a/hashes/Cargo.toml b/hashes/Cargo.toml
index bce22787..d879683b 100644
--- a/hashes/Cargo.toml
+++ b/hashes/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "bitcoin_hashes"
-version = "1.1.0"
+version = "1.2.0"
authors = ["Andrew Poelstra <apoelstra@wpsoftware.net>"]
license = "CC0-1.0"
repository = "https://github.com/rust-bitcoin/rust-bitcoin"
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.