SDK Core 0.2.3
Features & Bug fixes
- Dynamic fee selection according to the LSP specification - https://github.com/BitcoinAndLightningLayerSpecs/lsp/tree/main/LSPS2
- Published npm package for Reacts Native: https://www.npmjs.com/package/@breeztech/react-native-breez-sdk
- Published flutter package: https://github.com/breez/breez-sdk-flutter
- Fix
send_onchain
to use private routing hints - Added optional parameters passed to
receive_payment
- Support Kotlin Multiplatform - thank you @angelix!
- Support sign_message/check_message
- Added a simple API to get channel opening fees for a specific amount
- Bug fixes
Breaking changes
All functionality is preserved but some of the API methods were changed slightly in favor of better maintenance.
receive_payment
now receives an argument of type ReceivePaymentRequestreceive_onchain
now receives an argument of type ReceiveOnchainRequestbut_bitcoin
now receives an argument of type ButBitcoinRequest
What's Changed
- Add
channel_opening_fees
column toswaps_info
table by @ok300 in #274 - Receive onchain: validate and select fee params by @ok300 in #282
- Simplify fee params menu handling when it's empty by @ok300 in #293
list_lsps
: Skip LSPs that fail validation by @ok300 in #292- Add missing gRPC fields for
PaymentInformation
by @ok300 in #315 - Setup publishing of Android bindings to GitHub packages by @cnixbtc in #346
connect_lsp
: Only connect to known LSPs fromlist_lsps
by @ok300 in #344- Bring method names of Dart bindings & Flutter in line with Rust methods by @erdemyerebasmaz in #342
- Grouped up Dart API's by concept by @erdemyerebasmaz in #350
- Channel fee calculation: Rewrite for clarity by @ok300 in #352
- Address NIT comments in #313 by @erdemyerebasmaz in #351
- Rename variable by @ok300 in #353
- Update Swift bindings readme to include CocoaPod by @cnixbtc in #257
- Use proper error code and message by @roeierez in #347
- Use framework for ios by @roeierez in #335
- Create new Bindings for Kotlin Multiplatform by @angelix in #322
- Use ffi output dir for kmm by @roeierez in #357
- publish kotlin multi platform CI by @roeierez in #358
- Include dynamic fees in
buy_bitcoin
response by @ok300 in #354 - Build linux on ubuntu-20.04 by @JssDWt in #360
- ci: fix protoc installation by @JssDWt in #361
- ci: optional different ref for C# project by @JssDWt in #362
- ci: use repo token for protoc calls by @JssDWt in #364
- ci: fix missing comma in targets by @JssDWt in #366
- ci: publish android as part of all platforms by @JssDWt in #368
- ci: add kotlin mpp to all platforms by @JssDWt in #369
- Store swap dynamic fees in separate table by @ok300 in #355
- RN: Upgrade to 0.70.6 by @dangeross in #373
- ci: speed up pull request ci by @JssDWt in #372
- Update
BreezServices::connect()
docs by @ok300 in #376 - Map GL status ONCHAIN to models::ChannelState::Closed by @ok300 in #370
- ci: build language bindings in a separate workflow by @JssDWt in #375
- Add methods to NodeAPI for signmessage and checkmessage [issue #109] by @lnd3v in #319
- ci: make rustdoc-pages structure match others by @JssDWt in #377
- Add dynamic fees feature by @ok300 in #313
- Update rustdoc with Invite Code instructions by @ok300 in #387
- Use Breez SDK bindings from Jitpack in React Native plugin by @cnixbtc in #378
- Expose bindings for lsp_info() by @ok300 in #389
- Fix Cocoapod integration in RN plugin by @cnixbtc in #391
- Add RN bindings for the
dynamic_fees
structs and methods by @ok300 in #390 - CLI app: Log to file by @ok300 in #343
- Add
SdkError::LspOpenChannelNotSupported
by @ok300 in #394 - rn: Update README for local Android dev by @dangeross in #392
- Clarify signer exit reason by @ok300 in #395
- Add utils for reverse swap fees and amounts by @ok300 in #397
- Skip re-encoding invoice when not needed by @roeierez in #402
- fix sync db swap migration by @roeierez in #401
- Add correct routing hint in reverse swaps invoice by @ok300 in #398
- Update docs for dynamic_fees structs and service methods by @ok300 in #388
- Fix rev swap issues causing reverse swaps to not complete by @ok300 in #406
- Addtional invoice fields by @roeierez in #408
- Poll for balance changes where hinted. by @roeierez in #409
- Add link to Support TG group by @ok300 in #412
- Add CI for publishing React Native plugin by @cnixbtc in #407
- ci: Add android bindings to publish-golang by @dangeross in #411
- publish flutter CI by @roeierez in #413
- Fix setting of invoice description to include hash by @dangeross in #419
- add Windows x86 target to C# nuget by @JssDWt in #422
- Open channel fee simplification by @roeierez in #416
- rn: Calculate fees by @dangeross in #418
- Exclude file logger. Revert to the old behavior by @roeierez in #426
New Contributors
Full Changelog: 0.1.4...0.2.3