From 168112de10617f03abf8bd7bdf1ea4dd5dbaabaf Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Wed, 26 Jun 2024 13:34:22 +0200 Subject: [PATCH 1/3] Bump version to 6.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 c73411b9..335a18d5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -264,7 +264,7 @@ dependencies = [ [[package]] name = "liana" -version = "5.0.0" +version = "6.0.0" dependencies = [ "backtrace", "bdk_coin_select", diff --git a/Cargo.toml b/Cargo.toml index 82c6b304..b3ce9f77 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "liana" -version = "5.0.0" +version = "6.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 db91a6ca..b9fce5d5 100755 --- a/contrib/release/release.sh +++ b/contrib/release/release.sh @@ -7,7 +7,7 @@ set -ex -VERSION="${VERSION:-"5.0"}" +VERSION="${VERSION:-"6.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 3443b0c0..b6064291 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -81,7 +81,7 @@ impl fmt::Display for Version { } pub const VERSION: Version = Version { - major: 5, + major: 6, minor: 0, patch: 0, }; diff --git a/tests/test_rpc.py b/tests/test_rpc.py index 16ad2744..38894620 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"] == "5.0.0-dev" + assert res["version"] == "6.0.0-dev" assert res["network"] == "regtest" wait_for(lambda: lianad.rpc.getinfo()["block_height"] == 101) res = lianad.rpc.getinfo() From 2bd25b6eaaedf52e2e9672bd2e05d8d07580917f Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Thu, 27 Jun 2024 14:20:11 +0200 Subject: [PATCH 2/3] Release notes for 6.0 --- CHANGELOG.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cbd2bf0c..a5d0c26d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,54 @@ # Liana daemon and GUI release notes +## 6.0 + +This release introduces support for the Jade signing device, a number of usability improvements as +well as some bug fixes. + +### Breaking changes + +#### Liana GUI + +- The `hardware_wallets` field in the configuration file is now disregarded. It was deprecated since + version 0.2. + +### Features + +#### Liana daemon / library + +- We now more accurately estimate the size of a signed spend transaction, preventing overpaying fees + in some configurations. +- `lianad` now accepts two new arguments: `--version` and `--help`. + +#### Liana GUI + +- We now support the Jade signing device. +- We now use a more recent graphic renderer ([`wgpu`](https://github.com/gfx-rs/wgpu)), which offers + better compatibility with newer systems. +- The network is now set first in the installer. +- It's now possible to get back from the descriptor creation step to the installer landing page. +- Advanced text shaping was enabled. Basically: you can now use emojis in labels and aliases. +- Date and time are now displayed according to the system's timezone configuration. +- We now also show the [BIP388](https://github.com/bitcoin/bips/blob/master/bip-0388.mediawiki) + wallet policy when registering a descriptor on a signing device. +- The descriptor backup step was removed in installer when a descriptor was just imported in the + previous step. +- We now set a minimum window size. + +### Fixes + +#### Liana daemon / library + +#### Liana GUI + +- When creating a new wallet, we now better communicate if a wallet already exists in the selected + network. +- When configuring the connection to bitcoind manually, we now display a warning if specifying a + non-loopback IP address. +- Clicking on "Wallet" breadcrumb in Settings used to open "About" page. +- When entering the feerate for an RBF, it was made easier to edit a single-digit value. +- When updating an existing transaction draft, entering an invalid PSBT could crash the application. + ## 5.0 This release introduces support for the Coldcard signing device, experimental Taproot support and a From 15f4e819724006f52b9468b3b6a176460682fd59 Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Thu, 27 Jun 2024 14:21:41 +0200 Subject: [PATCH 3/3] doc: slight improvement to Jade documentation --- doc/signing_devices.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/doc/signing_devices.md b/doc/signing_devices.md index f31dca90..b6547432 100644 --- a/doc/signing_devices.md +++ b/doc/signing_devices.md @@ -40,11 +40,13 @@ Version 1.0.30 of the firmware is supported for use in P2WSH descriptors. Support for use in Taproot descriptors is not yet available in the firmware. -After the setup of the device, the first connection to set the pin will set also the network. -The network cannot be change unless doing a factory reset. +WARNING: You won't be able to connect your Jade to Liana if you choose "QrCode" mode when setting up +your Jade. This is because in this mode the Jade refuses to communicate through USB. -If using "QrCode" mode, the device will refuse other communication channels like USB. +WARNING: the network cannot be changed after setting up the device without a factory reset. The +network is set at the same time as the PIN. -If using "Temporary Signer", the first connection through USB will setup the network, a new session -is required in order to change it. If using the Liana gui installer, is is advised to first choose -the network before connecting the Jade in "Temporary signer" mode. +It is sometimes useful to change the network without a factory reset, such as when testing the +device and/or Liana. In this case the "Temporary signer" mode may be used. The network can be reset +by simply disconnecting and reconnecting it. If using this mode, we advise you to first choose the +network in the Liana installer before setting up the network on your Jade.