SDK Core 0.2.7
Features & Bug fixes
- Add Getinfo command
- Support paging in list payments - Thank you @dleutenegger
- Add optional claim_txid and lock_txid to ReverseSwapInfo
- Add closing_txid to closed channels received in payments list
- Use millisatoshi instead of satoshi for lightning amounts.
- Improve sync and sending payments performance
- Fix uniffi-kotlin-multiplatform package
Breaking changes
- Parameters and return type of the following API's now use their respective
Request
/Response
objectssend_onchain
,refund
,send_payment
,send_spontaneous_payment
,lnurl_pay
,lnurl_withdraw
- Use
req
shorthand forrequest
params across all bindings. - Rename
req_data
oflnurl_pay
&lnurl_withdraw
todata
as it now belongs to their respectiveRequest
object ReceivePaymentRequest
now useamount_msat
instead ofamount_sat
SendPaymentRequest
now useamount_msat
instead ofamount_sat
SendSpontaneousPaymentRequest
now useamount_msat
instead ofamount_sat
What's Changed
- CI: build kotlin mpp on macOS by @JssDWt in #507
- fix clippy warning by @JssDWt in #508
- Ensure receiving payment amount is more than zero by @dangeross in #509
- Remove log library from sdk and move logs for the app by @ademar111190 in #505
- Add
GetInfo
node command by @ok300 in #513 - Trim
lightning:
from LNInvoice bolt11 response by @dangeross in #510 - Add paging support to list payments by @dleutenegger in #517
- Update uniffi-kotlin-multiplatform by @dangeross in #519
- Add optional claim_txid to ReverseSwapInfo by @ok300 in #515
- Bump Greenlight dependency by @ok300 in #524
- Add closing_txid to Channel, ClosedChannelPaymentDetails by @ok300 in #520
- Validate amount parameter by @roeierez in #525
- fix dart sendPayment signature by @roeierez in #532
- Document the return of
BreezServices::refund()
by @danielgranhao in #534 - Hard code the published release version number into the example package by @dangeross in #529
- msat receive_payment and lnurl_withdraw by @JssDWt in #535
- Bump dependencies to address dependabot findings by @ok300 in #533
- default cltv_expiry for invoices 144 blocks by @JssDWt in #538
- Use Request/Response format on sendOnchain & refund by @erdemyerebasmaz in #497
- Encapsulate channel merge logic in update_channels() by @ok300 in #545
- Ensure channels closed details are persisted by @roeierez in #542
- Change RN function param naming to avoid naming clashes by @dangeross in #543
- RN example metro config fix by @dangeross in #544
- Derive Clone trait for some fiat currency structs by @ok300 in #546
- Fast sync by @roeierez in #547
New Contributors
- @danielgranhao made their first contribution in #534
Full Changelog: 0.2.5...0.2.7