From aa1ca64816b43ec2c5484dac8db31d807b9aea0b Mon Sep 17 00:00:00 2001 From: edouardparis Date: Thu, 12 Sep 2024 09:31:21 +0200 Subject: [PATCH 1/2] Bump liana v7.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- contrib/release/release.sh | 2 +- src/lib.rs | 2 +- tests/test_rpc.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 91059d2b..72de3592 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -307,7 +307,7 @@ dependencies = [ [[package]] name = "liana" -version = "6.0.0" +version = "7.0.0" dependencies = [ "backtrace", "bdk_coin_select", diff --git a/Cargo.toml b/Cargo.toml index 31fc8f63..d6775aa3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "liana" -version = "6.0.0" +version = "7.0.0" authors = ["Antoine Poinsot "] edition = "2018" repository = "https://github.com/wizardsardine/liana" diff --git a/contrib/release/release.sh b/contrib/release/release.sh index b9fce5d5..47af93c7 100755 --- a/contrib/release/release.sh +++ b/contrib/release/release.sh @@ -7,7 +7,7 @@ set -ex -VERSION="${VERSION:-"6.0"}" +VERSION="${VERSION:-"7.0"}" LIANA_PREFIX="liana-$VERSION" LINUX_DIR_NAME="$LIANA_PREFIX-x86_64-linux-gnu" LINUX_ARCHIVE="$LINUX_DIR_NAME.tar.gz" diff --git a/src/lib.rs b/src/lib.rs index 484cd6cd..ea2f534d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -86,7 +86,7 @@ impl fmt::Display for Version { } pub const VERSION: Version = Version { - major: 6, + major: 7, minor: 0, patch: 0, }; diff --git a/tests/test_rpc.py b/tests/test_rpc.py index 9d9aef1e..66c94d5a 100644 --- a/tests/test_rpc.py +++ b/tests/test_rpc.py @@ -24,7 +24,7 @@ from test_framework.utils import ( def test_getinfo(lianad): res = lianad.rpc.getinfo() assert "timestamp" in res.keys() - assert res["version"] == "6.0.0-dev" + assert res["version"] == "7.0.0-dev" assert res["network"] == "regtest" wait_for(lambda: lianad.rpc.getinfo()["block_height"] == 101) res = lianad.rpc.getinfo() From d95e792f56a9b9bcc3f8dd0c8fea43debbff36be Mon Sep 17 00:00:00 2001 From: edouardparis Date: Thu, 12 Sep 2024 11:04:14 +0200 Subject: [PATCH 2/2] Add v7.0 to CHANGELOG.md --- CHANGELOG.md | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a5d0c26d..ee594f2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,57 @@ # Liana daemon and GUI release notes +## 7.0 + +This release introduces support for Liana Connect as an optional backend for the Liana GUI +and Electrum server as an optional node interface for the Liana daemon. + +### Breaking changes + +Running Liana v7 on an existing installation will migrate its database. +Once migrated the database won't be compatible with previous versions of Liana. +This means you won't be able to open with Liana v6 (or below) any wallet opened or created with Liana v7. + +### Features + +#### Liana daemon / library + +- Transactions are now created with fee sniping protection. +- You can now remotely connect to your node using Electrum, as an alternative to running Bitcoin Core locally. + + +#### Liana GUI + +- The user does not have to select a network at start up anymore, the launcher looks for an installed + network in the following order: `mainnet`, `testnet`, `signet`, `regtest`. +- The launcher reads the `settings.json` file and provides information about the installed wallet or + provides the user with a choice to create or add a wallet. +- When creating or adding a wallet for the selected network, user has the choice to use his local + node or an Electrum server or the Liana Connect service as a backend for the Liana GUI. +- User can share his hardware wallets xpubs by clicking on "Share xpubs" from the launcher. +- Wallet policy description was added to the installer and in the wallet settings. +- If using the Wizardsardine servers as remote backend, a user can provide access to a wallet to + an other user by sending him an invitation with the invitee email in the wallet settings. +- Coldcard and Specter DIY can now be used with taproot descriptors. +- We now display the software version in the title bar. +- A `--help` flag was added to display a help menu about the available flags. +- The Bitcoin Core node version to install for managed local nodes was upgraded to 27.1. + +### Fixes + +#### Liana daemon / library + +- We now check the change multipath is not hardened when importing a descriptor (or creating a `LianaDescriptor` struct). +- We add the minimum feerate requested in the error message of the create spend command. + +#### Liana GUI + +- The rendering of amounts superior to thousands now includes space. +- We detect if the descriptor changed before displaying registration status in the installer. +- We fixed some display issues with overlapping text, notably in the transaction panel. +- On reload, new labels are correctly loaded in existing transaction list in the home panel. +- In order to handle flaky connection, the whole hardware wallet list is reset at each step + of the install process. + ## 6.0 This release introduces support for the Jade signing device, a number of usability improvements as