From 8f8021d5ca4ed5649595dad33a33dd5d2bc71c19 Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Wed, 24 Aug 2022 13:04:42 -0400 Subject: [PATCH] doc/go1.20: populate initial TODOs via relnote Add content generated by 'relnote -html'. This covers all of known TODOs available by 2022-08-24 such that relnote produces no output when -exclude-from=doc/go1.20.html flag is used. For #54202. Change-Id: Icd9be5364bc73c3de56d5d3039e6f313908af38e Reviewed-on: https://go-review.googlesource.com/c/go/+/425354 Reviewed-by: Dmitri Shuralyov TryBot-Result: Gopher Robot Reviewed-by: Carlos Amedee Run-TryBot: Dmitri Shuralyov Auto-Submit: Dmitri Shuralyov --- doc/go1.20.html | 226 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 222 insertions(+), 4 deletions(-) diff --git a/doc/go1.20.html b/doc/go1.20.html index dad9c319affd85..71850129c7a5ba 100644 --- a/doc/go1.20.html +++ b/doc/go1.20.html @@ -39,8 +39,18 @@

Tools

Go command

-

- TODO: complete this section, or delete if not needed +

+ TODO: https://go.dev/cl/421440: cmd/go: add go generate -skip flag +

+ +

+ TODO: https://go.dev/issue/45454: provide build tags for architecture environment variables +

+ +

Vet

+ +

+ TODO: https://go.dev/issue/48801: check for time formats with 2006-02-01

Runtime

@@ -51,8 +61,8 @@

Runtime

Compiler

-

- TODO: complete this section, or delete if not needed +

+ TODO: https://go.dev/issue/49390: clarify whether "-l" and "-N" compiler flags are actually supported

Linker

@@ -61,8 +71,20 @@

Linker

TODO: complete this section, or delete if not needed

+

Bootstrap

+ +

+ TODO: https://go.dev/issue/44505: adopt Go 1.17 as bootstrap toolchain for Go 1.20 +

+

Core library

+

New crypto/ecdh package

+ +

+ TODO: complete this section +

+

Minor changes to the library

@@ -75,3 +97,199 @@

Minor changes to the library

TODO: complete this section

+ +
bytes
+
+

+ TODO: https://go.dev/cl/407176: strings, bytes: add CutPrefix and CutSuffix +

+ +

+ TODO: https://go.dev/cl/359675: bytes: add Clone function +

+
+
+ +
crypto/elliptic
+
+

+ TODO: https://go.dev/issue/34648: automatically upgrade CurveParams for known curves and deprecate custom ones +

+
+
+ +
crypto/subtle
+
+

+ TODO: https://go.dev/issue/53021: add XORBytes +

+ +

+ TODO: https://go.dev/cl/421435: crypto/subtle: add XORBytes; modified api/next/53021.txt +

+
+
+ +
debug/elf
+
+

+ TODO: https://go.dev/cl/420982: debug/elf: add new-style LoongArch reloc types; modified api/next/54222.txt +

+
+
+ +
debug/pe
+
+

+ TODO: https://go.dev/cl/421357: debug/pe: add IMAGE_FILE_MACHINE_RISCV{32,64,128}; modified api/next/54251.txt +

+
+
+ +
encoding/binary
+
+

+ TODO: https://go.dev/cl/420274: encoding/binary: ReadUvarint return io.ErrUnexpectedEOF when read at least 1 byte +

+
+
+ +
encoding/xml
+
+

+ TODO: https://go.dev/issue/53346: Add (*Encoder).Close() to check for unclosed elements +

+ +

+ TODO: https://go.dev/cl/424777: encoding/xml: add (*Encoder).Close +

+
+
+ +
fmt
+
+

+ TODO: https://go.dev/issue/51668: add FormatString(State) string +

+ +

+ TODO: https://go.dev/cl/400875: fmt: add a function to recover the original format string given a State; modified api/next/51668.txt +

+
+
+ +
go/build
+
+

+ TODO: https://go.dev/cl/421434: go/build: add GO$GOARCH-based ToolTags +

+
+
+ +
go/token
+
+

+ TODO: https://go.dev/cl/410114: go/token: add (*FileSet).RemoveFile(*File) method +

+
+
+ +
io
+
+

+ TODO: https://go.dev/issue/45899: add OffsetWriter, NewOffsetWriter +

+ +

+ TODO: https://go.dev/cl/406776: io: add OffsetWriter, NewOffsetWriter; modified api/next/45899.txt +

+
+
+ +
net/http
+
+

+ TODO: https://go.dev/issue/41773: add Server.OptionsHandler to allow custom handling of OPTIONS * +

+ +

+ TODO: https://go.dev/cl/356410: net/http: add Server.DisableOptionsHandler for custom handling of OPTIONS *; modified api/next/41773.txt +

+
+
+ +
net/http/httputil
+
+

+ TODO: https://go.dev/issue/50465: add X-Forwarded-Proto and X-Forwarded-Host by default +

+ +

+ TODO: https://go.dev/issue/53002: replace Director with Rewrite +

+ +

+ TODO: https://go.dev/cl/407214: net/http/httputil: add ReverseProxy.Rewrite; modified api/next/53002.txt +

+ +

+ TODO: https://go.dev/cl/407414: net/http/httputil: add X-Forwarded-{Host,Proto} headers in ReverseProxy +

+
+
+ +
strconv
+
+

+ TODO: https://go.dev/cl/345488: strconv: optimize Parse for []byte arguments +

+
+
+ +
strings
+
+

+ TODO: https://go.dev/issue/42537: add CutPrefix and CutSuffix +

+ +

+ TODO: https://go.dev/issue/45038: bytes, strings: add Clone +

+
+
+ +
syscall
+
+

+ TODO: https://go.dev/cl/407574: syscall: add new CLONE_ flags for Linux +

+
+
+ +
time
+
+

+ TODO: https://go.dev/issue/52746: add DateTime, DateOnly, TimeOnly format constants +

+ +

+ TODO: https://go.dev/cl/412495: time: add DateTime, DateOnly, and TimeOnly +

+
+
+ +
unicode/utf16
+
+

+ TODO: https://go.dev/issue/51896: add AppendRune +

+ +

+ TODO: https://go.dev/cl/409054: unicode/utf16: add AppendRune; modified api/next/51896.txt +

+
+
+ + + +