From 50cc070e0256e2e8ffdbdc772be80a5ef1bdcd87 Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Mon, 11 Dec 2023 15:49:09 -0500 Subject: [PATCH] doc/go1.22: add TODOs for missing APIs Add TODOs for APIs mentioned in api/go1.22.txt but missing from the release notes. The issue list was generated with: $ awk '{print substr($NF, 2, length($NF)-1)}' < ../api/go1.22.txt | uniq | xargs -I{} sh -c 'echo -n "{}: " && grep -c {} ../doc/go1.22.html' For #61422. Change-Id: I85d41c28530e6b5e3e388a41206b251278c91dd5 Reviewed-on: https://go-review.googlesource.com/c/go/+/548937 Auto-Submit: Michael Pratt LUCI-TryBot-Result: Go LUCI Reviewed-by: Michael Knyszek --- doc/go1.22.html | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/doc/go1.22.html b/doc/go1.22.html index 0b222a2e495903..b9286f7898e035 100644 --- a/doc/go1.22.html +++ b/doc/go1.22.html @@ -324,6 +324,14 @@

Minor changes to the library

+
archive/zip
+
+

+ TODO: https://go.dev/issue/54898: archive/zip: add (*Writer).AddFS +

+
+
+
bufio

@@ -481,6 +489,10 @@

Minor changes to the library

see Object, Info.Uses, and Info.Defs for details.

+ +

+ TODO: https://go.dev/issue/60061: go/ast: add func Unparen(Expr) Expr +

@@ -699,12 +711,15 @@

Minor changes to the library

These changes make IsZero consistent with comparing a value to zero using the language == operator.

- -
+

The PtrTo function is deprecated, in favor of PointerTo.

+ +

+ TODO: https://go.dev/issue/60088: reflect: add TypeFor +

@@ -819,7 +834,7 @@

Minor changes to the library

The package remains frozen to most new functionality, and new code remains encouraged to use golang.org/x/sys/unix or golang.org/x/sys/windows where possible.

-

+

On Linux, the new SysProcAttr.PidFD field allows obtaining a PID FD when starting a child process via StartProcess or os/exec.