Skip to content

Commit 183e542

Browse files
committed
Add CHANGELOG entries for 0.0.119
1 parent c92db69 commit 183e542

File tree

6 files changed

+86
-19
lines changed

6 files changed

+86
-19
lines changed

CHANGELOG.md

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,89 @@
1+
# 0.0.119 - XXX - YYY
2+
3+
## API Updates
4+
* The LDK crate ecosystem MSRV has been increased to 1.63 (#2681).
5+
* The `bitcoin` dependency has been updated to version 0.30 (#2740).
6+
* `lightning-invoice::payment::*` have been replaced with parameter generation
7+
via `payment_parameters_from[_zero_amount]_invoice` (#2727).
8+
* `{CoinSelection,Wallet}Source::sign_tx` are now `sign_psbt` (#2775).
9+
* Logger `Record`s now include `channel_id` and `peer_id` fields. These are
10+
opportunistically filled in when a log record is specific to a given channel
11+
and/or peer, and may occasionally be spuriously empty (#2314).
12+
* When handling send or reply onion messages (e.g. for BOLT12 payments), a new
13+
`Event::ConnectionNeeded` may be raised, indicating a direct connection
14+
should be made to a payee or an introduction point. This event is expected to
15+
be removed once onion message forwarding is widespread in the network (#2723)
16+
* Receiving payments to multi-hop blinded paths is now supported (#2688).
17+
* `lightning-transaction-sync` now supports Electrum-based sync (#2685).
18+
* `Confirm::get_relevant_txids` now returns the height at which a transaction
19+
was confirmed. This can be used to assist in reorg detection (#2685).
20+
* `ConfirmationTarget::MaxAllowedNonAnchorChannelRemoteFee` has been removed.
21+
Non-anchor channel feerates are bounded indirectly through
22+
`ChannelConfig::max_dust_htlc_exposure` (#2696).
23+
* `lightning-invoice` `Description`s now rely on `UntrustedString` for
24+
sanitization (#2730).
25+
* `ScoreLookUp::channel_penalty_msat` now uses `CandidateRouteHop` (#2551).
26+
XXX: channelsigner -> ecdsa?
27+
* `SignerProvider::get_destination_script` now takes `channel_keys_id` (#2744)
28+
* `SpendableOutputDescriptor::StaticOutput` now has `channel_keys_id` (#2749).
29+
* `EcdsaChannelSigner::sign_counterparty_commitment` now takes HTLC preimages
30+
for both inbound and outbound HTLCs (#2753).
31+
* `ClaimedHTLC` now includes a `counterparty_skimmed_fee_msat` field (#2715).
32+
* `peel_payment_onion` was added to decode an encrypted onion for a payment
33+
without receiving an HTLC. This allows for stateless verification of if a
34+
theoretical payment would be accepted prior to receipt (#2700).
35+
* `create_payment_onion` was added to construct an encrypted onion for a
36+
payment path without sending an HTLC immediately (#2677).
37+
* Various keys used in channels are now wrapped to provide type-safety for
38+
specific usages of the keys (#2675).
39+
* `TaggedHash` now includes the raw `tag` and `merkle_root` (#2687).
40+
* `Offer::is_expired_no_std` was added (#2689).
41+
* `PaymentPurpose::preimage()` was added (#2768).
42+
* `temporary_channel_id` can now be specified in `create_channel` (#2699).
43+
* Wire definitions for splicing messages were added (#2544).
44+
* Various `lightning-invoice` structs now impl `Display`, now have pub fields,
45+
or impl `From` (#2730).
46+
* The `Hash` trait is now implemented for more structs, incl P2P msgs (#2716).
47+
48+
## Performance Improvements
49+
* Memory allocations (though not memory usage) have been substantially reduced,
50+
meaning less overhead and hopefully less memory fragmentation (#2708, #2779).
51+
52+
## Bug Fixes
53+
XXX: when was this introduced:
54+
* Calling `close_channel*` on a channel which has not yet been funded would
55+
previously result in an infinite loop and hang (#2760).
56+
XXX: when was this introduced:
57+
* Sending payments which required data in the onion for the recipient which was
58+
too large for the onion may have caused corruption which resulted in payment
59+
failure (#2752).
60+
* Cooperative channel closure on channels with remaining output HTLCs may have
61+
spuriously force-closed (#2529).
62+
* In LDK versions 0.0.116 through 0.0.118, in rare cases where skimmed fees are
63+
present on shutdown the `ChannelManager` may fail to deserialize (#2735).
64+
* `ChannelConfig::max_dust_exposure` values which, converted to absolute fees,
65+
exceeded 2^63 - 1 would result in an overflow and could lead to spurious
66+
payment failures or channel closures (#2722).
67+
* In cases where LDK is operating with provably-stale state, it panicks to
68+
avoid funds loss. This may not have happened in cases where LDK was behind
69+
only exactly one state, leading instead to a revoked broadcast and funds
70+
loss (#2721).
71+
72+
## Backwards Compatibility
73+
* `ChannelManager`s written with LDK 0.0.119 are no longer readable by versions
74+
of LDK prior to 0.0.113. Users wishing to downgrade to LDK 0.0.112 or before
75+
can read an 0.0.119-serialized `ChannelManager` with a version of LDK from
76+
0.0.113 to 0.0.118, re-serialize it, and then downgrade (#2708).
77+
* Nodes that upgrade to 0.0.119 and subsequently downgrade after receiving a
78+
payment to a blinded path may leak recipient information if one or more of
79+
those HTLCs later fails (#2688).
80+
* Similarly, forwarding a blinded HTLC and subsequently downgrading to an LDK
81+
version prior to 0.0.119 may result in leaking the path information to the
82+
payment sender (#2540).
83+
84+
XXX contributor stats
85+
86+
187
# 0.0.118 - Oct 23, 2023 - "Just the Twelve Sinks"
288

389
## API Updates

pending_changelog/113-channel-ser-compat.txt

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

pending_changelog/electrum.txt

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

pending_changelog/multihop-blinded-recv.txt

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

pending_changelog/route-blinding-intro-node.txt

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

pending_changelog/skimmed_fee_ser.txt

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

0 commit comments

Comments
 (0)