Skip to content

Commit eeedb4e

Browse files
committed
Merge #1951: Release bdk_chain v0.22.0
4c34331 chore: Update changelogs (valued mammal) ba4e7fd chore: bump bdk_chain to 0.22.0 (valued mammal) Pull request description: chore: bump bdk_chain to 0.22.0 - bdk_core 0.5.0 - bitcoind_rpc 0.19.0 - electrum 0.22.0 - esplora 0.21.0 - file_store 0.20.0 - testenv 0.12.0 fixes #1945 ACKs for top commit: LagginTimes: ACK 4c34331 Tree-SHA512: ba9a4fd160373e12bc88db3474a48724ed83f88d35f562d26d5e59005320d585d20ffe1d115295f9bd6caa0d1996010e0e6158f17c47508d177dbe7b499ec8a2
2 parents add65bc + 4c34331 commit eeedb4e

File tree

15 files changed

+117
-23
lines changed

15 files changed

+117
-23
lines changed

ci/pin-msrv.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ cargo update -p home --precise "0.5.5"
1616
cargo update -p proptest --precise "1.2.0"
1717
cargo update -p url --precise "2.5.0"
1818
cargo update -p tokio --precise "1.38.1"
19-
cargo update -p tokio-util --precise "0.7.11"
20-
cargo update -p indexmap --precise "2.5.0"
19+
cargo update -p reqwest --precise "0.12.4"
2120
cargo update -p security-framework-sys --precise "2.11.1"
2221
cargo update -p csv --precise "1.3.0"
2322
cargo update -p unicode-width --precise "0.1.13"

crates/bitcoind_rpc/CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ Contributors do not need to change this file but do need to add changelog detail
77
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

10+
## [bitcoind_rpc-0.19.0]
11+
12+
## Changed
13+
14+
- feat(rpc)!: Update Emitter::mempool to support evicted_at #1857
15+
- Change Emitter::mempool to return MempoolEvents which contain mempool-eviction data.
16+
- Change Emitter::client to have more relaxed generic bounds. C: Deref, C::Target: RpcApi are the new bounds.
17+
- deps: bump `bdk_core` to 0.5.0
18+
1019
## [bitcoind_rpc-0.18.0]
1120

1221
### Added
@@ -21,3 +30,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2130

2231
[bitcoind_rpc-0.17.1]: https://github.com/bitcoindevkit/bdk/releases/tag/bitcoind_rpc-0.17.1
2332
[bitcoind_rpc-0.18.0]: https://github.com/bitcoindevkit/bdk/releases/tag/bitcoind_rpc-0.18.0
33+
[bitcoind_rpc-0.19.0]: https://github.com/bitcoindevkit/bdk/releases/tag/bitcoind_rpc-0.19.0

crates/bitcoind_rpc/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bdk_bitcoind_rpc"
3-
version = "0.18.0"
3+
version = "0.19.0"
44
edition = "2021"
55
rust-version = "1.63"
66
homepage = "https://bitcoindevkit.org"
@@ -18,7 +18,7 @@ workspace = true
1818
[dependencies]
1919
bitcoin = { version = "0.32.0", default-features = false }
2020
bitcoincore-rpc = { version = "0.19.0" }
21-
bdk_core = { path = "../core", version = "0.4.1", default-features = false }
21+
bdk_core = { path = "../core", version = "0.5.0", default-features = false }
2222

2323
[dev-dependencies]
2424
bdk_bitcoind_rpc = { path = "." }

crates/chain/CHANGELOG.md

+28-1
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,37 @@ Contributors do not need to change this file but do need to add changelog detail
77
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

10+
## [chain-0.22.0]
11+
12+
### Added
13+
14+
- Introduce evicted-at/last-evicted timestamps #1839
15+
- Add method for constructing TxGraph from a ChangeSet #1930
16+
- docs: Architectural Decision Records #1592
17+
- Introduce canonicalization parameters #1808
18+
- Add conversion impls for CanonicalTx to Txid/Arc<Transaction>.
19+
- Add ChainPosition::is_unconfirmed method.
20+
21+
### Changed
22+
23+
- Make full-scan/sync flow easier to reason about. #1838
24+
- Change `TxGraph` to track `last_evicted` timestamps. This is when a transaction is last marked as missing from the mempool.
25+
- The canonicalization algorithm now disregards transactions with a `last_evicted` timestamp greater than or equal to it's `last_seen` timestamp, except when a canonical descendant exists due to rules of transitivity. #1839
26+
- deps: bump miniscript to 12.3.1 #1924
27+
28+
### Fixed
29+
30+
- Fix canonicalization mess-up when transactions that conflict with itself are inserted. #1917
31+
32+
### Removed
33+
34+
- Remove `apply_update_at` as we no longer need to apply with a timestamp after-the-fact.
35+
1036
## [chain-0.21.1]
1137

1238
### Changed
1339

1440
- Minor updates to fix new rustc 1.83.0 clippy warnings #1776
1541

16-
[chain-0.21.1]: https://github.com/bitcoindevkit/bdk/releases/tag/chain-0.21.1
42+
[chain-0.21.1]: https://github.com/bitcoindevkit/bdk/releases/tag/chain-0.21.1
43+
[chain-0.22.0]: https://github.com/bitcoindevkit/bdk/releases/tag/chain-0.22.0

crates/chain/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bdk_chain"
3-
version = "0.21.1"
3+
version = "0.22.0"
44
edition = "2021"
55
rust-version = "1.63"
66
homepage = "https://bitcoindevkit.org"
@@ -17,7 +17,7 @@ workspace = true
1717

1818
[dependencies]
1919
bitcoin = { version = "0.32.0", default-features = false }
20-
bdk_core = { path = "../core", version = "0.4.1", default-features = false }
20+
bdk_core = { path = "../core", version = "0.5.0", default-features = false }
2121
serde = { version = "1", optional = true, features = ["derive", "rc"] }
2222
miniscript = { version = "12.3.1", optional = true, default-features = false }
2323

crates/core/CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
## Unreleased
1111

12+
## [core-0.5.0]
13+
14+
### Added
15+
16+
- Add `FullScanRequest::builder_at` and `SyncRequest::builder_at` methods which are the non-std version of the `..Request::builder` methods.
17+
- Add `TxUpdate::evicted_ats` which tracks transactions that have been replaced and are no longer present in mempool.
18+
- Add `SpkWithExpectedTxids` in `spk_client` which keeps track of expected `Txid`s for each `spk`.
19+
- Add `SyncRequestBuilder::expected_txids_of_spk` method which adds an association between `txid`s and `spk`s.
1220
- test: add tests for `Merge` trait #1738
1321

22+
### Changed
23+
24+
- Make full-scan/sync flow easier to reason about. #1838
25+
- Change `FullScanRequest::builder` and `SyncRequest::builder` methods to depend on `feature = "std"`.
26+
This is because requests now have a `start_time`, instead of specifying a `seen_at` when applying the update.
27+
- Change `TxUpdate` to be `non-exhaustive`.
28+
- Change `TxUpdate::seen_ats` field to be a `HashSet` of `(Txid, u64)`. This allows a single update to have multiple `seen_at`s per tx.
29+
- Introduce `evicted-at`/`last-evicted` timestamps #1839
30+
1431
## [core-0.4.1]
1532

1633
### Changed
1734

1835
- Minor updates to fix new rustc 1.83.0 clippy warnings #1776
1936

2037
[core-0.4.1]: https://github.com/bitcoindevkit/bdk/releases/tag/core-0.4.1
38+
[core-0.5.0]: https://github.com/bitcoindevkit/bdk/releases/tag/core-0.5.0

crates/core/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bdk_core"
3-
version = "0.4.1"
3+
version = "0.5.0"
44
edition = "2021"
55
rust-version = "1.63"
66
homepage = "https://bitcoindevkit.org"

crates/electrum/CHANGELOG.md

+19-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,26 @@ Contributors do not need to change this file but do need to add changelog detail
77
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

10+
## [electrum-0.22.0]
11+
12+
### Fixed
13+
14+
- Fix `bdk_electrum` handling of negative spk-history height. #1837
15+
16+
### Changed
17+
18+
- Make full-scan/sync flow easier to reason about. #1838
19+
- Change `bdk_electrum` to understand `SpkWithExpectedTxids`. #1839
20+
- deps: bump `electrum-client` to 0.23.1
21+
- deps: bump `bdk_core` to 0.5.0
22+
1023
## [electrum-0.21.0]
1124

12-
- Bump crate MSRV to 1.75.0
25+
### Changed
26+
27+
- Bump crate MSRV to 1.75.0 #1803
1328
- deps: bump `electrum-client` to 0.23.0
29+
- add test for checking that fee calculation is correct #1685
1430

1531
## [electrum-0.20.1]
1632

@@ -19,4 +35,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1935
- Minor updates to fix new rustc 1.83.0 clippy warnings #1776
2036

2137
[electrum-0.20.1]: https://github.com/bitcoindevkit/bdk/releases/tag/electrum-0.20.1
22-
[electrum-0.21.0]: https://github.com/bitcoindevkit/bdk/releases/tag/electrum-0.21.0
38+
[electrum-0.21.0]: https://github.com/bitcoindevkit/bdk/releases/tag/electrum-0.21.0
39+
[electrum-0.22.0]: https://github.com/bitcoindevkit/bdk/releases/tag/electrum-0.22.0

crates/electrum/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bdk_electrum"
3-
version = "0.21.0"
3+
version = "0.22.0"
44
edition = "2021"
55
homepage = "https://bitcoindevkit.org"
66
repository = "https://github.com/bitcoindevkit/bdk"
@@ -13,8 +13,8 @@ readme = "README.md"
1313
workspace = true
1414

1515
[dependencies]
16-
bdk_core = { path = "../core", version = "0.4.1" }
17-
electrum-client = { version = "0.23", features = [ "proxy" ], default-features = false }
16+
bdk_core = { path = "../core", version = "0.5.0" }
17+
electrum-client = { version = "0.23.1", features = [ "proxy" ], default-features = false }
1818

1919
[dev-dependencies]
2020
bdk_testenv = { path = "../testenv" }

crates/esplora/CHANGELOG.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,21 @@ Contributors do not need to change this file but do need to add changelog detail
77
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

10+
## [esplora-0.21.0]
11+
12+
### Changed
13+
14+
- Make full-scan/sync flow easier to reason about. #1838
15+
- Change `bdk_esplora` to understand `SpkWithExpectedTxids`. #1839
16+
- deps: bump `esplora-client` to 0.12.0
17+
- deps: bump `bdk_core` to 0.5.0
18+
- deps: remove optional dependency on `miniscript`
19+
1020
## [esplora-0.20.1]
1121

1222
### Changed
1323

1424
- Minor updates to fix new rustc 1.83.0 clippy warnings #1776
1525

16-
[esplora-0.20.1]: https://github.com/bitcoindevkit/bdk/releases/tag/esplora-0.20.1
26+
[esplora-0.20.1]: https://github.com/bitcoindevkit/bdk/releases/tag/esplora-0.20.1
27+
[esplora-0.21.0]: https://github.com/bitcoindevkit/bdk/releases/tag/esplora-0.21.0

crates/esplora/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bdk_esplora"
3-
version = "0.20.1"
3+
version = "0.21.0"
44
edition = "2021"
55
homepage = "https://bitcoindevkit.org"
66
repository = "https://github.com/bitcoindevkit/bdk"
@@ -15,13 +15,13 @@ readme = "README.md"
1515
workspace = true
1616

1717
[dependencies]
18-
bdk_core = { path = "../core", version = "0.4.1", default-features = false }
19-
esplora-client = { version = "0.11.0", default-features = false }
18+
bdk_core = { path = "../core", version = "0.5.0", default-features = false }
19+
esplora-client = { version = "0.12.0", default-features = false }
2020
async-trait = { version = "0.1.66", optional = true }
2121
futures = { version = "0.3.26", optional = true }
2222

2323
[dev-dependencies]
24-
esplora-client = { version = "0.11.0" }
24+
esplora-client = { version = "0.12.0" }
2525
bdk_chain = { path = "../chain" }
2626
bdk_testenv = { path = "../testenv" }
2727
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros"] }

crates/file_store/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ Contributors do not need to change this file but do need to add changelog detail
77
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

10+
## [file_store-0.20.0]
11+
12+
### Changed
13+
14+
- deps: bump `bdk_core` to 0.5.0
15+
1016
## [file_store-0.19.0]
1117

1218
### Added:
@@ -35,3 +41,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3541

3642
[file_store-0.18.1]: https://github.com/bitcoindevkit/bdk/releases/tag/file_store-0.18.1
3743
[file_store-0.19.0]: https://github.com/bitcoindevkit/bdk/releases/tag/file_store-0.19.0
44+
[file_store-0.20.0]: https://github.com/bitcoindevkit/bdk/releases/tag/file_store-0.20.0

crates/file_store/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bdk_file_store"
3-
version = "0.19.0"
3+
version = "0.20.0"
44
edition = "2021"
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/bitcoindevkit/bdk"
@@ -14,7 +14,7 @@ readme = "README.md"
1414
workspace = true
1515

1616
[dependencies]
17-
bdk_core = { path = "../core", version = "0.4.1", features = ["serde"]}
17+
bdk_core = { path = "../core", version = "0.5.0", features = ["serde"]}
1818
bincode = { version = "1" }
1919
serde = { version = "1", features = ["derive"] }
2020

crates/testenv/CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,15 @@ Contributors do not need to change this file but do need to add changelog detail
77
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

10+
## [testenv-0.12.0]
11+
12+
- deps: bump `bdk_chain` to 0.22.0
13+
1014
## [testenv-0.11.1]
1115

1216
### Changed
1317

1418
- Minor updates to fix new rustc 1.83.0 clippy warnings #1776
1519

16-
[testenv-0.11.1]: https://github.com/bitcoindevkit/bdk/releases/tag/testenv-0.11.1
20+
[testenv-0.11.1]: https://github.com/bitcoindevkit/bdk/releases/tag/testenv-0.11.1
21+
[testenv-0.12.0]: https://github.com/bitcoindevkit/bdk/releases/tag/testenv-0.12.0

crates/testenv/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bdk_testenv"
3-
version = "0.11.1"
3+
version = "0.12.0"
44
edition = "2021"
55
rust-version = "1.63"
66
homepage = "https://bitcoindevkit.org"
@@ -16,7 +16,7 @@ readme = "README.md"
1616
workspace = true
1717

1818
[dependencies]
19-
bdk_chain = { path = "../chain", version = "0.21.1", default-features = false }
19+
bdk_chain = { path = "../chain", version = "0.22.0", default-features = false }
2020
electrsd = { version = "0.28.0", features = [ "legacy" ], default-features = false }
2121

2222
[dev-dependencies]

0 commit comments

Comments
 (0)