Skip to content

Releases: bitcoindevkit/bdk-ffi

Release 0.26.0

12 Jan 14:39
v0.26.0
ced11cb
Compare
Choose a tag to compare
Release 0.26.0 Pre-release
Pre-release

Summary

This release updates BDK to 0.26.0 and has a number of breaking changes and new APIs.

Changelog

  • Update BDK to latest version 0.26.0 #288
  • APIs changed
    • The descriptor and change_descriptor arguments on the wallet constructor now takes a Descriptor instead of a String. #260
    • TxBuilder.drain_to() argument is now Script instead of address string. #279
  • APIs added
    • Added RpcConfig, BlockchainConfig::Rpc, and Auth #125
    • Added Descriptor type in #260 with the following methods:
      • Default constuctor requires a descriptor in String format and a Network
      • new_bip44 constuctor returns a Descriptor with structure pkh(key/44'/{0,1}'/0'/{0,1}/*)
      • new_bip44_public constructor returns a Descriptor with structure pkh(key/{0,1}/*)
      • new_bip49 constructor returns a Descriptor with structure sh(wpkh(key/49'/{0,1}'/0'/{0,1}/*))
      • new_bip49_public constructor returns a Descriptor with structure sh(wpkh(key/{0,1}/*))
      • new_bip84 constructor returns a Descriptor with structure wpkh(key/84'/{0,1}'/0'/{0,1}/*)
      • new_bip84_public constructor returns a Descriptor with structure wpkh(key/{0,1}/*)
      • as_string returns the public version of the output descriptor
      • as_string_private returns the private version of the output descriptor if available, otherwise return the public version

What's Changed

New Contributors

Full Changelog: v0.25.0...v0.26.0

Release 0.25.0

07 Dec 16:52
v0.25.0
9741943
Compare
Choose a tag to compare
Release 0.25.0 Pre-release
Pre-release

Changelog

  • Update BDK to latest version 0.25.0 #272
  • APIs Added:
    • from_string() constructors now available on DescriptorSecretKey and DescriptorPublicKey #247

What's Changed

Full Changelog: v0.11.0...v0.25.0

Release 0.11.0

08 Nov 15:38
v0.11.0
0648075
Compare
Choose a tag to compare
Release 0.11.0 Pre-release
Pre-release

Summary

This release updates BDK to 0.24 and has a number of breaking changes and new APIs. See changelog for all the details.

Changelog

  • Update BDK to latest version 0.24.0 #221
  • APIs changed
    • The constructor on the DescriptorSecretKey type now takes a Mnemonic instead of a String.
  • APIs added
    • Added Mnemonic struct #219 with following methods:
      • new(word_count: WordCount) generates and returns Mnemonic with random entropy
      • from_string(mnemonic: String) converts string Mnemonic to Mnemonic type with error
      • from_entropy(entropy: Vec<u8>) generates and returns Mnemonic with given entropy
      • as_string() view Mnemonic as string
  • APIs removed #219
    • generate_mnemonic(word_count: WordCount)

What's Changed

Full Changelog: v0.10.0...v0.11.0

Release 0.10.0

08 Nov 15:41
v0.10.0
e6cf423
Compare
Choose a tag to compare
Release 0.10.0 Pre-release
Pre-release

Summary

This release updates BDK to 0.23 and has a number of breaking changes and new apis. See changelog for all the details.

Changelog

  • Update BDK to latest version 0.23.0 #204

  • Update uniffi-rs to latest version 0.21.0 #216

  • Breaking Changes

    • Changed TxBuilder.finish() to return new TxBuilderResult #209
    • TxBuilder.add_recipient() now takes a Script instead of an Address #192
    • AddressAmount is now ScriptAmount #192
  • APIs Added

    • Added TxBuilderResult with PSBT and TransactionDetails #209
    • Address and Script structs have been added #192
    • Add PartiallySignedBitcoinTransaction.extract_tx() function #192
    • Add secret_bytes() method on the DescriptorSecretKey #199
    • Add PartiallySignedBitcoinTransaction.combine() method #200

What's Changed

Full Changelog: v0.9.0...v0.10.0