# Release Notes - [Bug Fixes](#bug-fixes) - [New Features](#new-features) - [Functional Enhancements](#functional-enhancements) - [RPC Additions](#rpc-additions) - [lncli Additions](#lncli-additions) - [Improvements](#improvements) - [Functional Updates](#functional-updates) - [RPC Updates](#rpc-updates) - [lncli Updates](#lncli-updates) - [Breaking Changes](#breaking-changes) - [Performance Improvements](#performance-improvements) - [Deprecations](#deprecations) - [Technical and Architectural Updates](#technical-and-architectural-updates) - [BOLT Spec Updates](#bolt-spec-updates) - [Testing](#testing) - [Database](#database) - [Code Health](#code-health) - [Tooling and Documentation](#tooling-and-documentation) # Bug Fixes - [Fixed](https://github.com/lightningnetwork/lnd/pull/9893) a memory leak by threading through parent context. - [Fix a serialisation bug](https://github.com/lightningnetwork/lnd/pull/9856) that would occur when an attempt was made to write a backup file for a channel peer that has advertised an address that we do not yet know how to parse. - Fixed [a case](https://github.com/lightningnetwork/lnd/pull/9854) where the `BumpFee` doesn't give an error response. - Fixed [a case](https://github.com/lightningnetwork/lnd/pull/9872) where a peer would not disconnect properly when both peers supported the new "rbf-coop-close" feature leaving the peer connection in a borked state. - Fixed [a case](https://github.com/lightningnetwork/lnd/pull/9890) where LND would crash because of misaligned of a data struct on 32 bit systems. - Fixed [a case](https://github.com/lightningnetwork/lnd/pull/9876) where a peer may be treated as restricted peer although it used to have a channel with the node. # New Features ## Functional Enhancements - [Increase](https://github.com/lightningnetwork/lnd/pull/9875) gossip sync buffer to take the pressure of the read handler. ## RPC Additions ## lncli Additions # Improvements ## Functional Updates - [The correct production feature bit for RBF coop close is now signaled](https://github.com/lightningnetwork/lnd/pull/9858). ## RPC Updates ## lncli Updates ## Code Health ## Breaking Changes ## Performance Improvements ## Deprecations ### ⚠️ **Warning:** The following RPCs will be removed in release version **0.21**: | Deprecated RPC Method | REST Equivalent | HTTP Method | Path | Replaced By | |----------------------|----------------|-------------|------------------------------|------------------| | [`lnrpc.SendToRoute`](https://lightning.engineering/api-docs/api/lnd/lightning/send-to-route/index.html)
[`routerrpc.SendToRoute`](https://lightning.engineering/api-docs/api/lnd/router/send-to-route/) | ❌ (No direct REST equivalent) | — | — | [`routerrpc.SendToRouteV2`](https://lightning.engineering/api-docs/api/lnd/router/send-to-route-v2/) | | [`lnrpc.SendPayment`](https://lightning.engineering/api-docs/api/lnd/lightning/send-payment/)
[`routerrpc.SendPayment`](https://lightning.engineering/api-docs/api/lnd/router/send-payment/) | ✅ | `POST` | `/v1/channels/transaction-stream` | [`routerrpc.SendPaymentV2`](https://lightning.engineering/api-docs/api/lnd/router/send-payment-v2/index.html) | | [`lnrpc.SendToRouteSync`](https://lightning.engineering/api-docs/api/lnd/lightning/send-to-route-sync/index.html) | ✅ | `POST` | `/v1/channels/transactions/route` | [`routerrpc.SendToRouteV2`](https://lightning.engineering/api-docs/api/lnd/router/send-to-route-v2/) | | [`lnrpc.SendPaymentSync`](https://lightning.engineering/api-docs/api/lnd/lightning/send-payment-sync/index.html) | ✅ | `POST` | `/v1/channels/transactions` | [`routerrpc.SendPaymentV2`](https://lightning.engineering/api-docs/api/lnd/router/send-payment-v2/index.html) | | [`router.TrackPayment`](https://lightning.engineering/api-docs/api/lnd/router/track-payment/index.html) | ❌ (No direct REST equivalent) | — | — | [`routerrpc.TrackPaymentV2`](https://lightning.engineering/api-docs/api/lnd/router/track-payment-v2/) | 🚨 **Users are strongly encouraged** to transition to the new **V2 methods** before release **0.21** to ensure compatibility: | New RPC Method | REST Equivalent | HTTP Method | Path | |---------------|----------------|-------------|------------------------| | [`routerrpc.SendToRouteV2`](https://lightning.engineering/api-docs/api/lnd/router/send-to-route-v2/) | ✅ | `POST` | `/v2/router/route/send` | | [`routerrpc.SendPaymentV2`](https://lightning.engineering/api-docs/api/lnd/router/send-payment-v2/index.html) | ✅ | `POST` | `/v2/router/send` | | [`routerrpc.TrackPaymentV2`](https://lightning.engineering/api-docs/api/lnd/router/track-payment-v2/) | ✅ | `GET` | `/v2/router/track/{payment_hash}` | # Technical and Architectural Updates ## BOLT Spec Updates ## Testing ## Database ## Code Health ## Tooling and Documentation # Contributors (Alphabetical Order) * Elle Mouton * ffranr * Oliver Gugger * Yong Yu * Ziggie