diff options
author | Jon Atack <jon@atack.com> | 2019-12-13 15:15:24 +0100 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2020-01-11 13:35:10 +0100 |
commit | d3bc18408146e91b3836f72360ff6fa2420b6887 (patch) | |
tree | 0ba281775b315f0105650aa10360c3fd6a106822 /doc | |
parent | 72af93f36479dc12d795f1d05fa3d8fbd9b293bd (diff) |
doc: update release notes with getaddressinfo label deprecation
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release-notes-17578.md | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/doc/release-notes-17578.md b/doc/release-notes-17578.md index 90156d6081..664d17fd78 100644 --- a/doc/release-notes-17578.md +++ b/doc/release-notes-17578.md @@ -1,8 +1,13 @@ Deprecated or removed RPCs -------------------------- -- The `getaddressinfo` RPC `labels` field now returns an array of label name - strings. Previously, it returned an array of JSON objects containing `name` and - `purpose` key/value pairs, which is now deprecated and will be removed in - 0.21. To re-enable the previous behavior, launch with - `-deprecatedrpc=labelspurpose`. +- RPC `getaddressinfo` changes: + + - the `label` field has been deprecated in favor of the `labels` field and + will be removed in 0.21. It can be re-enabled in the interim by launching + with `-deprecatedrpc=label`. + + - the `labels` behavior of returning an array of JSON objects containing name + and purpose key/value pairs has been deprecated in favor of an array of + label names and will be removed in 0.21. The previous behavior can be + re-enabled in the interim by launching with `-deprecatedrpc=labelspurpose`. |