Skip to content

Commit db66cb9

Browse files
authored
Merge pull request #382 from tnull/2024-10-cut-0.4
Cut v0.4.0
2 parents 651f837 + 86b22ef commit db66cb9

File tree

7 files changed

+2316
-1353
lines changed

7 files changed

+2316
-1353
lines changed

CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
1+
# 0.4.0 - Oct 17, 2024
2+
3+
Besides numerous API improvements and bugfixes this this fourth minor release notably adds support for sourcing chain and fee rate data from a Bitcoin Core RPC backend, as well as experimental support for the [VSS] remote storage backend.
4+
5+
## Feature and API updates
6+
- Support for multiple chain sources has been added. To this end, Esplora-specific configuration options can now be given via `EsploraSyncConfig` to `Builder::set_chain_source_esplora`. Furthermore, all configuration objects (including the main `Config`) is now exposed via the `config` sub-module (#365).
7+
- Support for sourcing chain and fee estimation data from a Bitcoin Core RPC backed has been added (#370).
8+
- Initial experimental support for an encrypted [VSS] remote storage backend has been added (#369, #376, #378).
9+
- **Caution**: VSS support is in **alpha** and is considered experimental. Using VSS (or any remote persistence) may cause LDK to panic if persistence failures are unrecoverable, i.e., if they remain unresolved after internal retries are exhausted.
10+
- Support for setting the `NodeAlias` in public node announcements as been added. We now ensure that announced channels can only be opened and accepted when the required configuration options to operate as a public forwarding node are set (listening addresses and node alias). As part of this `Node::connect_open_channel` was split into `open_channel` and `open_announced_channel` API methods. (#330, #366).
11+
- The `Node` can now be started via a new `Node::start_with_runtime` call that allows to reuse an outer `tokio` runtime context, avoiding runtime stacking when run in `async` environments (#319).
12+
- Support for generating and paying unified QR codes has been added (#302).
13+
- Support for `quantity` and `payer_note` fields when sending or receiving BOLT12 payments has been added (#327).
14+
- Support for setting additional parameters when sending BOLT11 payments has been added (#336, #351).
15+
16+
## Bug Fixes
17+
- The `ChannelConfig` object has been refactored, now allowing to query the currently applied `MaxDustHTLCExposure` limit (#350).
18+
- A bug potentially leading to panicking on shutdown when stacking `tokio` runtime contexts has been fixed (#373).
19+
- We now no longer panic when hitting a persistence failure during event handling. Instead, events will be replayed until successful (#374).
20+
,
21+
## Compatibility Notes
22+
- The LDK dependency has been updated to version 0.0.125 (#358, #375).
23+
- The BDK dependency has been updated to version 1.0-beta.4 (#358).
24+
- Going forward, the BDK state will be persisted in the configured `KVStore` backend.
25+
- **Note**: The old descriptor state will *not* be automatically migrated on upgrade, potentially leading to address reuse. Privacy-concious users might want to manually advance the descriptor by requesting new addresses until it reaches the previously observed height.
26+
- After the node as been successfully upgraded users may safely delete `bdk_wallet_*.sqlite` from the storage path.
27+
- The `rust-bitcoin` dependency has been updated to version 0.32.2 (#358).
28+
- The UniFFI dependency has been updated to version 0.27.3 (#379).
29+
- The `bip21` dependency has been updated to version 0.5 (#358).
30+
- The `rust-esplora-client` has been updated to version 0.9 (#358).
31+
32+
In total, this release features 55 files changed, 6134 insertions, 2184 deletions in 166 commits from 6 authors, in alphabetical order:
33+
34+
- G8XSU
35+
- Ian Slane
36+
- jbesraa
37+
- Elias Rohrer
38+
- elnosh
39+
- Enigbe Ochekliye
40+
41+
[VSS]: https://github.com/lightningdevkit/vss-server/blob/main/README.md
42+
143
# 0.3.0 - June 21, 2024
244

345
This third minor release notably adds support for BOLT12 payments, Anchor

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ldk-node"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
authors = ["Elias Rohrer <[email protected]>"]
55
homepage = "https://lightningdevkit.org/"
66
license = "MIT OR Apache-2.0"

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
import PackageDescription
55

6-
let tag = "v0.3.0"
7-
let checksum = "07c8741768956bf1a51d1c25f751b5e29d1ae9ee2fd786c4282031c9a8a92f0c"
6+
let tag = "v0.4.0"
7+
let checksum = "5dcdfdd6e3331062d649786fa6e758487227f6037d9881353fe0c293a3a4c7e0"
88
let url = "https://github.com/lightningdevkit/ldk-node/releases/download/\(tag)/LDKNodeFFI.xcframework.zip"
99

1010
let package = Package(

bindings/kotlin/ldk-node-android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ org.gradle.jvmargs=-Xmx1536m
22
android.useAndroidX=true
33
android.enableJetifier=true
44
kotlin.code.style=official
5-
libraryVersion=0.3.0
5+
libraryVersion=0.4.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
org.gradle.jvmargs=-Xmx1536m
22
kotlin.code.style=official
3-
libraryVersion=0.3.0
3+
libraryVersion=0.4.0

bindings/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "ldk_node"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
authors = [
55
{ name="Elias Rohrer", email="[email protected]" },
66
]

0 commit comments

Comments
 (0)