Skip to content

Commit d3bc184

Browse files
committed
doc: update release notes with getaddressinfo label deprecation
1 parent 72af93f commit d3bc184

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

doc/release-notes-17578.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
Deprecated or removed RPCs
22
--------------------------
33

4-
- The `getaddressinfo` RPC `labels` field now returns an array of label name
5-
strings. Previously, it returned an array of JSON objects containing `name` and
6-
`purpose` key/value pairs, which is now deprecated and will be removed in
7-
0.21. To re-enable the previous behavior, launch with
8-
`-deprecatedrpc=labelspurpose`.
4+
- RPC `getaddressinfo` changes:
5+
6+
- the `label` field has been deprecated in favor of the `labels` field and
7+
will be removed in 0.21. It can be re-enabled in the interim by launching
8+
with `-deprecatedrpc=label`.
9+
10+
- the `labels` behavior of returning an array of JSON objects containing name
11+
and purpose key/value pairs has been deprecated in favor of an array of
12+
label names and will be removed in 0.21. The previous behavior can be
13+
re-enabled in the interim by launching with `-deprecatedrpc=labelspurpose`.

0 commit comments

Comments
 (0)