Skip to content

Commit 69c95dc

Browse files
committed
Merge rust-bitcoin#5109: Release tracking PR: bitcoin-consensus-encoding v1.0.0-rc.0
148b33e consensus_encoding: Bump version to 1.0.0-rc.0 (Tobin C. Harding) Pull request description: In preparation for release bump the version, add a changelog entry, and update the lock files. From the changelog: > This was truly a team effort, notably nyonson and jrakibi. Also please note that many of the ideas and a bunch of the code, pulled out of a draft PR by kixunil. Initial implementation was put up by apoelstra, then the crew hacked on it while we all reviewed. Good effort team. Also it should be noted that Kix was pushing for this work for a long time and we all resisted doing it, now he is not around but the work got done. Props to him for many of the ideas. ACKs for top commit: apoelstra: ACK 148b33e; successfully ran local tests; LFG Tree-SHA512: a15fbb8e1c011de23ffd79118f854dd19e74cefcdfecdce3c471e6c4996991be66021d39d11cc724a07d61dfd595dc77742746c3742041a5e4099e139371e850
2 parents 13a9e46 + 148b33e commit 69c95dc

File tree

6 files changed

+32
-5
lines changed

6 files changed

+32
-5
lines changed

Cargo-minimal.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ version = "0.0.0"
7474

7575
[[package]]
7676
name = "bitcoin-consensus-encoding"
77-
version = "0.1.0"
77+
version = "1.0.0-rc.0"
7878
dependencies = [
7979
"bitcoin-internals",
8080
"bitcoin_hashes 0.16.0",

Cargo-recent.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ version = "0.0.0"
7373

7474
[[package]]
7575
name = "bitcoin-consensus-encoding"
76-
version = "0.1.0"
76+
version = "1.0.0-rc.0"
7777
dependencies = [
7878
"bitcoin-internals",
7979
"bitcoin_hashes 0.16.0",

consensus_encoding/CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
# 1.0.0-rc.0 - 2025-09-20
2+
3+
This changelog is a rolling description of everything that will eventually end up in `v1.0`.
4+
5+
This was truly a team effort, notably @nyonson and @jrakibi. Also please note that many of the ideas
6+
and a bunch of the code, pulled out of a draft PR by @kixunil. Initial implementation was put up by
7+
@apoelstra, then the crew hacked on it while we all reviewed. Good effort team. Also it should be
8+
noted that Kix was pushing for this work for a long time and we all resisted doing it. Now he is not
9+
around but the work got done. Props to him for many of the ideas.
10+
11+
- Fix `consensus-encoding` package name [#5090](https://github.com/rust-bitcoin/rust-bitcoin/pull/5090)
12+
- Introduce pull encoding and use it for blockhash computation [#4912](https://github.com/rust-bitcoin/rust-bitcoin/pull/4912)
13+
- Implement `SliceEncoder` [#4982](https://github.com/rust-bitcoin/rust-bitcoin/pull/4982)
14+
- Add decoder I/O drivers [#5030](https://github.com/rust-bitcoin/rust-bitcoin/pull/5030)
15+
- Tag composers with inline [#5037](https://github.com/rust-bitcoin/rust-bitcoin/pull/5037)
16+
- Clean up encoders unit tests and fix empty `SliceEncoder` [#5039](https://github.com/rust-bitcoin/rust-bitcoin/pull/5039)
17+
- Add encoder composition unit tests [#5045](https://github.com/rust-bitcoin/rust-bitcoin/pull/5045)
18+
- Implement additional decoders [#5057](https://github.com/rust-bitcoin/rust-bitcoin/pull/5057)
19+
- Add `CompactSizeEncoder` and refactor `WitnessEncoder` [#5086](https://github.com/rust-bitcoin/rust-bitcoin/pull/5086)
20+
- Add `new()` constructor to `CompactSizeDecoder` [#5089](https://github.com/rust-bitcoin/rust-bitcoin/pull/5089)
21+
- Remove `prefix_read` field [#5079](https://github.com/rust-bitcoin/rust-bitcoin/pull/5079)
22+
- Remove length prefix from the `BytesEncoder` [#5103](https://github.com/rust-bitcoin/rust-bitcoin/pull/5103)
23+
- Remove length prefix from `SliceEncoder` [#5108](https://github.com/rust-bitcoin/rust-bitcoin/pull/5108)
24+
- Rename `min_bytes_needed` to `read_limit` [#5107](https://github.com/rust-bitcoin/rust-bitcoin/pull/5107)
25+
- Remove transitioning state [#5130](https://github.com/rust-bitcoin/rust-bitcoin/pull/5130)
26+
- Composite decoder errors [#5131](https://github.com/rust-bitcoin/rust-bitcoin/pull/5131)
27+
128
## 0.0.0 - Placeholder release
229

330
Empty crate to reserve the name on crates.io

consensus_encoding/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bitcoin-consensus-encoding"
3-
version = "0.1.0"
3+
version = "1.0.0-rc.0"
44
authors = ["Andrew Poelstra <[email protected]>", "Tobin C. Harding <[email protected]>"]
55
license = "CC0-1.0"
66
repository = "https://github.com/rust-bitcoin/rust-bitcoin/"

primitives/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ arbitrary = ["dep:arbitrary", "units/arbitrary"]
2323
hex = ["dep:hex", "hashes/hex", "internals/hex"]
2424

2525
[dependencies]
26-
encoding = { package = "bitcoin-consensus-encoding", path = "../consensus_encoding", default-features = false }
26+
encoding = { package = "bitcoin-consensus-encoding", path = "../consensus_encoding", version = "1.0.0-rc.0", default-features = false }
2727
hashes = { package = "bitcoin_hashes", path = "../hashes", default-features = false }
2828
internals = { package = "bitcoin-internals", path = "../internals" }
2929
units = { package = "bitcoin-units", path = "../units", default-features = false, features = [ "encoding" ] }

units/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ std = ["alloc", "internals/std", "encoding?/std"]
1818
alloc = ["internals/alloc", "serde?/alloc", "encoding?/alloc"]
1919

2020
[dependencies]
21-
encoding = { package = "bitcoin-consensus-encoding", path = "../consensus_encoding", default-features = false, optional = true }
21+
encoding = { package = "bitcoin-consensus-encoding", path = "../consensus_encoding", version = "1.0.0-rc.0", default-features = false, optional = true }
2222
internals = { package = "bitcoin-internals", path = "../internals", version = "0.4.0" }
2323

2424
serde = { version = "1.0.195", default-features = false, features = ["derive"], optional = true }

0 commit comments

Comments
 (0)