Skip to content

Commit 51e4624

Browse files
Merge pull request #14 from synonymdev/chore/sync-v0.6.2
chore: sync v0.6.2
2 parents 1187856 + 16d7821 commit 51e4624

File tree

27 files changed

+8619
-8744
lines changed

27 files changed

+8619
-8744
lines changed

.github/workflows/publish-android.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/publish-jvm.yml

Lines changed: 0 additions & 86 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,6 @@ swift.swiftdoc
3131
# fork
3232
!/bindings/kotlin/ldk-node-android/lib/src/main/jniLibs
3333
!/bindings/kotlin/ldk-node-android/lib/src/main/kotlin/org/lightningdevkit/ldknode/ldk_node.kt
34+
.idea
35+
*.local.*
36+
CLAUDE.md

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
# 0.6.2 - Aug. 14, 2025
2+
This patch release fixes a panic that could have been hit when syncing to a
3+
TLS-enabled Electrum server, as well as some minor issues when shutting down
4+
the node.
5+
6+
## Bug Fixes and Improvements
7+
- If not set by the user, we now install a default `CryptoProvider` for the
8+
`rustls` TLS library. This fixes an issue that would have the node panic
9+
whenever they first try to access an Electrum server behind an `ssl://`
10+
address. (#600)
11+
- We improved robustness of the shutdown procedure. In particular, we now
12+
wait for more background tasks to finish processing before shutting down
13+
LDK background processing. Previously some tasks were kept running which
14+
could have lead to race conditions. (#613)
15+
16+
In total, this release features 12 files changed, 198 insertions, 92
17+
deletions in 13 commits from 2 authors in alphabetical order:
18+
19+
- Elias Rohrer
20+
- moisesPomilio
21+
122
# 0.6.1 - Jun. 19, 2025
223
This patch release fixes minor issues with the recently-exposed `Bolt11Invoice`
324
type in bindings.

Cargo.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ldk-node"
3-
version = "0.6.1-rc.5"
3+
version = "0.6.2-rc.1"
44
authors = ["Elias Rohrer <[email protected]>"]
55
homepage = "https://lightningdevkit.org/"
66
license = "MIT OR Apache-2.0"
@@ -67,6 +67,7 @@ bdk_electrum = { version = "0.23.0", default-features = false, features = ["use-
6767
bdk_wallet = { version = "2.0.0", default-features = false, features = ["std", "keys-bip39"]}
6868

6969
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
70+
rustls = { version = "0.23", default-features = false }
7071
rusqlite = { version = "0.31.0", features = ["bundled"] }
7172
bitcoin = "0.32.4"
7273
bip39 = "2.0.0"
@@ -82,7 +83,7 @@ esplora-client = { version = "0.12", default-features = false, features = ["toki
8283
# `lightning-transaction-sync` APIs. We should drop it as part of the upgrade
8384
# to LDK 0.2.
8485
esplora-client_0_11 = { package = "esplora-client", version = "0.11", default-features = false, features = ["tokio", "async-https-rustls"] }
85-
electrum-client = { version = "0.23.1", default-features = true }
86+
electrum-client = { version = "0.24.0", default-features = true }
8687
libc = "0.2"
8788
uniffi = { version = "0.27.3", features = ["build"], optional = true }
8889
serde = { version = "1.0.210", default-features = false, features = ["std", "derive"] }
@@ -103,11 +104,11 @@ proptest = "1.0.0"
103104
regex = "1.5.6"
104105

105106
[target.'cfg(not(no_download))'.dev-dependencies]
106-
electrsd = { version = "0.34.0", default-features = false, features = ["legacy", "esplora_a33e97e1", "corepc-node_27_2"] }
107+
electrsd = { version = "0.35.0", default-features = false, features = ["legacy", "esplora_a33e97e1", "corepc-node_27_2"] }
107108

108109
[target.'cfg(no_download)'.dev-dependencies]
109-
electrsd = { version = "0.34.0", default-features = false, features = ["legacy"] }
110-
corepc-node = { version = "0.7.0", default-features = false, features = ["27_2"] }
110+
electrsd = { version = "0.35.0", default-features = false, features = ["legacy"] }
111+
corepc-node = { version = "0.8.0", default-features = false, features = ["27_2"] }
111112

112113
[target.'cfg(cln_test)'.dev-dependencies]
113114
clightningrpc = { version = "0.3.0-beta.8", default-features = false }

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.6.1-rc.5"
7-
let checksum = "8834dd706cc3393202f27f4ac9eb0144c00a7804dbf9004cf179ff9f997e6de3"
6+
let tag = "v0.6.2-rc.1"
7+
let checksum = "9aeeb548ddf2b3699fcb07b3bbb99d691d4361a45f53a2eee473fcaacc7f1db9"
88
let url = "https://github.com/synonymdev/ldk-node/releases/download/\(tag)/LDKNodeFFI.xcframework.zip"
99

1010
let package = Package(

bindings/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Generating the Bindings
2+
3+
Run in the root dir:
4+
```sh
5+
RUSTFLAGS="--cfg no_download" cargo build && ./scripts/uniffi_bindgen_generate.sh && ./scripts/swift_create_xcframework_archive.sh && sh scripts/uniffi_bindgen_generate_kotlin_android.sh
6+
```
7+
8+
---
9+
10+
Detailed instructions for publishing a new version of the bindings.
11+
12+
1. Update `Cargo.toml`
13+
2. Update `libraryVersion` in `bindings/kotlin/ldk-node-android/gradle.properties`
14+
3. Run the command to generate all bindings
15+
4. Open a PR with the changes
16+
5. Create a new GitHub release with a new tag like `v0.1.0`, uploading the following files:
17+
- `bindings/swift/LDKNodeFFI.xcframework.zip`

bindings/kotlin/ldk-node-android/README.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)