From a79623b019b1ea3f4afb7e274c76c1e9936f0aa6 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sat, 4 Jun 2022 14:33:41 -0400 Subject: [PATCH] doc/go1.19: add more TODOs from updated relnote CL 410244 changes relnote to look for api file changes as well as references to proposal issues, finding various things that were missing from the release notes. This CL adds the TODOs that the updated relnote found. For #51400. Change-Id: I512a9b8f1349a6c68c8a6979f55a07964d630175 Reviewed-on: https://go-review.googlesource.com/c/go/+/410361 Run-TryBot: Russ Cox Reviewed-by: Carlos Amedee Reviewed-by: Heschi Kreinick --- doc/go1.19.html | 224 +++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 201 insertions(+), 23 deletions(-) diff --git a/doc/go1.19.html b/doc/go1.19.html index a932a717ba..db2bb91ae8 100644 --- a/doc/go1.19.html +++ b/doc/go1.19.html @@ -18,18 +18,34 @@ Do not send CLs removing the interior tags from such phrases. release notes. Go 1.19 is expected to be released in August 2022.

+

Changes to the language

TODO: complete this section

+ +

+ TODO: https://go.dev/issue/52038: adjust scope of type parameters declared by method receivers +

+

Ports

TODO: complete this section, or delete if not needed

+

Tools

TODO: complete this section, or delete if not needed

+

: + TODO: https://go.dev/issue/47528 warn when errors.As target has type *error +

+ +

Doc Comments

+

+ TODO: complete this section. +

+

Go command

TODO: complete this section. @@ -66,7 +82,7 @@ Do not send CLs removing the interior tags from such phrases.

New unix build constraint

-

+

The build constraint unix is now recognized in //go:build lines. The constraint is satisfied if the target operating system, also known as GOOS, is @@ -146,6 +162,10 @@ Do not send CLs removing the interior tags from such phrases. functionality.

+

+ TODO: https://go.dev/issue/44853: enable address sanitizer in Go +

+

Compiler

@@ -156,7 +176,7 @@ Do not send CLs removing the interior tags from such phrases. on the order of 20% faster. (GOARCH=amd64 and GOARCH=arm64 only)

-

+

TODO: https://go.dev/cl/402374: enable regabi on riscv64 by default

@@ -165,7 +185,7 @@ Do not send CLs removing the interior tags from such phrases. the go command and by Bazel. Any other build systems that invoke the Go compiler directly will need to make sure they pass this flag as well. -

+

TODO: complete this section, or delete if not needed

@@ -176,6 +196,14 @@ Do not send CLs removing the interior tags from such phrases.

Core library

+

+ TODO: https://go.dev/issue/51940: all: move dev.boringcrypto into main branch behind GOEXPERIMENT +

+ +

+ TODO: complete this section +

+

New atomic types

The sync/atomic package defines new atomic types @@ -197,13 +225,26 @@ Do not send CLs removing the interior tags from such phrases. atomics on these systems.

-

- TODO: https://go.dev/issue/51940: all: move dev.boringcrypto into main branch behind GOEXPERIMENT +

Doc comment parsing

+ +

+ TODO: https://go.dev/cl/384265: go/doc: use go/doc/comment; modified api/next/51082.txt + TODO: https://go.dev/cl/397276: go/doc/comment: add data structures; modified api/next/51082.txt + TODO: https://go.dev/cl/397278: go/doc/comment: add paragraph parsing and test framework; modified api/next/51082.txt + TODO: https://go.dev/cl/397279: go/doc/comment: add Printer and basic comment printing; modified api/next/51082.txt + TODO: https://go.dev/cl/397281: go/doc/comment: parse and print doc links; modified api/next/51082.txt + TODO: https://go.dev/cl/397284: go/doc/comment: parse and print headings; modified api/next/51082.txt

-

- TODO: complete this section +

PATH lookups

+ +

+ TODO: https://go.dev/issue/43724: return error when PATH lookup would use current directory

+

+ TODO: https://go.dev/issue/43947: on Windows use NeedCurrentDirectoryForExePathW for LookPath behavior +

+

Minor changes to the library

@@ -241,7 +282,7 @@ Do not send CLs removing the interior tags from such phrases.

crypto/tls
-

+

The tls10default GODEBUG option has been removed. It is still possible to enable TLS 1.0 client-side by setting Config.MinVersion. @@ -254,28 +295,78 @@ Do not send CLs removing the interior tags from such phrases.

TODO: https://go.dev/cl/285872: disable signing with MD5WithRSA

+ +

+ TODO: https://go.dev/issue/46057: add CertPool.Equal +

+ +

+ TODO: https://go.dev/issue/50674: add ParseRevocationList, deprecate ParseCRL & ParseDERCRL +

+ +

+ TODO: https://go.dev/cl/390834: crypto/x509: add new CRL parser, deprecate old one; modified api/next/50674.txt +

+ +

+ TODO: https://go.dev/cl/400175: crypto/x509: add CertPool.Clone; modified api/next/35044.txt + TODO: https://go.dev/issue/35044: add CertPool.Clone +

+
debug
+
+

+ TODO: https://go.dev/cl/396735: debug: define ELF relocation for loong64; modified api/next/46229.txt +

+
+
+ +
debug/pe
+
+

+ TODO: https://go.dev/issue/51868: add APIs to support reading COMDAT info for sections +

+ +

+ TODO: https://go.dev/cl/394534: debug/pe: add APIs for reading section def aux info; modified api/next/51868.txt +

+
+
+
encoding/binary
-

+

TODO: https://go.dev/cl/386017: add AppendByteOrder

+

+ TODO: https://go.dev/issue/51644: add AppendUvarint and AppendVarint +

+
encoding/csv
-

+

TODO: https://go.dev/cl/405675: add Reader.InputOffset method

+
encoding/xml
+
+

+ TODO: https://go.dev/issue/45628: add Decoder.InputPos + TODO: https://go.dev/cl/311270: encoding/xml: expose decoder line and column; modified api/next/45628.txt +

+
+
+
flag
-

+

TODO: https://go.dev/cl/313329: add TextVar function

@@ -283,7 +374,7 @@ Do not send CLs removing the interior tags from such phrases.
fmt
-

+

TODO: https://go.dev/cl/406177: add Append, Appendln, Appendf

@@ -299,7 +390,7 @@ Do not send CLs removing the interior tags from such phrases.
go/types
-

+

TODO: https://go.dev/cl/395535: add Var.Origin and Func.Origin

@@ -308,6 +399,25 @@ Do not send CLs removing the interior tags from such phrases.

+ +
hash/maphash
+
+

+ TODO: https://go.dev/cl/392494: hash/maphash: add Bytes and String; modified api/next/42710.txt + TODO: https://go.dev/issue/42710: add Bytes and String +

+
+
+ +
html/template
+
+

+ TODO: https://go.dev/issue/46121: make FuncMap an alias for text/template.FuncMap + TODO: https://go.dev/cl/389156: html/template: make FuncMap a type alias of text/template.FuncMap; modified api/except.txt, api/next/46121.txt +

+
+
+
image/draw

@@ -322,9 +432,13 @@ Do not send CLs removing the interior tags from such phrases.

io
-

+

TODO: https://go.dev/cl/400236: NopCloser forward WriterTo implementations if the reader supports it

+ +

+ TODO: https://go.dev/issue/50842: implement WriterTo on result of MultiReader +

@@ -358,7 +472,7 @@ Do not send CLs removing the interior tags from such phrases. issue tracker.

-

+

When a net package function or method returns an "I/O timeout" error, the error will now satisfy errors.Is(err, context.DeadlineExceeded). When a net package function @@ -369,9 +483,7 @@ Do not send CLs removing the interior tags from such phrases. package function or method to return an error, while preserving backward compatibility for error messages.

-
-
-

+

Resolver.PreferGo is now implemented on Windows and Plan 9. It previously only worked on Unix platforms. Combined with @@ -395,14 +507,22 @@ Do not send CLs removing the interior tags from such phrases.

TODO: https://go.dev/cl/269997: allow sending 1xx responses

+

+ TODO: https://go.dev/cl/361397: net/http: add MaxBytesError; modified api/next/30715.txt + TODO: https://go.dev/issue/30715: add MaxBytesError +

net/url
-

+

TODO: https://go.dev/cl/374654: add JoinPath, URL.JoinPath

+

+ TODO: https://go.dev/issue/46059: add OmitHost bool to URL +

+
@@ -416,8 +536,8 @@ Do not send CLs removing the interior tags from such phrases.
os/exec
-
-

+

+

An exec.Cmd with a non-empty Dir and a nil Env now implicitly sets the PWD environment variable for the subprocess to match Dir. @@ -432,7 +552,7 @@ Do not send CLs removing the interior tags from such phrases.

reflect
-

+

The method Value.Bytes now accepts addressable arrays in addition to slices.

@@ -441,6 +561,25 @@ Do not send CLs removing the interior tags from such phrases.

+
regexp
+
+

+ TODO: https://go.dev/issue/51684: add ErrNestingDepth error + TODO: https://go.dev/cl/401076: regexp: change ErrInvalidDepth message to match proposal; modified api/next/51684.txt, api/next/regexpdepth.txt +

+
+
+ +
regexp/syntax
+
+

+ TODO: https://go.dev/cl/384617: regexp/syntax: add and use ErrInvalidDepth; modified api/next/regexpdepth.txt + TODO: https://go.dev/cl/401854: regexp/syntax: rename ErrInvalidDepth to ErrNestingDepth; modified api/next/51684.txt +

+
+
+ +
runtime

@@ -452,6 +591,14 @@ Do not send CLs removing the interior tags from such phrases.

+
runtime/debug
+
+

+ TODO: https://go.dev/cl/397018: runtime/debug: export SetMemoryLimit; modified api/next/48409.txt +

+
+
+
runtime/metrics

@@ -531,6 +678,11 @@ Do not send CLs removing the interior tags from such phrases. pattern-defeating quicksort, which is faster for several common scenarios.

+

+ TODO: https://go.dev/issue/50340: add Find + TODO: https://go.dev/cl/396514: sort: add Find function; modified api/next/50340.txt +

+
@@ -564,8 +716,34 @@ Do not send CLs removing the interior tags from such phrases.
time
-

+

TODO: https://go.dev/cl/393515: add Duration.Abs + TODO: https://go.dev/issue/51414: add Duration.Abs +

+

+ TODO: https://go.dev/issue/50062: add Time.ZoneBounds + TODO: https://go.dev/cl/405374: time: add Time.ZoneBounds; modified api/next/50062.txt

+ + + + + + + + + + + + + + + + + + + + + -- 2.48.1