|
| 1 | +# 0.6.0 - Jun. 9, 2025 |
| 2 | +This sixth minor release mainly fixes an issue that could have left the |
| 3 | +on-chain wallet unable to spend funds if transactions that had previously been |
| 4 | +accepted to the mempool ended up being evicted. |
| 5 | + |
| 6 | +## Feature and API updates |
| 7 | +- Onchain addresses are now validated against the expected network before use (#519). |
| 8 | +- The API methods on the `Bolt11Invoice` type are now exposed in bindings (#522). |
| 9 | +- The `UnifiedQrPayment::receive` flow no longer aborts if we're unable to generate a BOLT12 offer (#548). |
| 10 | + |
| 11 | +## Bug Fixes and Improvements |
| 12 | +- Previously, the node could potentially enter a state that would have left the |
| 13 | + onchain wallet unable spend any funds if previously-generated transactions |
| 14 | + had been first accepted, and then evicted from the mempool. This has been |
| 15 | + fixed in BDK 2.0.0, to which we upgrade as part of this release. (#551) |
| 16 | +- A bug that had us fail `OnchainPayment::send_all` in the `retrain_reserves` |
| 17 | + mode when requiring sub-dust-limit anchor reserves has been fixed (#540). |
| 18 | +- The output of the `log` facade logger has been corrected (#547). |
| 19 | + |
| 20 | +## Compatibility Notes |
| 21 | +- The BDK dependency has been bumped to `bdk_wallet` v2.0 (#551). |
| 22 | + |
| 23 | +In total, this release features 20 files changed, 1188 insertions, 447 deletions, in 18 commits from 3 authors in alphabetical order: |
| 24 | + |
| 25 | +- alexanderwiederin |
| 26 | +- Camillarhi |
| 27 | +- Elias Rohrer |
| 28 | + |
| 29 | +# 0.5.0 - Apr. 29, 2025 |
| 30 | +Besides numerous API improvements and bugfixes this fifth minor release notably adds support for sourcing chain and fee rate data from an Electrum backend, requesting channels via the [bLIP-51 / LSPS1](https://github.com/lightning/blips/blob/master/blip-0051.md) protocol, as well as experimental support for operating as a [bLIP-52 / LSPS2](https://github.com/lightning/blips/blob/master/blip-0052.md) service. |
| 31 | + |
| 32 | +## Feature and API updates |
| 33 | +- The `PaymentSuccessful` event now exposes a `payment_preimage` field (#392). |
| 34 | +- The node now emits `PaymentForwarded` events for forwarded payments (#404). |
| 35 | +- The ability to send custom TLVs as part of spontaneous payments has been added (#411). |
| 36 | +- The ability to override the used fee rates for on-chain sending has been added (#434). |
| 37 | +- The ability to set a description hash when creating a BOLT11 invoice has been added (#438). |
| 38 | +- The ability to export pathfinding scores has been added (#458). |
| 39 | +- The ability to request inbound channels from an LSP via the bLIP-51 / LSPS1 protocol has been added (#418). |
| 40 | +- The `ChannelDetails` returned by `Node::list_channels` now exposes fields for the channel's SCIDs (#444). |
| 41 | +- Lightning peer-to-peer gossip data is now being verified when syncing from a Bitcoin Core RPC backend (#428). |
| 42 | +- The logging sub-system was reworked to allow logging to backends using the Rust [`log`](https://crates.io/crates/log) facade, as well as via a custom logger trait (#407, #450, #454). |
| 43 | +- On-chain transactions are now added to the internal payment store and exposed via `Node::list_payments` (#432). |
| 44 | +- Inbound announced channels are now rejected if not all requirements for operating as a forwarding node (set listening addresses and node alias) have been met (#467). |
| 45 | +- Initial support for operating as an bLIP-52 / LSPS2 service has been added (#420). |
| 46 | + - **Note**: bLIP-52 / LSPS2 support is considered 'alpha'/'experimental' and should *not* yet be used in production. |
| 47 | +- The `Builder::set_entropy_seed_bytes` method now takes an array rather than a `Vec` (#493). |
| 48 | +- The builder will now return a `NetworkMismatch` error in case of network switching (#485). |
| 49 | +- The `Bolt11Jit` payment variant now exposes a field telling how much fee the LSP withheld (#497). |
| 50 | +- The ability to disable syncing Lightning and on-chain wallets in the background has been added. If it is disabled, the user is responsible for running `Node::sync_wallets` manually (#508). |
| 51 | +- The ability to configure the node's announcement addresses independently from the listening addresses has been added (#484). |
| 52 | +- The ability to choose whether to honor the Anchor reserves when calling `send_all_to_address` has been added (#345). |
| 53 | +- The ability to sync the node via an Electrum backend has been added (#486). |
| 54 | + |
| 55 | +## Bug Fixes and Improvements |
| 56 | +- When syncing from Bitcoin Core RPC, syncing mempool entries has been made more efficient (#410, #465). |
| 57 | +- We now ensure the our configured fallback rates are used when the configured chain source would return huge bogus values during fee estimation (#430). |
| 58 | +- We now re-enabled trying to bump Anchor channel transactions for trusted counterparties in the `ContentiousClaimable` case to reduce the risk of losing funds in certain edge cases (#461). |
| 59 | +- An issue that would potentially have us panic on retrying the chain listening initialization when syncing from Bitcoin Core RPC has been fixed (#471). |
| 60 | +- The `Node::remove_payment` now also removes the respective entry from the in-memory state, not only from the persisted payment store (#514). |
| 61 | + |
| 62 | +## Compatibility Notes |
| 63 | +- The filesystem logger was simplified and its default path changed to `ldk_node.log` in the configured storage directory (#394). |
| 64 | +- The BDK dependency has been bumped to `bdk_wallet` v1.0 (#426). |
| 65 | +- The LDK dependency has been bumped to `lightning` v0.1 (#426). |
| 66 | +- The `rusqlite` dependency has been bumped to v0.31 (#403). |
| 67 | +- The minimum supported Rust version (MSRV) has been bumped to v1.75 (#429). |
| 68 | + |
| 69 | +In total, this release features 53 files changed, 6147 insertions, 1193 deletions, in 191 commits from 14 authors in alphabetical order: |
| 70 | + |
| 71 | +- alexanderwiederin |
| 72 | +- Andrei |
| 73 | +- Artur Gontijo |
| 74 | +- Ayla Greystone |
| 75 | +- Elias Rohrer |
| 76 | +- elnosh |
| 77 | +- Enigbe Ochekliye |
| 78 | +- Evan Feenstra |
| 79 | +- G8XSU |
| 80 | +- Joost Jager |
| 81 | +- maan2003 |
| 82 | +- moisesPompilio |
| 83 | +- Rob N |
| 84 | +- Vincenzo Palazzo |
| 85 | + |
1 | 86 | # 0.4.3 - Jan. 23, 2025 |
2 | 87 |
|
3 | 88 | This patch release fixes the broken Rust build resulting from `cargo` treating the recent v0.1.0 release of `lightning-liquidity` as API-compatible with the previous v0.1.0-alpha.6 release (even though it's not). |
|
0 commit comments