Breez SDK Core v0.2.9 Released
The Breez SDK enables mobile developers to integrate Lightning and bitcoin payments into their apps with a shallow learning curve.
What's new
- Publish python package: https://pypi.org/project/breez-sdk-lib
- Introduce
max_reverse_swap_amount
to allow draining all channels when sending on-chain. - Extend payment type filter to include
ClosedChannels
. - Introduce
prepare_sweep
to estimate the sweep transaction fee. - Introduce
prepare_refund
to estimate the refund transaction fee. - Improve error handling and specifying error code in exceptions and errors.
- Include
SwapInfo
inPayment
. - Add payment hash to
lnurl_pay
. - Auto-discovery for default LSP.
What's changed
- Extend payment type filter to include
ClosedChannels
type by @dleutenegger in #521 - Bump Greenlight dependency by @ok300 in #552
- Allow multiple logs listeners by @ademar111190 in #553
- Fee calculation and presentation by @ademar111190 in #294
- Bump example app to 0.2.7 by @dangeross in #554
- Implement
prepare_refund()
by @danielgranhao in #548 - Upgrade Flutter requirement to latest stable(3.13.8) by @erdemyerebasmaz in #549
- ignore .env and .envrc by @ubbabeck in #558
- Bump Greenlight dependency by @ok300 in #560
- Add Default trait, util constructor for Request args by @ok300 in #559
- Rerun RN codegen to generate functions to convert enum sequences by @dangeross in #567
- check git status of react native and flutter by @JssDWt in #566
- CI: run flutter analysis by @JssDWt in #568
- Error codes by @dangeross in #469
- rename PaymentTypeFilter ClosedChannels enum to ClosedChannel by @ubbabeck in #573
- improve error on empty string invoice by @JssDWt in #576
- Add model docs: time fields are epoch time in seconds by @ok300 in #578
- Fix breez-sdk-flutter files on name changes by @JssDWt in #577
- fix flutter bridge by @JssDWt in #581
- throw on error in C# tests by @JssDWt in #580
- Make CI callable from remote repo by @JssDWt in #579
- Update prepare_refund to return a SdkResult by @dangeross in #582
- Update deplay before triggering jitpack build by @cnixbtc in #415
- Bump ecies dependency by @ok300 in #587
- Migrate remaining pb:: dependencies to cln::* by @ok300 in #585
- Add payment hash to
lnurl_pay()
return type by @dleutenegger in #550 - Schedule signer if
GL::connect()
has seed and creds by @ok300 in #596 - Fallback to a listed LSP if the default is not available by @dangeross in #592
- Send onchain the largest amount possible by @roeierez in #466
- Include
SwapInfo
inPayment
resulting from swap by @danielgranhao in #555
Full Changelog: 0.2.7...0.2.9