Skip to content

Commit d4044c2

Browse files
docs: update release-notes-0.19.0.md
In this commit, we warn users about the removal of RPCs `SendToRoute`, `SendToRouteSync`, `SendPayment`, and `SendPaymentSync` in the next release 0.20.
1 parent 8d3611a commit d4044c2

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs/release-notes/release-notes-0.19.0.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- [lncli Updates](#lncli-updates)
1111
- [Breaking Changes](#breaking-changes)
1212
- [Performance Improvements](#performance-improvements)
13+
- [Deprecations](#deprecations)
1314
- [Technical and Architectural Updates](#technical-and-architectural-updates)
1415
- [BOLT Spec Updates](#bolt-spec-updates)
1516
- [Testing](#testing)
@@ -228,6 +229,26 @@ The underlying functionality between those two options remain the same.
228229

229230
* Log rotation can now use ZSTD
230231

232+
## Deprecations
233+
234+
### ⚠️ **Warning:** The following RPCs will be removed in release version **0.21**:
235+
236+
| Deprecated RPC Method | REST Equivalent | HTTP Method | Path | Replaced By |
237+
|----------------------|----------------|-------------|------------------------------|------------------|
238+
| [`lnrpc.SendToRoute`](https://lightning.engineering/api-docs/api/lnd/lightning/send-to-route/index.html) <br> [`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/) |
239+
| [`lnrpc.SendPayment`](https://lightning.engineering/api-docs/api/lnd/lightning/send-payment/) <br> [`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) |
240+
| [`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/) |
241+
| [`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) |
242+
| [`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/) |
243+
244+
🚨 **Users are strongly encouraged** to transition to the new **V2 methods** before release **0.21** to ensure compatibility:
245+
246+
| New RPC Method | REST Equivalent | HTTP Method | Path |
247+
|---------------|----------------|-------------|------------------------|
248+
| [`routerrpc.SendToRouteV2`](https://lightning.engineering/api-docs/api/lnd/router/send-to-route-v2/) || `POST` | `/v2/router/route/send` |
249+
| [`routerrpc.SendPaymentV2`](https://lightning.engineering/api-docs/api/lnd/router/send-payment-v2/index.html) || `POST` | `/v2/router/send` |
250+
| [`routerrpc.TrackPaymentV2`](https://lightning.engineering/api-docs/api/lnd/router/track-payment-v2/) || `GET` | `/v2/router/track/{payment_hash}` |
251+
231252
# Technical and Architectural Updates
232253
## BOLT Spec Updates
233254

0 commit comments

Comments
 (0)