Skip to content

Commit

Permalink
Merge pull request #232 from tnull/2024-01-cut-v0.2.1
Browse files Browse the repository at this point in the history
Cut v0.2.1 release
  • Loading branch information
tnull authored Jan 26, 2024
2 parents 421bb4f + 1fe855a commit 5153c6c
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 7 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# 0.2.1 - Jan 26, 2024

This is a bugfix release bumping the used LDK and BDK dependencies to the
latest stable versions.

## Bug Fixes
- Swift bindings now can be built on macOS again.

## Compatibility Notes
- LDK has been updated to version 0.0.121 (#214, #229)
- BDK has been updated to version 0.29.0 (#229)

In total, this release features 30 files changed, 1195 insertions, 1238
deletions in 26 commits from 3 authors, in alphabetical order:

- Elias Rohrer
- GoodDaisy
- Gursharan Singh

# 0.2.0 - Dec 13, 2023

## Feature and API updates
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ldk-node"
version = "0.2.0"
version = "0.2.1"
authors = ["Elias Rohrer <[email protected]>"]
homepage = "https://lightningdevkit.org/"
license = "MIT OR Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

import PackageDescription

let tag = "v0.2.0"
let checksum = "8b03d5e8c4c415e6143d834a24037fc7223d9da712941467777668a42ee93ab1"
let tag = "v0.2.1"
let checksum = "cca3d5f380c3c216c22ac892cb04a792f3982730e570df71d824462f14c1350e"
let url = "https://github.com/lightningdevkit/ldk-node/releases/download/\(tag)/LDKNodeFFI.xcframework.zip"

let package = Package(
Expand Down
2 changes: 1 addition & 1 deletion bindings/kotlin/ldk-node-android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ org.gradle.jvmargs=-Xmx1536m
android.useAndroidX=true
android.enableJetifier=true
kotlin.code.style=official
libraryVersion=0.2.0
libraryVersion=0.2.1
2 changes: 1 addition & 1 deletion bindings/kotlin/ldk-node-jvm/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
org.gradle.jvmargs=-Xmx1536m
kotlin.code.style=official
libraryVersion=0.2.0
libraryVersion=0.2.1
2 changes: 1 addition & 1 deletion bindings/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "ldk_node"
version = "0.2"
version = "0.2.1"
authors = [
{ name="Elias Rohrer", email="[email protected]" },
]
Expand Down
14 changes: 13 additions & 1 deletion bindings/swift/Sources/LDKNode/LDKNode.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// This file was autogenerated by some hot garbage in the `uniffi` crate.
// Trust me, you don't want to mess with it!
import Foundation
import SystemConfiguration

// Depending on the consumer's build setup, the low-level FFI code
// might be in a separate module, or it might be compiled inline into
Expand Down Expand Up @@ -2994,6 +2995,7 @@ public func FfiConverterTypeAddress_lower(_ value: Address) -> RustBuffer {
}



/**
* Typealias from the type name used in the UDL file to the builtin type. This
* is needed because the UDL type name is used in function/method signatures.
Expand Down Expand Up @@ -3027,6 +3029,7 @@ public func FfiConverterTypeBolt11Invoice_lower(_ value: Bolt11Invoice) -> RustB
}



/**
* Typealias from the type name used in the UDL file to the builtin type. This
* is needed because the UDL type name is used in function/method signatures.
Expand Down Expand Up @@ -3060,6 +3063,7 @@ public func FfiConverterTypeChannelId_lower(_ value: ChannelId) -> RustBuffer {
}



/**
* Typealias from the type name used in the UDL file to the builtin type. This
* is needed because the UDL type name is used in function/method signatures.
Expand Down Expand Up @@ -3093,6 +3097,7 @@ public func FfiConverterTypeMnemonic_lower(_ value: Mnemonic) -> RustBuffer {
}



/**
* Typealias from the type name used in the UDL file to the builtin type. This
* is needed because the UDL type name is used in function/method signatures.
Expand Down Expand Up @@ -3126,6 +3131,7 @@ public func FfiConverterTypePaymentHash_lower(_ value: PaymentHash) -> RustBuffe
}



/**
* Typealias from the type name used in the UDL file to the builtin type. This
* is needed because the UDL type name is used in function/method signatures.
Expand Down Expand Up @@ -3159,6 +3165,7 @@ public func FfiConverterTypePaymentPreimage_lower(_ value: PaymentPreimage) -> R
}



/**
* Typealias from the type name used in the UDL file to the builtin type. This
* is needed because the UDL type name is used in function/method signatures.
Expand Down Expand Up @@ -3192,6 +3199,7 @@ public func FfiConverterTypePaymentSecret_lower(_ value: PaymentSecret) -> RustB
}



/**
* Typealias from the type name used in the UDL file to the builtin type. This
* is needed because the UDL type name is used in function/method signatures.
Expand Down Expand Up @@ -3225,6 +3233,7 @@ public func FfiConverterTypePublicKey_lower(_ value: PublicKey) -> RustBuffer {
}



/**
* Typealias from the type name used in the UDL file to the builtin type. This
* is needed because the UDL type name is used in function/method signatures.
Expand Down Expand Up @@ -3258,6 +3267,7 @@ public func FfiConverterTypeSocketAddress_lower(_ value: SocketAddress) -> RustB
}



/**
* Typealias from the type name used in the UDL file to the builtin type. This
* is needed because the UDL type name is used in function/method signatures.
Expand Down Expand Up @@ -3291,6 +3301,7 @@ public func FfiConverterTypeTxid_lower(_ value: Txid) -> RustBuffer {
}



/**
* Typealias from the type name used in the UDL file to the builtin type. This
* is needed because the UDL type name is used in function/method signatures.
Expand Down Expand Up @@ -3323,6 +3334,7 @@ public func FfiConverterTypeUserChannelId_lower(_ value: UserChannelId) -> RustB
return FfiConverterTypeUserChannelId.lower(value)
}


public func generateEntropyMnemonic() -> Mnemonic {
return try! FfiConverterTypeMnemonic.lift(
try! rustCall() {
Expand Down Expand Up @@ -3539,4 +3551,4 @@ private func uniffiEnsureInitialized() {
case .apiChecksumMismatch:
fatalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
}
}

0 comments on commit 5153c6c

Please sign in to comment.