From d439d1ca6564ffcabc2d2f4a455060076f13d80b Mon Sep 17 00:00:00 2001 From: Elliot Lee Date: Tue, 24 Oct 2023 15:00:24 -0700 Subject: [PATCH 1/2] docs(API-CHANGELOG): add extra bullet about DeliverMax --- API-CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/API-CHANGELOG.md b/API-CHANGELOG.md index 968a03c0784..9ebe318f5e9 100644 --- a/API-CHANGELOG.md +++ b/API-CHANGELOG.md @@ -26,13 +26,14 @@ In `api_version: 2`, the `signer_lists` field [will be moved](#modifications-to- The `network_id` field was added in the `server_info` response in version 1.5.0 (2019), but it was not returned in [reporting mode](https://xrpl.org/rippled-server-modes.html#reporting-mode). -## Unreleased +## Unreleased (expected in XRP Ledger version 2.0) ### Additions Additions are intended to be non-breaking (because they are purely additive). - `server_definitions`: A new RPC that generates a `definitions.json`-like output that can be used in XRPL libraries. +- In `Payment` transactions, `DeliverMax` has been added. This is a replacement for the `Amount` field, which should seldom be used - instead, use `delivered_amount`. To ease the transition, `DeliverMax` is present regardless of API version, since adding a field is non-breaking. If you request `api_version: 2`, then for Payments `Amount` is no longer present on JSON RPC output. ## XRP Ledger version 1.12.0 From c9aa4d825c85f0015505ce3e94ff9052910f5300 Mon Sep 17 00:00:00 2001 From: Elliot Lee Date: Wed, 1 Nov 2023 22:00:19 -0700 Subject: [PATCH 2/2] Update API-CHANGELOG.md --- API-CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API-CHANGELOG.md b/API-CHANGELOG.md index 9ebe318f5e9..c403c148d35 100644 --- a/API-CHANGELOG.md +++ b/API-CHANGELOG.md @@ -33,7 +33,7 @@ The `network_id` field was added in the `server_info` response in version 1.5.0 Additions are intended to be non-breaking (because they are purely additive). - `server_definitions`: A new RPC that generates a `definitions.json`-like output that can be used in XRPL libraries. -- In `Payment` transactions, `DeliverMax` has been added. This is a replacement for the `Amount` field, which should seldom be used - instead, use `delivered_amount`. To ease the transition, `DeliverMax` is present regardless of API version, since adding a field is non-breaking. If you request `api_version: 2`, then for Payments `Amount` is no longer present on JSON RPC output. +- In `Payment` transactions, `DeliverMax` has been added. This is a replacement for the `Amount` field, which should be no longer used - instead, use `delivered_amount` in transaction metadata. To ease the transition, `DeliverMax` is present regardless of API version, since adding a field is non-breaking. The field `Amount` is no longer present in `Payment`s in API version 2. ## XRP Ledger version 1.12.0