What changed, and why it matters
This commit is a routine version bump for the bitcoin_hashes crate from 0.17.0 to 0.18.0. It updates version numbers in package manifests, lock files, and adds a changelog entry. There is no code change and no security relevance visible in the diff.
No security action needed. Treat as normal maintenance/versioning commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit updates bitcoin_hashes from 0.17.0 to 0.18.0 across Cargo.toml files, lock files, and CHANGELOG.md. The changelog notes a new dependency on the consensus_encoding crate. No source code, logic, cryptographic, or parsing changes are present in the diff.
Changed components
hashes/Cargo.tomlbitcoin/Cargo.tomlprimitives/Cargo.tomlp2p/Cargo.tomlCargo-minimal.lockCargo-recent.lockhashes/CHANGELOG.mdInspect captured patch +10 / −6
diff --git a/Cargo-minimal.lock b/Cargo-minimal.lock
index c58c038c..314811c9 100644
--- a/Cargo-minimal.lock
+++ b/Cargo-minimal.lock
@@ -164,7 +164,7 @@ dependencies = [
[[package]]
name = "bitcoin_hashes"
-version = "0.17.0"
+version = "0.18.0"
dependencies = [
"bitcoin-consensus-encoding",
"bitcoin-internals",
diff --git a/Cargo-recent.lock b/Cargo-recent.lock
index 58a39dbd..f55a1f06 100644
--- a/Cargo-recent.lock
+++ b/Cargo-recent.lock
@@ -163,7 +163,7 @@ dependencies = [
[[package]]
name = "bitcoin_hashes"
-version = "0.17.0"
+version = "0.18.0"
dependencies = [
"bitcoin-consensus-encoding",
"bitcoin-internals",
diff --git a/bitcoin/Cargo.toml b/bitcoin/Cargo.toml
index 79f2c2f8..2a98b309 100644
--- a/bitcoin/Cargo.toml
+++ b/bitcoin/Cargo.toml
@@ -27,7 +27,7 @@ arbitrary = ["dep:arbitrary", "units/arbitrary", "primitives/arbitrary"]
[dependencies]
base58 = { package = "base58ck", path = "../base58", version = "0.2.0", default-features = false, features = ["alloc"] }
bech32 = { version = "0.11.0", default-features = false, features = ["alloc"] }
-hashes = { package = "bitcoin_hashes", path = "../hashes", version = "0.17.0", default-features = false, features = ["alloc", "hex"] }
+hashes = { package = "bitcoin_hashes", path = "../hashes", version = "0.18.0", default-features = false, features = ["alloc", "hex"] }
hex = { package = "hex-conservative", version = "0.3.0", default-features = false, features = ["alloc"] }
internals = { package = "bitcoin-internals", path = "../internals", version = "0.4.1", features = ["alloc", "hex"] }
io = { package = "bitcoin-io", path = "../io", version = "0.2.0", default-features = false, features = ["alloc", "hashes"] }
diff --git a/hashes/CHANGELOG.md b/hashes/CHANGELOG.md
index e37cce31..17e0d4eb 100644
--- a/hashes/CHANGELOG.md
+++ b/hashes/CHANGELOG.md
@@ -1,3 +1,7 @@
+# 0.18.0 - 2025-11-27
+
+* Add a dependency on the new `consensus_encoding` crate [#5181](https://github.com/rust-bitcoin/rust-bitcoin/pull/5181)
+
# 0.17.0 - 2025-10-17
* Bump MSRV from 1.63.0 to 1.74.0 for all crates in the repo [#4926](https://github.com/rust-bitcoin/rust-bitcoin/pull/4926)
diff --git a/hashes/Cargo.toml b/hashes/Cargo.toml
index a30bcc6d..f351e89f 100644
--- a/hashes/Cargo.toml
+++ b/hashes/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "bitcoin_hashes"
-version = "0.17.0"
+version = "0.18.0"
authors = ["Andrew Poelstra <apoelstra@wpsoftware.net>"]
license = "CC0-1.0"
repository = "https://github.com/rust-bitcoin/rust-bitcoin"
diff --git a/p2p/Cargo.toml b/p2p/Cargo.toml
index f377fbf1..b6bc514d 100644
--- a/p2p/Cargo.toml
+++ b/p2p/Cargo.toml
@@ -19,7 +19,7 @@ arbitrary = ["dep:arbitrary", "bitcoin/arbitrary"]
[dependencies]
bitcoin = { path = "../bitcoin/", default-features = false }
-hashes = { package = "bitcoin_hashes", path = "../hashes", default-features = false }
+hashes = { package = "bitcoin_hashes", version = "0.18.0", path = "../hashes", default-features = false }
hex = { package = "hex-conservative", version = "0.3.0", default-features = false }
internals = { package = "bitcoin-internals", path = "../internals", default-features = false }
io = { package = "bitcoin-io", path = "../io", default-features = false }
diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml
index a4539018..456d3544 100644
--- a/primitives/Cargo.toml
+++ b/primitives/Cargo.toml
@@ -22,7 +22,7 @@ hex = ["dep:hex-stable", "dep:hex-unstable", "hashes/hex", "internals/hex"]
[dependencies]
encoding = { package = "bitcoin-consensus-encoding", path = "../consensus_encoding", version = "1.0.0-rc.1", default-features = false }
-hashes = { package = "bitcoin_hashes", path = "../hashes", version = "0.17.0", default-features = false }
+hashes = { package = "bitcoin_hashes", path = "../hashes", version = "0.18.0", default-features = false }
internals = { package = "bitcoin-internals", path = "../internals", version = "0.4.1" }
units = { package = "bitcoin-units", path = "../units", version = "1.0.0-rc.2", default-features = false, features = [ "encoding" ] }
arrayvec = { version = "0.7.2", default-features = false }
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.