|
10 | 10 | - [lncli Updates](#lncli-updates)
|
11 | 11 | - [Breaking Changes](#breaking-changes)
|
12 | 12 | - [Performance Improvements](#performance-improvements)
|
| 13 | + - [Deprecations](#deprecations) |
13 | 14 | - [Technical and Architectural Updates](#technical-and-architectural-updates)
|
14 | 15 | - [BOLT Spec Updates](#bolt-spec-updates)
|
15 | 16 | - [Testing](#testing)
|
@@ -242,6 +243,26 @@ The underlying functionality between those two options remain the same.
|
242 | 243 |
|
243 | 244 | * Log rotation can now use ZSTD
|
244 | 245 |
|
| 246 | +## Deprecations |
| 247 | + |
| 248 | +### ⚠️ **Warning:** The following RPCs will be removed in release version **0.21**: |
| 249 | + |
| 250 | +| Deprecated RPC Method | REST Equivalent | HTTP Method | Path | Replaced By | |
| 251 | +|----------------------|----------------|-------------|------------------------------|------------------| |
| 252 | +| [`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/) | |
| 253 | +| [`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) | |
| 254 | +| [`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/) | |
| 255 | +| [`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) | |
| 256 | +| [`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/) | |
| 257 | + |
| 258 | +🚨 **Users are strongly encouraged** to transition to the new **V2 methods** before release **0.21** to ensure compatibility: |
| 259 | + |
| 260 | +| New RPC Method | REST Equivalent | HTTP Method | Path | |
| 261 | +|---------------|----------------|-------------|------------------------| |
| 262 | +| [`routerrpc.SendToRouteV2`](https://lightning.engineering/api-docs/api/lnd/router/send-to-route-v2/) | ✅ | `POST` | `/v2/router/route/send` | |
| 263 | +| [`routerrpc.SendPaymentV2`](https://lightning.engineering/api-docs/api/lnd/router/send-payment-v2/index.html) | ✅ | `POST` | `/v2/router/send` | |
| 264 | +| [`routerrpc.TrackPaymentV2`](https://lightning.engineering/api-docs/api/lnd/router/track-payment-v2/) | ✅ | `GET` | `/v2/router/track/{payment_hash}` | |
| 265 | + |
245 | 266 | # Technical and Architectural Updates
|
246 | 267 | ## BOLT Spec Updates
|
247 | 268 |
|
|
0 commit comments