Skip to content

Commit 4c5702e

Browse files
committed
Merge #322: Release v2.2.0
89c07d2 chore: Release v2.2.0 (valued mammal) 4c4e0b1 chore: deprecate `wallet::signer` mod (valued mammal) Pull request description: Bump `bdk_wallet` to 2.2.0 and update `CHANGELOG.md`. Note that `signer` module is now deprecated and planned to be removed in an upcoming release. Current PSBT signing logic now lives in [`bitcoin::psbt`](https://docs.rs/bitcoin/latest/bitcoin/psbt/index.html) module. fix #307 ### Checklists #### All Submissions: * [x] I've signed all my commits * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md) ACKs for top commit: oleonardolima: cACK 89c07d2 Tree-SHA512: fdeb836b4f231f90d1de49c3f30e9bd49507fcdeef2a858259c0c4542338031b4e5b4b6b444ee461d692e0098c6bc321225fe18f6032196fc99fa964a981f7ce
2 parents d77fd95 + 89c07d2 commit 4c5702e

File tree

13 files changed

+31
-1
lines changed

13 files changed

+31
-1
lines changed

examples/example_wallet_electrum/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(deprecated)]
12
use bdk_electrum::electrum_client;
23
use bdk_electrum::BdkElectrumClient;
34
use bdk_wallet::bitcoin::Amount;

examples/example_wallet_esplora_async/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(deprecated)]
12
use anyhow::Ok;
23
use bdk_esplora::{esplora_client, EsploraAsyncExt};
34
use bdk_wallet::{

examples/example_wallet_esplora_blocking/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(deprecated)]
12
use bdk_esplora::{esplora_client, EsploraExt};
23
use bdk_wallet::rusqlite::Connection;
34
use bdk_wallet::{

wallet/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +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+
## [wallet-2.2.0]
11+
12+
### Added
13+
14+
- feat: Return wallet events when applying updates #310
15+
- feat: (Backport #300) - Add utilities to test persistence #311
16+
- docs: (Backport #306) - docs: add wording on required use of xpub for multipath constructor #309
17+
- docs: add metadata fields to issue templates for triage #296
18+
19+
### Changed
20+
21+
- ci: automated update to rustc 1.89.0 #298
22+
23+
\***Note that the `signer` module has been deprecated and is planned to be removed in a future release.**\*
24+
1025
## [wallet-2.1.0]
1126

1227
### Added
@@ -1330,3 +1345,4 @@ final transaction is created by calling `finish` on the builder.
13301345
[wallet-2.0.0-beta.0]: https://github.com/bitcoindevkit/bdk/releases/tag/wallet-2.0.0-beta.0
13311346
[wallet-2.0.0]: https://github.com/bitcoindevkit/bdk/releases/tag/wallet-2.0.0
13321347
[wallet-2.1.0]: https://github.com/bitcoindevkit/bdk/releases/tag/wallet-2.1.0
1348+
[wallet-2.2.0]: https://github.com/bitcoindevkit/bdk/releases/tag/wallet-2.2.0

wallet/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "bdk_wallet"
33
homepage = "https://bitcoindevkit.org"
4-
version = "2.2.0-alpha.0"
4+
version = "2.2.0"
55
repository = "https://github.com/bitcoindevkit/bdk_wallet"
66
documentation = "https://docs.rs/bdk_wallet"
77
description = "A modern, lightweight, descriptor-based wallet library"

wallet/examples/policy.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// You may not use this file except in accordance with one or both of these
1010
// licenses.
1111

12+
#![allow(deprecated)]
1213
extern crate bdk_wallet;
1314
use std::error::Error;
1415

wallet/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
doc(html_logo_url = "https://github.com/bitcoindevkit/bdk/raw/master/static/bdk.png")
77
)]
88
#![no_std]
9+
#![allow(deprecated)] // Signers are being removed.
910
#![warn(missing_docs)]
1011
#![allow(clippy::uninlined_format_args)]
1112

wallet/src/wallet/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ pub mod event;
5656
pub mod export;
5757
mod params;
5858
mod persisted;
59+
#[deprecated(
60+
since = "2.2.0",
61+
note = "PSBT signing was moved to `bitcoin::psbt` module"
62+
)]
5963
pub mod signer;
6064
pub mod tx_builder;
6165
pub(crate) mod utils;

wallet/tests/add_foreign_utxo.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(deprecated)]
12
use std::str::FromStr;
23

34
use bdk_wallet::psbt::PsbtUtils;

wallet/tests/persisted_wallet.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(deprecated)]
12
use std::collections::{BTreeMap, BTreeSet};
23
use std::path::Path;
34

0 commit comments

Comments
 (0)