Skip to content

v0.0.103.1

Compare
Choose a tag to compare
@TheBlueMatt TheBlueMatt released this 03 Dec 16:34
· 508 commits to main since this release
6d094e7

Based on LDK v0.0.103 and LDK-C-Bindings v0.0.103.1, this fixes a number
of minor (and a few major) issues in the Java bindings.

  • Exposes the full Logger interface to Java, with information on
    severity and module which originated the log call.
  • Expose read on MaybeReadable objects (like Event) which may or
    may not read an object which was written (some Events are not
    written to disk).
  • Include documentation from Rust on enum variants.
  • Allow specifying a UserConfig object in both
    ChannelManagerConstructor constructors.
  • Check array lengths for constant-length arrays (like keys and block
    headers) prior to calling into Rust. This avoids undefined behavior
    (often a crash) when a byte array of incorrect length is passed.
  • Provide a new is_ok method on Result types instead of requiring
    matching of the object's type.
  • Include missing functions on 3-tuples.
  • Resolve a rare use-after-free when returning an object from a Java
    interface method that was called from Rust.
  • Increase pointer validity checking in leaktracking builds.
  • Resolve a NullPointerException when calling trait methods on a Rust
    instance of a trait which was wrapped in an Option.