| 
 | 1 | +# 0.0.109 - 2022-06-30  | 
 | 2 | + | 
 | 3 | +## API Updates  | 
 | 4 | + * `ChannelManager::update_channel_config` has been added to allow the fields  | 
 | 5 | +   in `ChannelConfig` to be changed in a given channel after open (#1527).  | 
 | 6 | + * If we reconnect to a peer which proves we have a stale channel state, rather  | 
 | 7 | +   than force-closing we will instead panic to provide an opportunity to switch  | 
 | 8 | +   to the latest state and continue operating without channel loss (#1564).  | 
 | 9 | + * A `NodeAlias` struct has been added which handles string sanitization for  | 
 | 10 | +   node aliases via the `Display` trait (#1544).  | 
 | 11 | + * `ProbabilisticScoringParameters` now has a `banned_nodes` set which we will  | 
 | 12 | +    never route through during path finding (#1550).  | 
 | 13 | + * `ProbabilisticScoringParameters` now offers an `anti_probing_penalty_msat`  | 
 | 14 | +   option to prefer channels which afford better privacy when routing (#1555).  | 
 | 15 | + * `ProbabilisticScorer` now provides access to its estimated liquidity range  | 
 | 16 | +   for a given channel via `estimated_channel_liquidity_range` (#1549).  | 
 | 17 | + * Options which cannot be changed at runtime have been moved from  | 
 | 18 | +   `ChannelConfig` to `ChannelHandshakeConfig` (#1529).  | 
 | 19 | + * `find_route` takes `&NetworkGraph` instead of `ReadOnlyNetworkGraph (#1583).  | 
 | 20 | + * `ChannelDetails` now contains a copy of the current `ChannelConfig` (#1527).  | 
 | 21 | + * The `lightning-invoice` crate now optionally depends on `serde`, with  | 
 | 22 | +   `Invoice` implementing `serde::{Deserialize,Serialize}` if enabled (#1548).  | 
 | 23 | + * Several fields in `UserConfig` have been renamed for clarity (#1540).  | 
 | 24 | + | 
 | 25 | +## Bug Fixes  | 
 | 26 | + * `find_route` no longer selects routes with more than  | 
 | 27 | +   `PaymentParameters::max_mpp_path_count` paths, and  | 
 | 28 | +   `ChannelManager::send_payment` no longer refuses to send along routes with  | 
 | 29 | +   more than ten paths (#1526).  | 
 | 30 | + * Fixed two cases where HTLCs pending at the time a counterparty broadcasts a  | 
 | 31 | +   revoked commitment transaction are considered resolved prior to their actual  | 
 | 32 | +   resolution on-chain, possibly passing the update to another channel (#1486).  | 
 | 33 | + * HTLCs which are relayed through LDK may now have a total expiry time two  | 
 | 34 | +   weeks in the future, up from one, reducing forwarding failures (#1532).  | 
 | 35 | + | 
 | 36 | +## Serialization Compatibility  | 
 | 37 | + * All new fields are ignored by prior versions of LDK. All new fields are not  | 
 | 38 | +   present when reading objects serialized by prior versions of LDK.  | 
 | 39 | + * `ChannelConfig`'s serialization format has changed and is not compatible  | 
 | 40 | +   with any previous version of LDK. Attempts to read values written by a  | 
 | 41 | +   previous version of LDK will fail and attempts to read newly written objects  | 
 | 42 | +   using a previous version of LDK will fail. It is not expected that users are  | 
 | 43 | +   serializing `ChannelConfig` using the LDK serialization API, however, if a  | 
 | 44 | +   backward compatibility wrapper is required, please open an issue.  | 
 | 45 | + | 
 | 46 | +## Security  | 
 | 47 | +0.0.109 fixes a denial-of-service vulnerability which is reachable from  | 
 | 48 | +untrusted input in some application deployments.  | 
 | 49 | + | 
 | 50 | + * Third parties which are allowed to open channels with an LDK-based node may  | 
 | 51 | +   fund a channel with a bogus and maliciously-crafted transaction which, when  | 
 | 52 | +   spent, can cause a panic in the channel's corresponding `ChannelMonitor`.  | 
 | 53 | +   Such a channel is never usable as it cannot be funded with a funding  | 
 | 54 | +   transaction which matches the required output script, allowing the  | 
 | 55 | +   `ChannelMonitor` for such channels to be safely purged as a workaround on  | 
 | 56 | +   previous versions of LDK. Thanks to Eugene Siegel for reporting this issue.  | 
 | 57 | + | 
 | 58 | +In total, this release features 32 files changed, 1948 insertions, 532  | 
 | 59 | +deletions in 33 commits from 9 authors, in alphabetical order:  | 
 | 60 | + * Antoine Riard  | 
 | 61 | + * Daniel Granhão  | 
 | 62 | + * Elias Rohrer  | 
 | 63 | + * Jeffrey Czyz  | 
 | 64 | + * Matt Corallo  | 
 | 65 | + * Matt Faltyn  | 
 | 66 | + * NicolaLS  | 
 | 67 | + * Valentine Wallace  | 
 | 68 | + * Wilmer Paulino  | 
 | 69 | + | 
 | 70 | + | 
1 | 71 | # 0.0.108 - 2022-06-10  | 
2 | 72 | 
 
  | 
3 | 73 | ## Bug Fixes  | 
@@ -148,7 +218,7 @@ deletions in 153 commits from 18 authors, in alphabetical order:  | 
148 | 218 |  * Jurvis Tan  | 
149 | 219 |  * Justin Moon  | 
150 | 220 |  * KaFai Choi  | 
151 |  | - * Mateusz Faltyn  | 
 | 221 | + * Matt Faltyn  | 
152 | 222 |  * Matt Corallo  | 
153 | 223 |  * Valentine Wallace  | 
154 | 224 |  * Viktor Tigerström  | 
 | 
0 commit comments