Skip to content

Commit b05008f

Browse files
committed
docs: add release note for v0.21.0
1 parent ad75c62 commit b05008f

1 file changed

Lines changed: 16 additions & 10 deletions

File tree

docs/release-notes/release-notes-0.21.0.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,21 @@
3939
has been removed from the public key parsing methods, and proper mutex
4040
protection has been added to the cache access in `DisconnectBlockAtHeight`.
4141

42-
- [Fixed TLV decoders to reject malformed records with incorrect lengths](https://github.com/lightningnetwork/lnd/pull/10249).
42+
- [Fixed TLV decoders to reject malformed records with incorrect lengths](https://github.com/lightningnetwork/lnd/pull/10249).
4343
TLV decoders now strictly enforce fixed-length requirements for Fee (8 bytes),
4444
Musig2Nonce (66 bytes), ShortChannelID (8 bytes), Vertex (33 bytes), and
4545
DBytes33 (33 bytes) records, preventing malformed TLV data from being
4646
accepted.
4747

48+
- [Fixed a bug](https://github.com/lightningnetwork/lnd/pull/10487) that could
49+
cause co-op aux channel closures to become stuck if the aux closer failed to
50+
broadcast the closing transaction (e.g., due to low fees). The closing
51+
transaction is now persisted before the aux closer attempts to broadcast,
52+
ensuring it can be re-broadcast on restart.
53+
4854
# New Features
4955

50-
- Basic Support for [onion messaging forwarding](https://github.com/lightningnetwork/lnd/pull/9868)
56+
- Basic Support for [onion messaging forwarding](https://github.com/lightningnetwork/lnd/pull/9868)
5157
consisting of a new message type, `OnionMessage`. This includes the message's
5258
definition, comprising a path key and an onion blob, along with the necessary
5359
serialization and deserialization logic for peer-to-peer communication.
@@ -104,18 +110,18 @@
104110
([PR#4704](https://github.com/lightningnetwork/lnd/pull/4704)). Users should
105111
migrate to the `--sat_per_vbyte` option, which correctly represents fee rates
106112
in terms of virtual bytes (vbytes).
107-
113+
108114
Internally `--sat_per_byte` was treated as sat/vbyte, this meant the option
109-
name was misleading and could result in unintended fee calculations. To avoid
115+
name was misleading and could result in unintended fee calculations. To avoid
110116
further confusion and to align with ecosystem terminology, the option will be
111117
removed.
112118

113119
The following RPCs will be impacted:
114120

115-
| RPC Method | Messages | Removed Option |
121+
| RPC Method | Messages | Removed Option |
116122
|----------------------|----------------|-------------|
117123
| [`lnrpc.CloseChannel`](https://lightning.engineering/api-docs/api/lnd/lightning/close-channel/) | [`lnrpc.CloseChannelRequest`](https://lightning.engineering/api-docs/api/lnd/lightning/close-channel/#lnrpcclosechannelrequest) | sat_per_byte
118-
| [`lnrpc.OpenChannelSync`](https://lightning.engineering/api-docs/api/lnd/lightning/open-channel-sync/) | [`lnrpc.OpenChannelRequest`](https://lightning.engineering/api-docs/api/lnd/lightning/open-channel-sync/#lnrpcopenchannelrequest) | sat_per_byte
124+
| [`lnrpc.OpenChannelSync`](https://lightning.engineering/api-docs/api/lnd/lightning/open-channel-sync/) | [`lnrpc.OpenChannelRequest`](https://lightning.engineering/api-docs/api/lnd/lightning/open-channel-sync/#lnrpcopenchannelrequest) | sat_per_byte
119125
| [`lnrpc.OpenChannel`](https://lightning.engineering/api-docs/api/lnd/lightning/open-channel/) | [`lnrpc.OpenChannelRequest`](https://lightning.engineering/api-docs/api/lnd/lightning/open-channel/#lnrpcopenchannelrequest) | sat_per_byte
120126
| [`lnrpc.SendCoins`](https://lightning.engineering/api-docs/api/lnd/lightning/send-coins/) | [`lnrpc.SendCoinsRequest`](https://lightning.engineering/api-docs/api/lnd/lightning/send-coins/#lnrpcsendcoinsrequest) | sat_per_byte
121127
| [`lnrpc.SendMany`](https://lightning.engineering/api-docs/api/lnd/lightning/send-many/) | [`lnrpc.SendManyRequest`](https://lightning.engineering/api-docs/api/lnd/lightning/send-many/#lnrpcsendmanyrequest) | sat_per_byte
@@ -126,16 +132,16 @@
126132

127133
## Testing
128134

129-
* [Added unit tests for TLV length validation across multiple packages](https://github.com/lightningnetwork/lnd/pull/10249).
135+
* [Added unit tests for TLV length validation across multiple packages](https://github.com/lightningnetwork/lnd/pull/10249).
130136
New tests ensure that fixed-size TLV decoders reject malformed records with
131137
invalid lengths, including roundtrip tests for Fee, Musig2Nonce,
132138
ShortChannelID and Vertex records.
133139

134140
## Database
135141

136-
* Freeze the [graph SQL migration
137-
code](https://github.com/lightningnetwork/lnd/pull/10338) to prevent the
138-
need for maintenance as the sqlc code evolves.
142+
* Freeze the [graph SQL migration
143+
code](https://github.com/lightningnetwork/lnd/pull/10338) to prevent the
144+
need for maintenance as the sqlc code evolves.
139145

140146
## Code Health
141147

0 commit comments

Comments
 (0)