From 91a47d74ead0671224b4087dff0c3cfb91ccbf36 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Fri, 7 Feb 2025 08:59:18 +1100 Subject: [PATCH 1/2] verify: Add a README file Add a brief readme file, point at `cargo run -- --help` and also at the docs we already wrote in `types/README.md`. --- verify/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 verify/README.md diff --git a/verify/README.md b/verify/README.md new file mode 100644 index 00000000..289dce49 --- /dev/null +++ b/verify/README.md @@ -0,0 +1,15 @@ +# Verify + +TL;DR: `cargo run -- --help` + +This crate provides a tool to help verify the rest of the repository. +Specifically the Single Source Of Truth for a specific Core version is +the version module in `types` e.g., `types/src/v17/mod.rs`. + +Verification is warranted because there are many pieces involved and +during development much cut'n'paste. We want to catch our mistakes and +have some confidence that our claims are valid. + +Please see `types/README.md` for more information. + + From 8a1883b000af4fd2a88fced143f68e0275fb1869 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Thu, 23 Jan 2025 12:40:54 +1100 Subject: [PATCH 2/2] Bump crate versions In preparation for release bump the version numbers of `types`, `client`, and `node` to `0.6.0`. Add changelog entries to each and update the lock files. --- Cargo-minimal.lock | 6 +++--- Cargo-recent.lock | 6 +++--- client/CHANGELOG.md | 7 +++++++ client/Cargo.toml | 4 ++-- integration_test/Cargo.toml | 4 ++-- node/CHANGELOG.md | 6 ++++++ node/Cargo.toml | 4 ++-- types/CHANGELOG.md | 8 ++++++++ types/Cargo.toml | 2 +- 9 files changed, 34 insertions(+), 13 deletions(-) diff --git a/Cargo-minimal.lock b/Cargo-minimal.lock index a68be1fa..863f5712 100644 --- a/Cargo-minimal.lock +++ b/Cargo-minimal.lock @@ -153,7 +153,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "corepc-client" -version = "0.5.0" +version = "0.6.0" dependencies = [ "bitcoin", "corepc-types", @@ -165,7 +165,7 @@ dependencies = [ [[package]] name = "corepc-node" -version = "0.5.0" +version = "0.6.0" dependencies = [ "anyhow", "bitcoin_hashes", @@ -183,7 +183,7 @@ dependencies = [ [[package]] name = "corepc-types" -version = "0.5.0" +version = "0.6.0" dependencies = [ "bitcoin", "serde", diff --git a/Cargo-recent.lock b/Cargo-recent.lock index 35714123..63c410ed 100644 --- a/Cargo-recent.lock +++ b/Cargo-recent.lock @@ -153,7 +153,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "corepc-client" -version = "0.5.0" +version = "0.6.0" dependencies = [ "bitcoin", "corepc-types", @@ -165,7 +165,7 @@ dependencies = [ [[package]] name = "corepc-node" -version = "0.5.0" +version = "0.6.0" dependencies = [ "anyhow", "bitcoin_hashes", @@ -183,7 +183,7 @@ dependencies = [ [[package]] name = "corepc-types" -version = "0.5.0" +version = "0.6.0" dependencies = [ "bitcoin", "serde", diff --git a/client/CHANGELOG.md b/client/CHANGELOG.md index c1edbe9c..55e363c7 100644 --- a/client/CHANGELOG.md +++ b/client/CHANGELOG.md @@ -1,3 +1,10 @@ +# 0.6.0 - 2025-03-07 + +- Expose all methods from `blockchain` section [#79](https://github.com/rust-bitcoin/corepc/pull/79) +- Fix bugs in tx out proof methods +- Improve docs +- Reduce number of Core minor versions supported + # 0.5.0 - 2024-12-16 - Add support for Bitcoin Core v27.2 diff --git a/client/Cargo.toml b/client/Cargo.toml index fa51ecea..6962cadf 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "corepc-client" -version = "0.5.0" +version = "0.6.0" authors = ["Tobin C. Harding "] license = "CC0-1.0" repository = "https://github.com/rust-bitcoin/corepc" @@ -22,7 +22,7 @@ client-sync = ["jsonrpc"] [dependencies] bitcoin = { version = "0.32.0", default-features = false, features = ["std", "serde"] } -types = { package = "corepc-types", version = "0.5.0", default-features = false, features = [] } +types = { package = "corepc-types", version = "0.6.0", default-features = false, features = [] } log = "0.4" serde = { version = "1.0.103", default-features = false, features = [ "derive", "alloc" ] } serde_json = { version = "1.0.117" } diff --git a/integration_test/Cargo.toml b/integration_test/Cargo.toml index 4ca70ce2..0d45af67 100644 --- a/integration_test/Cargo.toml +++ b/integration_test/Cargo.toml @@ -50,8 +50,8 @@ TODO = [] # This is a dirty hack while writing the tests. [dependencies] bitcoin = { version = "0.32.0", default-features = false, features = ["std", "serde"] } -client = { package = "corepc-client", version = "0.5.0", default-features = false, features = ["client-sync"] } -node = { package = "corepc-node", version = "0.5.0", default-features = false, features = ["download"] } +client = { package = "corepc-client", version = "0.6.0", default-features = false, features = ["client-sync"] } +node = { package = "corepc-node", version = "0.6.0", default-features = false, features = ["download"] } rand = "0.8.5" env_logger = "0.9.0" diff --git a/node/CHANGELOG.md b/node/CHANGELOG.md index 2e8c36e0..b3fa2a21 100644 --- a/node/CHANGELOG.md +++ b/node/CHANGELOG.md @@ -1,3 +1,9 @@ +# 0.6.0 - 2025-03-07 + +- Remove `default` feature [#45](https://github.com/rust-bitcoin/corepc/pull/45) +- Reduce number of supported minor versions [#27](https://github.com/rust-bitcoin/corepc/pull/27) +- Enable running multiple Core v28 nodes [#46](https://github.com/rust-bitcoin/corepc/pull/46) + # 0.5.0 - 2024-12-16 - Rename `BitcoinD` to `Node` diff --git a/node/Cargo.toml b/node/Cargo.toml index c32d7256..af98f383 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "corepc-node" -version = "0.5.0" +version = "0.6.0" authors = ["Riccardo Casatta ", "Tobin C. Harding "] license = "MIT" repository = "https://github.com/rust-bitcoin/corepc" @@ -13,7 +13,7 @@ rust-version = "1.63.0" exclude = ["tests", "contrib"] [dependencies] -corepc-client = { version = "0.5.0", features = ["client-sync"] } +corepc-client = { version = "0.6.0", features = ["client-sync"] } log = { version = "0.4", default-features = false } which = { version = "3.1.1", default-features = false } anyhow = { version = "1.0.66", default-features = false, features = ["std"] } diff --git a/types/CHANGELOG.md b/types/CHANGELOG.md index 757730e3..8f7328fd 100644 --- a/types/CHANGELOG.md +++ b/types/CHANGELOG.md @@ -1,3 +1,11 @@ +# 0.6.0 - 2025-03-07 + +- Add `std` feature [#44](https://github.com/rust-bitcoin/corepc/pull/44) +- Reduce number of supported minor versions [#27](https://github.com/rust-bitcoin/corepc/pull/27) +- Update the version specific docs for Core versions 19 - 28 + - [#55](https://github.com/rust-bitcoin/corepc/pull/55) + - [#64](https://github.com/rust-bitcoin/corepc/pull/64) + # 0.5.0 - 2024-12-16 - Flesh out v17 and v18 diff --git a/types/Cargo.toml b/types/Cargo.toml index c1ae4c02..60675db4 100644 --- a/types/Cargo.toml +++ b/types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "corepc-types" -version = "0.5.0" +version = "0.6.0" authors = ["Tobin C. Harding "] license = "CC0-1.0" repository = "https://github.com/rust-bitcoin/corepc"