Releases: getlipa/lipa-lightning-lib
Releases · getlipa/lipa-lightning-lib
v0.66.2-beta
What's Changed
- Bump Breez SDK to 0.6.2 by @danielgranhao in #1224
Full Changelog: v0.66.1-beta...v0.66.2-beta
v0.66.1-beta
What's Changed
- Expose swap amount in mock by @danielgranhao in #1223
Full Changelog: v0.66.0-beta...v0.66.1-beta
v0.66.0-beta
What's Changed
- Fix exchange rate monitor test by @danielgranhao in #1212
- Improve mocking by @gcomte in #1214
- Mock different key pair per node instance by @gcomte in #1216
- Bump uniffi from 0.28.1 to 0.28.2 by @dependabot in #1218
- Bump bip39 from 2.0.0 to 2.1.0 by @dependabot in #1213
- Make tests work with mocked interfaces by @gcomte in #1219
- Implement failed swap handling improvements by @danielgranhao in #1215
- Expose swap txid by @danielgranhao in #1220
- Fix missing method in UDL file by @danielgranhao in #1222
UDL Changes:
index c047fd5..1154f91 100644
--- a/src/lipalightninglib.udl
+++ b/src/lipalightninglib.udl
@@ -91,6 +91,9 @@ interface LightningNode {
[Throws=LnError]
void hide_channel_closes_funds_available_action_required_item();
+
+ [Throws=LnError]
+ void hide_unresolved_failed_swap_action_required_item(FailedSwapInfo failed_swap_info);
[Throws=LnError]
sequence<OfferInfo> query_uncompleted_offers();
@@ -114,28 +117,34 @@ interface LightningNode {
u32 query_onchain_fee_rate();
[Throws=SweepError]
- SweepInfo prepare_sweep(string address, u32 onchain_fee_rate);
+ SweepInfo prepare_sweep_funds_from_channel_closes(string address, u32 onchain_fee_rate);
[Throws=LnError]
- string sweep(SweepInfo sweep_info);
+ string sweep_funds_from_channel_closes(SweepInfo sweep_info);
[Throws=SwapError]
SwapAddressInfo generate_swap_address(OpeningFeeParams? lsp_fee_params);
[Throws=LnError]
sequence<FailedSwapInfo> get_unresolved_failed_swaps();
+
+ [Throws=LnError]
+ OnchainResolvingFees? get_failed_swap_resolving_fees(FailedSwapInfo failed_swap_info);
[Throws=LnError]
ResolveFailedSwapInfo prepare_resolve_failed_swap(FailedSwapInfo failed_swap_info, string to_address, u32 onchain_fee_rate);
+ [Throws=LnError]
+ string swap_failed_swap_funds_to_lightning(FailedSwapInfo failed_swap_info, u32 sat_per_vbyte, OpeningFeeParams? lsp_fee_param);
+
[Throws=LnError]
string resolve_failed_swap(ResolveFailedSwapInfo resolve_failed_swap_info);
[Throws=LnError]
- ChannelCloseResolvingFees? get_channel_close_resolving_fees();
+ OnchainResolvingFees? get_channel_close_resolving_fees();
[Throws=SweepError]
- string swap_onchain_to_lightning(u32 sats_per_vbyte, OpeningFeeParams? lsp_fee_params);
+ string swap_channel_close_funds_to_lightning(u32 sats_per_vbyte, OpeningFeeParams? lsp_fee_params);
[Throws=LnError]
void hide_topup(string id);
@@ -575,6 +584,7 @@ dictionary SwapInfo {
string bitcoin_address;
TzTime created_at;
Amount paid_amount;
+ string txid;
};
dictionary ReverseSwapInfo {
@@ -649,7 +659,7 @@ dictionary ClearWalletInfo {
PrepareOnchainPaymentResponse prepare_response;
};
-dictionary ChannelCloseResolvingFees {
+dictionary OnchainResolvingFees {
SwapToLightningFees? swap_fees;
Amount sweep_onchain_fee_estimate;
u32 sat_per_vbyte;
Full Changelog: v0.65.2-beta...v0.66.0-beta
v0.65.2-beta
What's Changed
- Check the length of the vector before splitting off by @andrei-21 in #1210
- Fix warning about filename collision when building pocket mock by @andrei-21 in #1211
Full Changelog: v0.65.1-beta...v0.65.2-beta
v0.65.1-beta
What's Changed
- Return the same pending activities by @andrei-21 in #1209
Full Changelog: v0.65.0-beta...v0.65.1-beta
v0.65.0-beta
What's Changed
- Stop using tee and just cat test.json by @danielgranhao in #1201
- Fix asserting receiver has enough inbound by @gcomte in #1203
- Add leeway to exchange rate monitoring test by @danielgranhao in #1202
- Refactor monitortest by @gcomte in #1204
- Bump regex from 1.10.6 to 1.11.0 by @dependabot in #1206
- Remove LDK funds migration code by @andrei-21 in #1208
UDL Changes
@@ -767,7 +767,6 @@ enum RuntimeErrorCode {
"BackupServiceUnavailable",
"BackupNotFound",
"NodeUnavailable",
- "FailedFundMigration",
};
Full Changelog: v0.64.0-beta...v0.65.0-beta
v0.64.0-beta
What's Changed
- Fix monitor test exit code getting lost due to use of tee by @danielgranhao in #1199
- Expose reverse swap onchain fees by @danielgranhao in #1200
UDL Changes
index 6f56078..5c23c1b 100644
--- a/src/lipalightninglib.udl
+++ b/src/lipalightninglib.udl
@@ -579,6 +579,7 @@ dictionary SwapInfo {
dictionary ReverseSwapInfo {
Amount paid_onchain_amount;
+ Amount swap_fees_amount;
string? claim_txid;
ReverseSwapStatus status;
};
Full Changelog: v0.63.0-beta...v0.64.0-beta
v0.63.0-beta
What's Changed
- Mock lnurlp comment by @gcomte in #1065
- Implement mocking of channels by @danielgranhao in #1067
- Update Breez SDK version in Breez SDK mock by @gcomte in #1071
- Remove mock syncs as part of other methods by @danielgranhao in #1074
- Mock all remaining Lipa backend calls by @gcomte in #1075
- Improve LSP fee mocking by @danielgranhao in #1081
- Enable case insensitive mock commands by @gcomte in #1097
- Trim mock commands by @gcomte in #1098
- Update breez-sdk mock to the new pay on-chain API by @andrei-21 in #1111
- Fix mocked lipa LN address suffix by @gcomte in #1101
- Bump serde_json from 1.0.122 to 1.0.124 by @dependabot in #1163
- Bump serde from 1.0.204 to 1.0.206 by @dependabot in #1164
- Bump serde from 1.0.206 to 1.0.207 by @dependabot in #1165
- bump serde from 1.0.207 to 1.0.208 by @dependabot in #1170
- Bump camino from 1.1.7 to 1.1.8 by @dependabot in #1169
- Bump serde_json from 1.0.124 to 1.0.125 by @dependabot in #1168
- Bump camino from 1.1.8 to 1.1.9 by @dependabot in #1172
- Bump tokio from 1.39.2 to 1.39.3 by @dependabot in #1171
- Use Config for all parameters by @danielgranhao in #1167
- Use accept terms and conditions v2 by @danielgranhao in #1166
- Fix out of date info.plist and stop use of letter chars in version by @danielgranhao in #1174
- Remove no onchain funds runtime error by @danielgranhao in #1177
- Bump serde_json from 1.0.125 to 1.0.127 by @dependabot in #1176
- Bump tokio from 1.39.3 to 1.40.0 by @dependabot in #1178
- Bump serde from 1.0.208 to 1.0.209 by @dependabot in #1175
- Replace BACKEND_URL_LOCAL by @andrei-21 in #1179
- Decrypt phone number ln addresses in lnurl recipient field by @gcomte in #1180
- Bump serde_json from 1.0.127 to 1.0.128 by @dependabot in #1181
- Store t&c version number in mock by @gcomte in #1182
- Revert "Merge pull request #1180 from getlipa/fix/decrypt-phone-numbe… by @gcomte in #1183
- Bump anyhow from 1.0.86 to 1.0.87 by @dependabot in #1184
- Stop reporting analytics data from tests by @gcomte in #1187
- Bump serde from 1.0.209 to 1.0.210 by @dependabot in #1185
- Bump anyhow from 1.0.87 to 1.0.88 by @dependabot in #1186
- Bump anyhow from 1.0.88 to 1.0.89 by @dependabot in #1189
- Bump unicode-segmentation from 1.11.0 to 1.12.0 by @dependabot in #1188
- Add E2E tests to periodically test GL/Breez/Backend-integration by @gcomte in #1190
- Merge mock by @danielgranhao in #1191
- Report monitoring results to slack by @danielgranhao in #1194
- Use tee on monitor test run and report workflow URL by @danielgranhao in #1196
- Upgrade Breez SDK to 0.6.1 by @danielgranhao in #1198
UDL Changes
index 910cc76..6f56078 100644
--- a/src/lipalightninglib.udl
+++ b/src/lipalightninglib.udl
@@ -259,7 +259,8 @@ dictionary NodeInfo {
dictionary ChannelsInfo {
Amount local_balance;
- Amount inbound_capacity;
+ Amount max_receivable_single_payment;
+ Amount total_inbound_capacity;
Amount outbound_capacity;
};
Full Changelog: v0.61.0-beta...v0.63.0-beta
v0.62.3-beta
What's Changed
- Bump serde_json from 1.0.127 to 1.0.128 by @dependabot in #1181
- Revert "Merge pull request #1180 from getlipa/fix/decrypt-phone-numbe… by @gcomte in #1183
Full Changelog: v0.62.2-beta...v0.62.3-beta
v0.62.2-beta
What's Changed
- Remove no onchain funds runtime error by @danielgranhao in #1177
- Bump serde_json from 1.0.125 to 1.0.127 by @dependabot in #1176
- Bump tokio from 1.39.3 to 1.40.0 by @dependabot in #1178
- Bump serde from 1.0.208 to 1.0.209 by @dependabot in #1175
- Replace BACKEND_URL_LOCAL by @andrei-21 in #1179
- Decrypt phone number ln addresses in lnurl recipient field by @gcomte in #1180
Full Changelog: v0.62.1-beta...v0.62.2-beta