diff --git a/CHANGELOG.md b/CHANGELOG.md index d110fa28..3d2742cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,47 @@ # Liana daemon and GUI release notes +## 4.0 + +This release introduces support for bumping the fees of a transaction, verifying a deposit address +on your signing device, and more. + +### Features + +- The `outpoints` parameter of the `createspend` command is now optional. If not provided, we'll + select coins automatically. +- A new `listaddresses` command was introduced. +- A new `rbfpsbt` command was introduced. +- The `createspend` command has a new, optional, `change_address` parameter. This makes it possible + to create a transaction which sweeps all funds from the wallet. + +#### GUI-specific + +- When creating a Spend transaction, coins to be spent are now pre-selected. The selection is + updated as you update the recipients and/or the feerate. The selection will stop being modified if + you change it manually. +- It is now possible to verify deposit addresses on your signing device. +- You can now bump the fees of an unconfirmed transaction. A "bump fee" button was introduced in the + transaction details (available from the list of transactions). +- You can now "cancel" an unconfirmed transaction. A "cancel" button was introduced in the + transaction details (available from the list of transactions). NOTE: the cancel feature is not + guaranteed to work. It's simply leveraging RBF to double spend the outgoing transaction with a + transaction paying back to ourselves. +- You can now delete a wallet for a specific network from the launcher. +- When selecting a signing device, those which are not related to the wallet or which don't support + a specific method (such as displaying an address) are now greyed-out. +- The managed Bitcoin Core version was bumped to 26.0. + +### Fixes + +- In case a transaction spending one of our coins was RBF'd, we could incorrectly assign an + incorrect spending transaction to this coin. + +#### GUI-specific + +- Setting a feerate larger than `2^64` when creating a Spend would previously crash the software. +- When displaying a PSBT the software could crash if some of the inputs of the transaction + disappeared (were double-spent). + ## 3.0 This release introduces support for the BitBox02 signing device, as well as the possibility to label diff --git a/Cargo.lock b/Cargo.lock index 6cb359f0..341f2d65 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -229,7 +229,7 @@ dependencies = [ [[package]] name = "liana" -version = "2.0.0" +version = "4.0.0" dependencies = [ "backtrace", "bdk_coin_select", diff --git a/Cargo.toml b/Cargo.toml index ea542248..693b8b79 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "liana" -version = "2.0.0" +version = "4.0.0" authors = ["Antoine Poinsot "] edition = "2018" repository = "https://github.com/wizardsardine/liana" diff --git a/src/lib.rs b/src/lib.rs index ac227b9e..fb1361db 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -79,7 +79,7 @@ impl fmt::Display for Version { } pub const VERSION: Version = Version { - major: 2, + major: 4, minor: 0, patch: 0, }; diff --git a/tests/test_rpc.py b/tests/test_rpc.py index 54456cfc..65c26429 100644 --- a/tests/test_rpc.py +++ b/tests/test_rpc.py @@ -22,7 +22,7 @@ from test_framework.utils import ( def test_getinfo(lianad): res = lianad.rpc.getinfo() - assert res["version"] == "2.0.0-dev" + assert res["version"] == "4.0.0-dev" assert res["network"] == "regtest" wait_for(lambda: lianad.rpc.getinfo()["block_height"] == 101) res = lianad.rpc.getinfo()