breez_sdk 0.8.0
breez_sdk: ^0.8.0 copied to clipboard
Flutter bindings for the Breez SDK
SDK release notes can be found at breez-sdk/releases
0.4.0 #
- Breaking Update Dart SDK range to be compatible with Flutter 3.19
- Breaking Replace parameters of
connectwithConnectRequest. - Breaking
serviceHealthCheckAPI now requires anapiKeywhich properly conducts a health check when services are offline. - Deprecation
sendOnchainis now deprecated. UsepayOnchaininstead. - Deprecation
inProgressReverseSwapsis now deprecated. UseinProgressOnchainPaymentsinstead. - Deprecation
fetchReverseSwapFeesis now deprecated. UseprepareOnchainPaymentinstead. - Introduce
swapEventsStreamto listen in on swap events. - Introduce
rescanSwapsAPI to iterate all historical swap addresses and fetch their current status from the blockchain. - Introduce
configureNodeAPI to configure an optional address to send funds to during a mutual channel close. - Introduce
onchainPaymentLimitsAPI to fetch latest on-chain payment limits. - Notification Service plugins are now bundled with the Flutter package. Setup guide.
- Various improvements to Notification Service plugins:
- Set log stream natively on Android.
- Allow setting channel setup fee limit through
ServiceConfigthat will be used to accept or decline LNURL-Payments that require a channel opening. - Notifications on iOS are now grouped.
- Improved resource management.
- Notification Service is no longer attempted to start without permissions to show notifications on Android, which lead to an application crash.
0.3.9 #
- Introduce
generateDiagnosticDataAPI to generate diagnostic data. - Fix swap confirmed block to be the earliest.
0.3.8 #
- Signer connects immediately on startup (fixes 30 seconds delay).
- Adapt signer policy to allow paying zero amount invoice.
- Update signer keep alive.
0.3.6 #
- Fix swap
INVOICE_AMOUNT_MISMATCH. - Defer signer start to increase overall startup time.
- Improve performance by reusing Breez server grpc connection.
0.3.3 #
- Upgrade to VLS 0.11.
0.3.2 #
- Fixed a signer crash.
0.3.1 #
- Support notifications via a webhook after a swap transaction confirms.
- Reduced package size by not bundling pre-built binaries.
0.3.0 #
- Fixes compatibility issues ith
bdk-flutterplugin. - Introduce
rescanSwapAPI to rescan swap addresses. - Introduce
configureNodeAPI to configure an address to send funds to during a mutual channel close. - Introduce
setPaymentMetadataAPI to set the external metadata of a payment as a valid JSON string. - Add optional
chainnotifierUrltoConfig. - Include
openChannelBolt11,lnurlPayDomain,reverseSwapInfoinLnPaymentDetails.openChannelBolt11for received payments which required to open a channel.lnurlPayDomainfor sent payments that are not to a Lightning Address.reverseSwapInfofor payments that were sent in the context of a reverse swap.
0.2.15 #
- This is a hotfix release that fixes a critical issue from previous release.
0.2.14 (Please use >=0.2.15) #
- Breaking Rename
sweeptoredeemOnchainFunds. -
- Updates
flutter_rust_bridgetov1.82.6.
- Updates
- Introduce
registerWebhookAPI to receive payments via mobile notifications. More information here. - Allow
RegisterWebhookcommand to be executed throughexecuteCommandAPI. - Add expiry time to pending payments.
Add optionalpendingExpirationBlocktoLnPaymentDetails. - Add extra TLVs to send spontaneous payment.
Add optionalextraTlvstoSendSpontaneousPaymentRequest. - Support custom payment metadata.
Add optionalmetadataFilterstoListPaymentsRequest.
0.2.12 #
- Allow native access to SDK from flutter (Kotlin & Swift).
- Updates
flutter_rust_bridgetov1.82.4.
0.2.10 #
- Breaking Replace parameters of
prepareSweepwithPrepareSweepRequest. - Amount is now populated in failed payments.
- Introduce
reportIssueAPI to report payment failures. - Introduce
serviceHealthCheckAPI to get service health status. - Include
Paymentinformation onInvoicePaidevent.
0.2.9 #
- Requires Dart 3.0 or later.
- Migrate to null safety.
- Breaking
filterfield ofListPaymentsRequestis deprecated and must be replaced with the optionalfiltersfield. - Breaking
PaymentTypeFilter.Allis removed. Unfiltered payment list will be retrieved iffiltersfields ofListPaymentsRequestis left empty(or is a list that contains allPaymentTypeFiltertypes). - Introduce
prepareRefundAPI to estimate the refund transaction fee. - Introduce
prepareSweepAPI to estimate the sweep transaction fee. - Introduce
maxReverseSwapAmountAPI to allow draining all channels when sending on-chain. ClosedChanneltransactions can now be filtered by addingPaymentTypeFilter.ClosedChannelsto thefilterslist.- Include
swapInfoinPayment. - Include
paymentHashinLnUrlPayResult.
0.2.7 #
- Breaking All APIs which previously allowed multiple parameters to be
passed now require their corresponding
Requestobject.
These APIs include:sendOnchain,sendPayment,sendSpontaneousPayment,refund,lnurlPay,lnurlWithdraw. - Breaking All
requestparams is renamed toreq. - Breaking All
reqDataparams that belong to areqobject(lnurlPay, lnurlWithdraw except lnurlAuth) is renamed todata. - Breaking Use millisatoshi instead of satoshi for lightning amounts.
ReceivePaymentRequest,SendPaymentRequest,SendSpontaneousPaymentRequestnow useamount_msatinstead ofamount_sat. - Support pagination in
listPayments. - Add optional
claimTxidandlockTxidtoReverseSwapInfo. - Add
closingTxidto closed channels received in payments list. - Allow
GetInfocommand to be executed throughexecuteCommandAPI.