Skip to content

Commit bb57c23

Browse files
committed
Update CHANGELOG for 0.0.101
1 parent 801d6e5 commit bb57c23

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

CHANGELOG.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,70 @@
1+
# 0.0.101 - XXX
2+
3+
## API Updates
4+
* Custom message types are now supported directly in the `PeerManager`,
5+
allowing you to send and receive messages of any type that is not natively
6+
understood by LDK. This requires a new type bound on `PeerManager`, a
7+
`CustomMessageHandler`. `IgnoringMessageHandler` provides a simple default
8+
for this new bound for ignoring unknown messages (#1031, #1074).
9+
* Route graph updates as a result of failed payments are no longer provided as
10+
`MessageSendEvent::PaymentFailureNetworkUpdate` but instead included in a
11+
new field in the `Event::PaymentFailed` events. Generally, this means route
12+
graph updates are no longer handled as a part of the `PeerManager` but
13+
instead through the new `EventHandler` implementation of
14+
`NetGraphMsgHandler`. To make this easy, a new parameter to
15+
`lightning-background-processor::BackgroundProcessor::start` is added, which
16+
contains an `Option`al `NetGraphmsgHandler`. If provided as `Some`, relevant
17+
events will be processed by the `NetGraphMsgHandler` prior to normal event
18+
handling (#1043).
19+
* The balances available on-chain to claim after a channel has been closed are
20+
now exposed via `ChannelMonitor::get_claimable_balances` and
21+
`ChainMonitor::get_claimable_balances`. The second can be used to get
22+
information about all closed channels which still have on-chain balances
23+
associated with them. See enum variants of `ln::channelmonitor::Balance` and
24+
method documentation for the above methods for more information on the types
25+
of balances exposed (#1034).
26+
* When one HTLC out of several as a part of a multi-path payment fails, the
27+
new field `all_paths_failed` in `Event::PaymentFailed` is set to `false`.
28+
This implies that the payment has not failed, but only one part. Payment
29+
resolution is only indicated by an `Event::PaymentSent` event or an
30+
`Event::PaymentFailed` with `all_paths_failed` set to `true`, which is also
31+
set for the last remaining part of a multi-path payment (#1053).
32+
* `lightning-invoice` now considers invoices with sub-millisatoshi precision
33+
to be invalid, and requires millisatoshi values during construction (thus
34+
you must call `amount_milli_satoshis` instead of `amount_pico_btc`, #1057).
35+
* The `BaseSign` interface now includes two new hooks which provide additional
36+
information about commigment transaction signatures and revocation secrets
37+
provided by our counterparty, allowing additional verification (#1039).
38+
* The `BaseSign` interface now includes additional information for cooperative
39+
close transactions, making it easier for a signer to verify requests (#1064).
40+
* `Txid` and `Transaction` objects can now be deserialized from responses when
41+
using the HTTP client in the `lightning-block-sync` crate (#1037, #1061).
42+
XXX Assuming 1061 lands by 101 ^
43+
44+
## Bug Fixes
45+
* Fix a panic when reading a lightning invoice with a non-recoverable
46+
signature. Further, restrict lightning invoice parsing require payment
47+
secrets and better handle a few edge cases as required by BOLT 11 (#1057).
48+
* Fix a panic when receiving multiple messages (such as HTLC fulfill messages)
49+
after a call to `chain::Watch::update_channel` returned
50+
`Err(ChannelMonitorUpdateErr::TemporaryFailure)` with no
51+
`ChannelManager::channel_monitor_updated` call in between (#1066).
52+
* For multi-path payments, `Event::PaymentSent` is no longer generated
53+
multiple times, once for each independent part (#1053).
54+
* Multi-hop route hints in invoices are now considered in the default router
55+
provided via `get_route` (#1040).
56+
* The time peers have to respond to pings has been increased when building
57+
with debug assertions enabled. This avoids peer disconnections on slow hosts
58+
when running in debug mode (#1051).
59+
60+
## Serialization Compatibility
61+
* XXX There should at least be an entry for considerations around balances
62+
* XXX There should at least be an entry for payment error graph updates
63+
* XXX THere should at least be an entry for duplicate paymentfailed/sent for MPPs sent on old versions
64+
* XXX probably more.
65+
66+
XXX Add code change stats
67+
168
# 0.0.100 - 2021-08-17
269

370
## API Updates

0 commit comments

Comments
 (0)