Skip to content

Commit 2ab4df9

Browse files
committed
Add release notes for 0.0.113
Fixes #1890
1 parent d4dc05b commit 2ab4df9

File tree

6 files changed

+85
-41
lines changed

6 files changed

+85
-41
lines changed

CHANGELOG.md

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,88 @@
1+
# 0.0.113 - Dec 15, 2022 - "Big Movement Intercepted"
2+
3+
## API Updates
4+
* `ChannelManager::send_payment` now takes an explicit `PaymentId` which is a
5+
loose idempotency token. See `send_payment` docs for more (#1761, #1826).
6+
* HTLCs bound for SCIDs from `ChannelManager::get_intercept_scid` are now
7+
intercepted and can be forwarded manually over any channel (#1835, #1893).
8+
* `Confirm::get_relevant_txids` now returns a `BlockHash`, expanding the set
9+
of cases where `transaction_unconfirmed` must be called, see docs (#1796).
10+
* Pending outbound payments are no longer automatically timed-out a few blocks
11+
after failure. Thus, in order to avoid leaking memory, you MUST call
12+
`ChannelManager::abandon_payment` when you no longer wish to retry (#1761).
13+
* `ChannelManager::abandon_payment` docs were updated to note that the payment
14+
may return to pending after a restart if no persistence occurs (#1907).
15+
* `Event::PaymentReceived` has been renamed `Event::PaymentClaimable` (#1891).
16+
* `Event` handling is now optionally async for Rust users (#1787).
17+
* `user_channel_id` is now a `u128` and random for inbound channels (#1790).
18+
* A new `ChannelReady` event is generated whenever a channel becomes ready to
19+
be used, i.e., after both sides sent the `channel_ready` message (#1743).
20+
* `NetworkGraph` now prunes channels where either node is offline for 2 weeks
21+
and refuses to accept re-announcements of pruned channels (#1735).
22+
* Onion messages are now read in `CustomOnionMessageHandler` rather than via
23+
`MaybeReadableArgs` (#1809).
24+
* Added a new util to generate an invoice with a custom hash (#1894) -
25+
`create_invoice_from_channelmanager_and_duration_since_epoch_with_payment_hash`
26+
* `Sign`ers are now by default re-derived using `KeysInterface`'s new
27+
`derive_channel_signer` rather than `read_chan_signer` (#1867).
28+
* `Confirm::transactions_confirmed` is now idempotent (#1861).
29+
* `ChannelManager::compute_inflight_htlcs` has been added to fetch in-flight
30+
HTLCs for scoring, note that `InvoicePayer` does this for you (#1830).
31+
* Added the chan we received a payment on to `PaymentReceived` events (#1856).
32+
* Added the `node_id` (phantom or regular) to payment events (#1766).
33+
* Added the funding transaction `confirmations` to `ChannelDetails` (#1856).
34+
* Support for the BOLT 4 "legacy" onion format has been removed, in line with
35+
its removal in the spec and vanishingly rare use (#1413).
36+
* `ChainMonitor::list_pending_monitor_updates` was added (#1834).
37+
* Signing for non-zero-fee anchor commitments is supported again (#1828).
38+
* Several helpers for transaction matching and generation are now pub (#1839).
39+
40+
## Bug Fixes
41+
* Fixed a rare race where a crash may result in a pending HTLC not being
42+
failed backwards, leading to a force-closure by our counterparty (#1857).
43+
* Avoid incorrectly assigning a lower-bound on channel liquidity when routing
44+
fails due to a closed channel earlier in the path (#1817).
45+
* If a counterparty increases the channel fee, but not enough per our own fee
46+
estimator, we no longer force-close the channel (#1852).
47+
* Several bugs in the `lightning-background-processor` `future` feature were
48+
fixed, including requirements doc corrections (#1843, #1845, #1851).
49+
* Some failure messages sent back when failing an HTLC were corrected (#1895).
50+
* `rapid-gossip-sync` no longer errors if an update is applied duplicatively
51+
or in rare cases when the graph is updated from payment failures (#1833).
52+
* Sending onion msgs when we're the introduction node no longer fails (#1791).
53+
54+
## Backwards Compatibility
55+
* No `ChannelReady` events will be generated for previously existing channels,
56+
including those which become ready after upgrading 0.0.113 (#1743).
57+
* Once `UserConfig::accept_intercept_htlcs` is set, downgrades to LDK versions
58+
prior to 0.0.113 are not supported (#1835).
59+
* Existing payments may see a `PaymentReceived::user_channel_id` of 0 (#1856).
60+
* When downgrading to a version of LDK prior to 0.0.113 when there are
61+
resolved payments waiting for a small timeout, the payments may not be
62+
removed, preventing payments with the same `PaymentId` (#1761).
63+
64+
In total, this release features 74 files changed, 11416 insertions, 5844
65+
deletions in 109 commits from 18 authors, in alphabetical order:
66+
* Antoine Riard
67+
* Arik Sosman
68+
* Devrandom
69+
* Duncan Dean
70+
* Elias Rohrer
71+
* Gleb Naumenko
72+
* Jeffrey Czyz
73+
* John Cantrell
74+
* Matt Corallo
75+
* Tee8z
76+
* Tobin C. Harding
77+
* Tristan F
78+
* Valentine Wallace
79+
* Viktor Tigerström
80+
* Wilmer Paulino
81+
* benthecarman
82+
* jurvis
83+
* ssbright
84+
85+
186
# 0.0.112 - Oct 25, 2022 - "History Matters"
287

388
## API Updates

pending_changelog/1743.txt

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

pending_changelog/1856.txt

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

pending_changelog/elias-event-renaming.txt

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

pending_changelog/matt-abandon-restart.txt

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

pending_changelog/matt-idempotent-payments.txt

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

0 commit comments

Comments
 (0)