Features & Bug fixes
- Update GL version and VLS 0.11
- Builtin out of the box notification handling for payments, swaps and lightning address incoming payments (https://sdk-doc-prerelease.breez.technology/notifications/getting_started.html)
- Support connect with restore only option
- Swap status update events were added
- New API for pay_onchain (send_onchain is deprecated) which allows better fee estimation options. (https://sdk-doc-prerelease.breez.technology/guide/pay_onchain.html)
- Add diagnostic data API to better support users.
Bug fixes
- Fix sql database deadlock
- More robust swap redeem and fix edge cases when node connection is flaky
- Fix a lag in balance update right after sending a payment.
What's Changed
- Bump GL version to latest, using VLS 0.11.0rc1 by @ok300 in #777
- Flutter 3.19 changes by @erdemyerebasmaz in #793
- Connect with restore_only option by @dangeross in #790
- Re-use lightning-invoice crate exported by gl-client by @ok300 in #791
- Set log stream natively on Android by @erdemyerebasmaz in #727
- Expose
redeem_swap
by @ok300 in #795 - Add confirmed_at to swap info by @ademar111190 in #794
- Allow custom claim tx feerates for reverse swap fee estimates by @ok300 in #802
- Bump ip from 1.1.8 to 1.1.9 in /libs/sdk-react-native by @dependabot in #804
- Bump ip from 1.1.8 to 1.1.9 in /libs/sdk-react-native/example by @dependabot in #808
- Set created at using the current time by @ademar111190 in #800
- Bump h2 dependency by @ok300 in #805
- Bump openssl dependency by @ok300 in #806
- Re-use
lightning
crate exported bygl-client
by @ok300 in #799 - Bump rustix dependency by @ok300 in #807
- Use TransactionBehavior::Immediate by @roeierez in #818
- Lookup open channel bolt11 before fetching invoice by @roeierez in #817
- Clarify swap comments and log output by @ok300 in #815
- Update sdk.redeem_swap: first refresh, then redeem by @ok300 in #824
- Register webhook on manual LSP change by @dangeross in #830
- CLI: Group commands by prefix, clarify help output by @ok300 in #828
- Fix link to rustdoc by @ok300 in #836
- Fix React Native CI issues by @dangeross in #835
- swap events by @roeierez in #811
- Suppress iOS no listener warning by @dangeross in #829
- Re-generate RN bindings to fix CI by @ok300 in #842
- Add Error rustdocs descriptions by @dangeross in #839
- Bump mio from 0.8.10 to 0.8.11 in /libs by @dependabot in #843
- Update from VLS 0.11-rc1 to VLS 0.11 by @ok300 in #841
- Remove duplicate swap file by @dangeross in #848
- Include readme and changelog when publishing flutter package by @cnixbtc in #820
- Update sdk-flutter plugin changelogs by @erdemyerebasmaz in #797
- Fix
prepare_redeem_onchain_funds
fee calculation by @dangeross in #849 - Add next-iteration reverse swap by @ok300 in #816
- SDK notification handling packages by @erdemyerebasmaz in #834
- Add Windows python wheels by @dangeross in #847
- Combine
max_reverse_swap_amount
andonchain_payment_limits
by @ok300 in #850 - Add sync trigger to payments_metadata table by @hydra-yse in #852
- docs: update react-native example by @karliatto in #857
- Change the service_health_check to a static method by @dangeross in #856
- LNURL-Payment: Channel setup fee limit by @erdemyerebasmaz in #833
- Fix integer division issues & consider cases where proportional fee and fee limit is set to 0 by @erdemyerebasmaz in #860
- Use OSLog for lower deployment targets by @dangeross in #853
- don't redeem on in_progress_swap by @JssDWt in #865
- use swapper client instead of fund manager client for swap in by @JssDWt in #861
- swap: fix invoice amount mismatch by @JssDWt in #862
- Skip missing intervals by @roeierez in #867
- Defer signer with 2 seconds by @roeierez in #866
- Reuse grpc connection by @roeierez in #868
- Update
channels_balance_msat
immediately after a payment arrives by @andrei-21 in #858 - Add in_progress_onchain_payments() wrapper by @ok300 in #873
- Start the signer from the SDK by @dangeross in #879
- Fix Android bindings build by @dangeross in #877
- Add swap events to swap events stream by @erdemyerebasmaz in #876
- ensure confirmed_block contains the earliest block height by @JssDWt in #869
- add route hint for swap invoice by @JssDWt in #870
- Support paying zero amount invoice by @roeierez in #881
- Fix sync edge case affecting outbound payments by @ok300 in #882
- Reverse swap validation: fix service fee rounding by @ok300 in #880
- Update gl client to include keep alive fixes by @roeierez in #883
- Update signer keep alive by @roeierez in #887
- Fix clippy error "you are using an explicit closure for cloning elements" by @erdemyerebasmaz in #888
- Bump mio to address dependabot finding by @ok300 in #864
- Fix BIP21 parsing where the prefix is in uppercase by @ok300 in #896
- Add debugging to signer loop start by @dangeross in #893
- iOS notification grouping by @dangeross in #901
- ChainService: Fallback to next mempool.space endpoint on error by @ok300 in #898
- Change swap events stream type to
BreezEvent_SwapUpdated
on Flutter plugin by @erdemyerebasmaz in #902 - Add notification message for the channel fee limit being too low by @dangeross in #904
- Fix pattern matching for InvalidMinSendable by @erdemyerebasmaz in #905
- Use swap event to complete swap in the background by @roeierez in #906
- Diagnostic data for supporting users. by @roeierez in #900
- Search for payment before listening on notification by @roeierez in #909
- Consolidate reverse swap service fee calculation by @ok300 in #890
- Improve Android notification job management by @dangeross in #907
- Use new api for signaling shutdown by @roeierez in #917
- Fix db deadlock by @roeierez in #915
- Handle
max_allowed_deposit
by @ok300 in #921 - Move migration to the sync db and use default for not null field. by @roeierez in #923
- input parser: add nip-57 fields by @JssDWt in #918
- Improve payment asynchronicity by @dangeross in #914
- Android Notification Plugin customisation by @dangeross in #899
- Verify notification manager exist before starting service by @dangeross in #926
- Add Android short service timeout by @dangeross in #931
New Contributors
- @karliatto made their first contribution in #857
Full Changelog: 0.3.9...0.4.0-rc2