|
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)
|
@@ -228,6 +229,26 @@ The underlying functionality between those two options remain the same.
|
228 | 229 |
|
229 | 230 | * Log rotation can now use ZSTD
|
230 | 231 |
|
| 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 | + |
231 | 252 | # Technical and Architectural Updates
|
232 | 253 | ## BOLT Spec Updates
|
233 | 254 |
|
|
0 commit comments