Skip to content

Commit a619032

Browse files
committed
chore: merge upstream/release/0.6
Conflicts: - Cargo.toml - Package.swift - bindings/kotlin/ldk-node-android/gradle.properties
2 parents 1187856 + 0b99977 commit a619032

File tree

19 files changed

+249
-268
lines changed

19 files changed

+249
-268
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.

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"
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"
7+
let checksum = "dee28eb2bc019eeb61cc28ca5c19fdada465a6eb2b5169d2dbaa369f0c63ba03"
88
let url = "https://github.com/synonymdev/ldk-node/releases/download/\(tag)/LDKNodeFFI.xcframework.zip"
99

1010
let package = Package(
Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,18 @@
11
buildscript {
22
repositories {
33
google()
4+
mavenCentral()
45
}
56
dependencies {
67
classpath("com.android.tools.build:gradle:7.1.2")
78
}
89
}
910

1011
plugins {
11-
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
1212
}
1313

1414
// library version is defined in gradle.properties
1515
val libraryVersion: String by project
1616

17-
// These properties are required here so that the nexus publish-plugin
18-
// finds a staging profile with the correct group (group is otherwise set as "")
19-
// and knows whether to publish to a SNAPSHOT repository or not
20-
// https://github.com/gradle-nexus/publish-plugin#applying-the-plugin
2117
group = "org.lightningdevkit"
2218
version = libraryVersion
23-
24-
nexusPublishing {
25-
repositories {
26-
create("sonatype") {
27-
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
28-
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
29-
30-
val ossrhUsername: String? by project
31-
val ossrhPassword: String? by project
32-
username.set(ossrhUsername)
33-
password.set(ossrhPassword)
34-
}
35-
}
36-
}

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=v0.6.1-rc.5
5+
libraryVersion=0.6.2
Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,17 @@
11
buildscript {
22
repositories {
33
google()
4+
mavenCentral()
45
}
56
dependencies {
6-
classpath("com.android.tools.build:gradle:7.1.2")
77
}
88
}
99

1010
plugins {
11-
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
1211
}
1312

1413
// library version is defined in gradle.properties
1514
val libraryVersion: String by project
1615

17-
// These properties are required here so that the nexus publish-plugin
18-
// finds a staging profile with the correct group (group is otherwise set as "")
19-
// and knows whether to publish to a SNAPSHOT repository or not
20-
// https://github.com/gradle-nexus/publish-plugin#applying-the-plugin
2116
group = "org.lightningdevkit"
2217
version = libraryVersion
23-
24-
nexusPublishing {
25-
repositories {
26-
create("sonatype") {
27-
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
28-
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
29-
30-
val ossrhUsername: String? by project
31-
val ossrhPassword: String? by project
32-
username.set(ossrhUsername)
33-
password.set(ossrhPassword)
34-
}
35-
}
36-
}
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.6.1
3+
libraryVersion=0.6.2

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.6.1"
3+
version = "0.6.2"
44
authors = [
55
{ name="Elias Rohrer", email="[email protected]" },
66
]

0 commit comments

Comments
 (0)