Skip to content

Commit 548a936

Browse files
committed
Add 0.0.116rc1 CHANGELOG entries (to be renamed 116 later)
1 parent df237ba commit 548a936

File tree

5 files changed

+115
-19
lines changed

5 files changed

+115
-19
lines changed

CHANGELOG.md

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,118 @@
1+
# 0.0.116rc1 - Jul 14, 2023 - "Anchoring the Roadmap"
2+
3+
## API Updates
4+
5+
* Support for zero-HTLC-fee anchor output channels has been added and is now
6+
considered beta (#2367). Users who set
7+
`ChannelHandshakeConfig::negotiate_anchors_zero_fee_htlc_tx` should be
8+
prepared to handle the new `Event::BumpTransaction`, e.g. via the
9+
`BumpTransactionEventHandler` (#2089). Users who set the same and wish to
10+
accept inbound anchor-based channels must do so manually by setting
11+
`UserConfig::manually_accept_inbound_channels` (#2368).
12+
* Support forwarding and accepting HTLCs with a reduced amount has been added,
13+
to support LSPs skimming a fee on the penultimate hop (#2319).
14+
* `Score`rs now have an associated type which represents a parameter passed
15+
when calculating penalties. This allows for the same `Score`r to be used with
16+
different penalty calculation parameters (#2237).
17+
* `DefaultRouter` is no longer restrained to a `Mutex`-wrapped `Score`,
18+
allowing it to be used in `no-std` builds (#2383).
19+
* `CustomMessageHandler::provided_{node,init}_features` and various custom
20+
feature bit methods on `*Features` were added (#2204).
21+
* Keysend/push payments using MPP are now supported when receiving if
22+
`UserConfig::accept_mpp_keysend` is set and when sending if specified in the
23+
`PaymentParameters`. Note that not all recipients support this (#2156).
24+
* `SpendableOutputDescriptor::to_psbt_input` was added (#2286).
25+
* `ChannelManager::update_partial_channel_config` was added (#2330).
26+
* `ChannelDetails::channel_shutdown_state` was added (#2347).
27+
* The shutdown script can now be provided at shutdown time via
28+
`ChannelManager::close_channel_with_feerate_and_script` (#2219).
29+
* `BroadcasterInterface` now takes multiple transactions at once. While not
30+
available today, in the future single calls should be passed to a full node
31+
via a single batch/package transaction acceptance API (#2272).
32+
* `Balance::claimable_amount_satoshis` was added (#2333).
33+
* `payment_{hash,preimage}` have been added to some `Balance` variants (#2217).
34+
* The `lightning::chain::keysinterface` is now `lightning::sign` (#2246).
35+
* Routing to a blinded path has been implemented, though sending to such a
36+
route is not yet supported in `ChannelManager` (#2120).
37+
* `OffersMessageHandler` was added for offers-related onion messages (#2294).
38+
* Various P2P messages for dual funding channel establishment have been added,
39+
though handling for them is not yet in `ChannelManager` (#1794)
40+
* Script-fetching methods in `sign` interfaces can now return errors, see docs
41+
for the implications of failing (#2213).
42+
* The `data_loss_protect` option is now required when reading
43+
`channel_reestablish` messages, as many others have done (#2253).
44+
* `InFlightHtlcs::add_inflight_htlc` has been added (#2042).
45+
* The `init` message `networks` field is now written and checked (#2329).
46+
* `PeerManager` generics have been simplified with the introduction of the
47+
`APeerManager` trait (#2249).
48+
* `ParitalOrd` and `Ord` are now implemented for `Invoice` (#2279).
49+
* `ParitalEq` and `Debug` are now implemented for `InMemorySigner` (#2328).
50+
* `ParitalEq` and `Eq` are now implemented for `PaymentError` (#2316).
51+
* `NetworkGraph::update_channel_from_announcement_no_lookup` was added (#2222).
52+
* `lightning::routing::gossip::verify_{channel,node}_announcement` was added
53+
(#2307).
54+
55+
## Backwards Compatibility
56+
* `PaymentParameters` written with blinded path info using LDK 0.0.115 will not
57+
be readable in LDK 0.0.116, and vice versa.
58+
* Forwarding less than `Event::HTLCIntercepted::expected_outbound_amount_msat`
59+
in `ChannelManager::forward_intercepted_htlc` may prevent the
60+
`ChannelManager` from being read by LDK prior to 0.0.116 (#2319)
61+
* Setting `ChannelConfig::accept_underpaying_htlcs` may prevent the
62+
`ChannelManager` from being read by LDK prior to 0.0.116 and un-setting the
63+
parameter between restarts may lead to payment failures (#2319).
64+
* `ChannelManager::create_inbound_payment{,_for_hash}_legacy` has been removed,
65+
removing the ability to create inbound payments which are claimable after
66+
downgrade to LDK 0.0.103 and prior. In the future handling such payments will
67+
also be removed (#2351).
68+
* Some fields required by LDK 0.0.103 and earlier are no longer written, thus
69+
deserializing objects written by 0.0.116 with 0.0.103 may now fail (#2351).
70+
71+
## Bug Fixes
72+
* `ChannelDetails::next_outbound_htlc_limit_msat` was made substantially more
73+
accurate and a corresponding `next_outbound_htlc_minimum_msat` was added.
74+
This resolves issues where unpayable routes were generated due to
75+
overestimation of the amount which is payable over one of our channels as
76+
the first hop (#2312).
77+
* A rare case where delays in processing `Event`s generated by
78+
`ChannelMonitor`s could lead to loss of those events in case of an untimely
79+
crash. This could lead to the loss of an `Event::SpendableOutputs` (#2369).
80+
* Fixed a regression in 0.0.115 which caused `PendingHTLCsForwardable` events
81+
to be missed when processing phantom node receives. This caused such
82+
payments to be delayed until a further, unrelated HTLC came in (#2395).
83+
* Peers which are unresponsive to channel messages for several timer ticks are
84+
now disconnected to allow for on-reconnection state machine reset. This
85+
works around some issues in lnd prior to 16.3 which can cause channels to
86+
hang and eventually force-close (#2293).
87+
* `ChannelManager::new` now requires the current time (either from a recent
88+
block header or the system clock), ensuring invoices created immediately
89+
after startup aren't already expired (#2372).
90+
* Resolved an issue where reading a `ProbabilisticScorer` on some platforms
91+
(e.g. iOS) can lead to a panic (#2322).
92+
* `ChannelConfig::max_dust_htlc_exposure` is now allowed to scale based on
93+
current fees, and the default has been updated to do so. This substantially
94+
reduces the chance of force-closure due to dust exposure. Note that existing
95+
channels will retain their current value and you may wish to update the
96+
value on your existing channels on upgrade (#2354).
97+
* `PeerManager::process_events` no longer blocks in any case. This fixes a bug
98+
where reentrancy from `PeerManager` into user code which eventually calls
99+
`process_events` could lead to a deadlock (#2280).
100+
* The persist timing of network graph and scoring in
101+
`lightning-background-processor` has been tweaked to provide more reliable
102+
persistence after updates to either (#2226).
103+
* The number of route hints added to BOLT 11 invoices by the
104+
`lightning-invoice::utils` builders has been reduced to three to ensure
105+
invoices can be represented in scan-able QR codes (#2044).
106+
* Fixed sending large onion messages, which would previously have resulted in
107+
an HMAC error on the second hop (#2277).
108+
* Fixed a memory leak that may occur when a `ChannelManager` or
109+
`ChannelMonitor` is `drop`ed (#2233).
110+
* A potential deadlock in calling `NetworkGraph::eq` was resolved (#2284).
111+
* Fixed an overflow which prevented disconnecting peers in some minor cases
112+
with more than 31 peers (#2245).
113+
* Gossip messages with an unknown chain hash are now ignored (#2230).
114+
* Rapid Gossip Sync processing now fails on an unknown chain hash (#2324).
115+
1116
# 0.0.115 - Apr 24, 2023 - "Rebroadcast the Bugfixes"
2117

3118
## API Updates

pending_changelog/big-om-error.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

pending_changelog/blinded_pay_param_compat.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

pending_changelog/forward-underpaying-htlc.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

pending_changelog/no-legacy-payments.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)