]> Cypherpunks.ru repositories - gostls13.git/commitdiff
doc/go1.22: add TODOs for missing APIs
authorMichael Pratt <mpratt@google.com>
Mon, 11 Dec 2023 20:49:09 +0000 (15:49 -0500)
committerGopher Robot <gobot@golang.org>
Mon, 11 Dec 2023 21:08:49 +0000 (21:08 +0000)
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 <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
doc/go1.22.html

index 0b222a2e49590366d381e79e5f84adbbebf59c56..b9286f7898e035a131fe5616ed1494b0d2c54ae7 100644 (file)
@@ -324,6 +324,14 @@ defer func() {
   </dd>
 </dl><!-- archive/tar -->
 
+<dl id="archive/zip"><dt><a href="/pkg/archive/zip/">archive/zip</a></dt>
+  <dd>
+    <p><!-- https://go.dev/issue/54898 -->
+      TODO: <a href="https://go.dev/issue/54898">https://go.dev/issue/54898</a>: archive/zip: add (*Writer).AddFS
+    </p>
+  </dd>
+</dl><!-- archive/zip -->
+
 <dl id="bufio"><dt><a href="/pkg/bufio/">bufio</a></dt>
   <dd>
     <p><!-- https://go.dev/issue/56381 -->
@@ -481,6 +489,10 @@ defer func() {
       see <code>Object</code>, <code>Info.Uses</code>,
       and <code>Info.Defs</code> for details.
     </p>
+
+    <p><!-- https://go.dev/issue/60061 -->
+      TODO: <a href="https://go.dev/issue/60061">https://go.dev/issue/60061</a>: go/ast: add func Unparen(Expr) Expr
+    </p>
   </dd>
 </dl><!-- go/ast -->
 
@@ -699,12 +711,15 @@ defer func() {
       These changes make <code>IsZero</code> consistent with comparing
       a value to zero using the language <code>==</code> operator.
     </p>
-  </dd>
-  <dd>
+
     <p><!-- https://go.dev/issue/59599, CL 511035 -->
       The <a href="/pkg/reflect/#PtrTo"><code>PtrTo</code></a> function is deprecated,
       in favor of <a href="/pkg/reflect/#PointerTo"><code>PointerTo</code></a>.
     </p>
+
+    <p><!-- https://go.dev/issue/60088 -->
+      TODO: <a href="https://go.dev/issue/60088">https://go.dev/issue/60088</a>: reflect: add TypeFor
+    </p>
   </dd>
 </dl><!-- reflect -->
 
@@ -819,7 +834,7 @@ defer func() {
       The package remains frozen to most new functionality, and new code remains encouraged to use <a href="/pkg/golang.org/x/sys/unix"><code>golang.org/x/sys/unix</code></a> or <a href="/pkg/golang.org/x/sys/windows"><code>golang.org/x/sys/windows</code></a> where possible.
     </p>
 
-    <p><!-- CL 520266 -->
+    <p><!-- https://go.dev/issue/51246, CL 520266 -->
       On Linux, the new <a href="/pkg/syscall#SysProcAttr"><code>SysProcAttr.PidFD</code></a> field allows obtaining a PID FD when starting a child process via <a href="/pkg/syscall#StartProcess"><code>StartProcess</code></a> or <a href="/pkg/os/exec"><code>os/exec</code></a>.
     </p>