[0.7.0]
Updated ldk-node to 0.7.0.
Updated flutter_rust_bridge to 2.11.1.
Updated freezed to 3.2.0.
Updated freezed-annotation to 3.1.0.
APIs Added
Channel Management
- Channel Splicing: Experimental support via
spliceIn()andspliceOut()methods openChannelandopenAnnouncedChannel(replacesconnectOpenChannel)
Payments
- Async Payments: Static invoice support with
receiveStaticInvoice()andsendStaticInvoice() - Custom Preimage:
sendWithPreimage()for spontaneous payments - Route Parameters:
RouteParametersConfigsupport for BOLT12 payments and refunds - Unified QR:
node.unifiedQrPayment&UnifiedQrPaymenthandler for generating and paying unified QR codes - BOLT12 support for
quantityandpayerNotefields SendingParameterssupport when sending BOLT11 payments
Chain Data Sources
- Bitcoin Core REST:
ChainDataSourceConfig.bitcoindRest() - Bitcoin Core RPC:
setChainSourceBitcoinRpc()for chain and fee estimation data - Electrum:
ChainDataSourceConfig.electrum()withElectrumSyncConfigand background sync options - Esplora with Headers:
ChainDataSourceConfig.esploraWithHeaders()for custom HTTP headers - Renamed
setEsploraServer→setChainSourceEsplorawithEsploraSyncConfig
FeeRate Class
- Constants:
zero,min,max,broadcastMin,dust - Constructors:
fromSatPerKwu(),fromSatPerVb(),fromSatPerVbUnchecked() - Converters:
toSatPerVbFloor(),toSatPerVbCeil(),toSatPerKwu() - Enhanced
OnChainPaymentmethods withFeeRateparameter support
LSP Integration
- LSPS2 service with
receiveViaJitChannel()andreceiveVariableAmountViaJitChannel() Bolt11Jitpayment variant with LSP fee limits and counterparty skimmed fee tracking
Events
payment_preimagefield inPaymentSuccessfuleventsPaymentForwardedevents for tracking forwarded payments with fee/routing info- Custom TLV records in
PaymentClaimableandPaymentReceivedviacustomRecords
Pathfinding
importPathfindingScores()andmergePathfindingScores()
Configuration
Mnemonic.generateWithWordCount()for configurable entropybuilder.setNodeAliasfor public node announcements- Experimental encrypted VSS remote storage via
builder.buildWithVssStore&builder.buildWithVssStoreAndFixedHeaders
Other
- On-chain transactions now included in payment store and exposed via payment APIs
Breaking Changes
flutter_rust_bridgeupdated from2.6.0to2.11.1— may require changes in low-level FFI bindingsfreezedupdated to3.2.0— may require regeneration of freezed classesnode.connectOpenChannelsplit intoopenChannelandopenAnnouncedChannelsetEsploraServerrenamed tosetChainSourceEsplora- Payment events include new fields (
preimage,customRecords) affecting event handling code
Fixed
- Node no longer enters unrecoverable state when previously generated transaction is accepted first (fixed in
bdk_wallet 2.0.0) - Node no longer throws exception on persistence failure during event handling — events replay until successful
- Node can now use confirmed on-chain funds to spend/bump Anchor outputs
- FeeRate FFI type conflicts resolved with native Dart solution
ChannelConfigrefactored — now allows querying currentMaxDustHTLCExposurelimit
Notes
- Splicing-related transactions may still get misclassified in the payment store
- Liquidity service data is now persisted across restarts
- Improved shutdown robustness and reduced IO load via differential channel monitor updates
- VSS support is alpha/experimental — may throw exceptions on unrecoverable persistence failures
- Custom TLV sending (
sendWithCustomTlvs) not yet exposed in public API