Files
lnd/docs/release-notes/release-notes-0.15.1.md
T
Elle Mouton cc2fbd18b1 rpcperms: re-init mw lookup map after removal of one
After removing a registered middlware from the slice, we need to update
the index lookup map with the updated index for each middleware.
2022-07-15 14:25:54 +02:00

120 lines
4.3 KiB
Markdown

# Release Notes
## Protocol Extensions
### Zero-Conf Channel Opens
* [Introduces support for zero-conf channel opens and non-zero-conf option_scid_alias channels.](https://github.com/lightningnetwork/lnd/pull/5955)
## Build system
* [Add the release build directory to the `.gitignore` file to avoid the release
binary digest to be different whether that folder exists or
not](https://github.com/lightningnetwork/lnd/pull/6676).
## `lncli`
* [Add `payment_addr` flag to
`buildroute`](https://github.com/lightningnetwork/lnd/pull/6576)
so that the mpp record of the route can be set correctly.
* [Hop hints are now opt in when using `lncli
addholdinvoice`](https://github.com/lightningnetwork/lnd/pull/6577). Users now
need to explicitly specify the `--private` flag.
* [Add `chan_point` flag to
`updatechanstatus` and `abandonchannel`](https://github.com/lightningnetwork/lnd/pull/6705)
to offer a convenient way to specify the channel to be updated.
* [Add `ignore_pair` flag to
queryroutes](https://github.com/lightningnetwork/lnd/pull/6724) to allow a
user to request that specific directional node pairs be ignored during the
route search.
## Database
* [Delete failed payment attempts](https://github.com/lightningnetwork/lnd/pull/6438)
once payments are settled, unless specified with `keep-failed-payment-attempts` flag.
## Documentation
* [Add minor comment](https://github.com/lightningnetwork/lnd/pull/6559) on
subscribe/cancel/lookup invoice parameter encoding.
* [Log pubkey for peer related messages](https://github.com/lightningnetwork/lnd/pull/6588).
## RPC Server
* [Add previous_outpoints to
`GetTransactions` RPC](https://github.com/lightningnetwork/lnd/pull/6321).
* [Fix P2TR support in
`ComputeInputScript`](https://github.com/lightningnetwork/lnd/pull/6680).
* [Add wallet reserve RPC & field in wallet
balance](https://github.com/lightningnetwork/lnd/pull/6592).
* The RPC middleware interceptor now also allows [requests to be
replaced](https://github.com/lightningnetwork/lnd/pull/6630) instead of just
responses. In addition to that, errors returned from `lnd` can now also be
intercepted and changed by the middleware.
* The `signrpc.SignMessage` and `signrpc.VerifyMessage` now supports [Schnorr
signatures](https://github.com/lightningnetwork/lnd/pull/6722).
## Bug Fixes
* Fixed data race found in
[`TestSerializeHTLCEntries`](https://github.com/lightningnetwork/lnd/pull/6673).
* [Fixed a bug in the `SignPsbt` RPC that produced an invalid response when
signing a NP2WKH input](https://github.com/lightningnetwork/lnd/pull/6687).
* [Update the `urfave/cli`
package](https://github.com/lightningnetwork/lnd/pull/6682) because of a flag
parsing bug.
* [DisconnectPeer no longer interferes with the peerTerminationWatcher. This previously caused
force closes.](https://github.com/lightningnetwork/lnd/pull/6655)
* [The HtlcSwitch now waits for a ChannelLink to stop before replacing it. This fixes a race
condition.](https://github.com/lightningnetwork/lnd/pull/6642)
* [Integration tests now always run with nodes never deleting failed
payments](https://github.com/lightningnetwork/lnd/pull/6712).
* [Fixes a key scope issue preventing new remote signing setups to be created
with `v0.15.0-beta`](https://github.com/lightningnetwork/lnd/pull/6714).
* [Re-initialise registered middleware index lookup map after removal of a
registered middleware](https://github.com/lightningnetwork/lnd/pull/6739)
## Code Health
### Code cleanup, refactor, typo fixes
* [Migrate instances of assert.NoError to require.NoError](https://github.com/lightningnetwork/lnd/pull/6636).
* [Enforce the order of rpc interceptor execution](https://github.com/lightningnetwork/lnd/pull/6709) to be the same as the
order in which they were registered.
### Tooling and documentation
* An [`.editorconfig` file was
added](https://github.com/lightningnetwork/lnd/pull/6681) to autoconfigure
most text editors to respect the 80 character line length and to use 8 spaces
as the tab size. Rules for Visual Studio Code were also added. And finally,
the code formatting rules were extracted into their [own
document](../code_formatting_rules.md).
# Contributors (Alphabetical Order)
* Carsten Otto
* Elle Mouton
* ErikEk
* Eugene Siegel
* Slyghtning
* Oliver Gugger
* Olaoluwa Osuntokun
* Priyansh Rastogi
* Tommy Volk
* Yong Yu