diff --git a/doc/go1.21.html b/doc/go1.21.html index 7cbd31d025..3e63016e02 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -25,12 +25,43 @@ Do not send CLs removing the interior tags from such phrases.

Changes to the language

+

+ TODO: https://go.dev/issue/56986: extended backwards compatibility for Go +

+ + +

+ +

+ +

TODO: complete this section

Ports

+ +

+ +

+ + +

+ +

+ + +

+ +

+ + +

+ +

+ +

WebAssembly System Interface

@@ -51,6 +82,11 @@ Do not send CLs removing the interior tags from such phrases.

Tools

+ +

+ +

+

Go command

@@ -62,6 +98,15 @@ Do not send CLs removing the interior tags from such phrases. program.

+

+ TODO: https://go.dev/cl/453603: cmd/go, go/build: parse directives in file headers; modified api/next/56986.txt +

+ + +

+ +

+

Runtime

@@ -78,12 +123,31 @@ Do not send CLs removing the interior tags from such phrases.

Compiler

+ +

+ +

+ + +

+ +

+

TODO: complete this section, or delete if not needed

Linker

+ +

+ +

+ +

+ +

+

TODO: complete this section, or delete if not needed

@@ -99,10 +163,26 @@ Do not send CLs removing the interior tags from such phrases. There are also various performance improvements, not enumerated here.

+

+ TODO: https://go.dev/cl/456837: all: upgrade Unicode from 13.0.0 to 15.0.0; modified api/except.txt, api/next/55079.txt +

+

TODO: complete this section

+
bytes
+
+

+ TODO: https://go.dev/issue/53685: add Buffer.Available and Buffer.AvailableBuffer +

+ +

+ TODO: https://go.dev/cl/474635: bytes: add Buffer.Available and Buffer.AvailableBuffer; modified api/next/53685.txt +

+
+
+
context

@@ -124,6 +204,374 @@ Do not send CLs removing the interior tags from such phrases.

+
crypto/elliptic
+
+

+ TODO: https://go.dev/cl/459977: crypto/elliptic: deprecate unsafe APIs; modified api/next/34648.txt, api/next/52221.txt +

+
+
+ +
crypto/rsa
+
+

+ TODO: https://go.dev/issue/56921: deprecate GenerateMultiPrimeKey and PrecomputedValues.CRTValues +

+ +

+ TODO: https://go.dev/cl/459976: crypto/rsa: deprecate multiprime RSA support; modified api/next/56921.txt +

+
+
+ +
crypto/sha1
+
+

+ TODO: https://go.dev/cl/483815: crypto/sha1: add WriteString and WriteByte method +

+
+
+ +
crypto/sha256
+
+

+ TODO: https://go.dev/issue/50543: add native SHA256 instruction implementation for AMD64 +

+ +

+ TODO: https://go.dev/cl/408795: crypto/sha256: add sha-ni implementation; crypto/sha256 uses Intel SHA extensions on new enough x86 processors, making it 3-4X faster. +

+ +

+ TODO: https://go.dev/cl/481478: crypto/sha256: add WriteString and WriteByte method +

+
+
+ +
crypto/sha512
+
+

+ TODO: https://go.dev/cl/483816: crypto/sha512: add WriteString and WriteByte method +

+
+
+ +
crypto/x509
+
+

+ TODO: https://go.dev/issue/53573: surface ReasonCode inside x509.RevocationList entries +

+ +

+ TODO: https://go.dev/cl/468875: crypto/x509: surface ReasonCode in RevocationList API; modified api/next/53573.txt +

+
+
+ +
debug/elf
+
+

+ TODO: https://go.dev/issue/56887: add DT_FLAGS_1 (dynamic flags) constants +

+ +

+ TODO: https://go.dev/issue/56892: add (*File).DynValue +

+ +

+ TODO: https://go.dev/cl/452496: debug/elf: add DT_FLAGS_1 constants; modified api/next/56887.txt +

+ +

+ TODO: https://go.dev/cl/452617: debug/elf: retrieve values for dynamic section tags; modified api/next/56892.txt +

+ +

+ TODO: https://go.dev/cl/473256: debug/elf: support zstd compression; modified api/next/55107.txt +

+
+
+ +
debug/pe
+
+

+ TODO: https://go.dev/cl/488475: debug/pe: return error on reading from section with uninitialized data +

+
+
+ +
embed
+
+

+ TODO: https://go.dev/issue/57803: openFile should implement ReaderAt +

+ +

+ TODO: https://go.dev/cl/483235: embed: implement openFile.ReadAt +

+
+
+ +
errors
+
+

+ TODO: https://go.dev/issue/41198: add ErrUnsupported +

+ +

+ TODO: https://go.dev/cl/473935: errors: add ErrUnsupported; modified api/next/41198.txt +

+
+
+ +
flag
+
+

+ TODO: https://go.dev/issue/53747: add BoolFunc(name, usage string, fn func(string)error) +

+ +

+ TODO: https://go.dev/cl/476015: flag: add BoolFunc; FlagSet.BoolFunc; modified api/next/53747.txt +

+ +

+ TODO: https://go.dev/cl/480215: flag: panic if a flag is defined after being set +

+
+
+ +
fs
+
+

+ TODO: https://go.dev/issue/54451: standard implementations of FileInfo and DirEntry should implement fmt.Stringer +

+
+
+ +
go/ast
+
+

+ TODO: https://go.dev/issue/28089: add func IsGenerated(*File) bool +

+ +

+ TODO: https://go.dev/cl/476276: go/ast: add File.GoVersion; modified api/next/59033.txt +

+ +

+ TODO: https://go.dev/cl/487935: go/ast: add IsGenerated(*File) predicate; modified api/next/28089.txt +

+
+
+ +
go/build
+
+

+ TODO: https://go.dev/cl/453603: cmd/go, go/build: parse directives in file headers; modified api/next/56986.txt +

+
+
+ +
go/build/constraint
+
+

+ TODO: https://go.dev/cl/476275: go/build/constraint: add GoVersion; modified api/next/59033.txt +

+
+
+ +
go/token
+
+

+ TODO: https://go.dev/cl/464515: go/token: add (*File).Lines method; modified api/next/57708.txt +

+
+
+ +
hash/maphash
+
+

+ TODO: https://go.dev/issue/47342: Provide a `purego` implementation +

+ +

+ TODO: https://go.dev/cl/468795: hash/maphash: add purego implementation +

+
+
+ +
io/fs
+
+

+ TODO: https://go.dev/cl/489555: io/fs: add FormatFileInfo and FormatDirEntry functions; modified api/next/54451.txt +

+
+
+ +
log/slog
+
+

+ TODO: https://go.dev/issue/59060: arg to Record.Attrs should return bool +

+ +

+ TODO: https://go.dev/issue/59141: handle panics in LogValuer.LogValue +

+ +

+ TODO: https://go.dev/issue/59204: change slog.Group signature to ...any +

+ +

+ TODO: https://go.dev/issue/59280: ReplaceAttr gets Source struct instead of file:line +

+ +

+ TODO: https://go.dev/issue/59282: drop only completely empty Attrs +

+ +

+ TODO: https://go.dev/issue/59339: change constructors to NewXXXHandler(io.Writer, *HandlerOptions) +

+ +

+ TODO: https://go.dev/issue/59345: JSONHandler should format everything like json.Marshal +

+ +

+ TODO: https://go.dev/cl/477295: log/slog: initial commit; modified api/next/56345.txt +

+ +

+ TODO: https://go.dev/cl/484096: log/slog: function argument to Record.Attrs returns bool; modified api/next/59060.txt +

+ +

+ TODO: https://go.dev/cl/486376: log/slog: add Source type for source location; modified api/next/59280.txt +

+ +

+ TODO: https://go.dev/cl/486415: log/slog: built-in handler constructors take options as a second arg; modified api/next/56345.txt, api/next/59339.txt +

+ +

+ TODO: https://go.dev/cl/487855: log/slog: Group takes ...any; modified api/next/56345.txt, api/next/59204.txt +

+
+
+ +
maps
+
+

+ TODO: https://go.dev/issue/57436: new standard library package based on x/exp/maps +

+ +

+ TODO: https://go.dev/cl/464343: maps: new package; modified api/next/57436.txt +

+
+
+ +
math
+
+

+ TODO: https://go.dev/issue/56491: add Compare and Compare32 +

+ +

+ TODO: https://go.dev/cl/459435: math: add Compare and Compare32; modified api/next/56491.txt +

+ +

+ TODO: https://go.dev/cl/467515: math: add Compare and Compare32; modified api/next/56491.txt +

+
+
+ +
math/big
+
+

+ TODO: https://go.dev/issue/56984: add Int.Float64 conversion (was initially: {ToInt64,ToUint64,Float64}) +

+ +

+ TODO: https://go.dev/cl/453115: math/big: add Int.Float64 conversion; modified api/next/56984.txt +

+
+
+ +
net
+
+

+ TODO: https://go.dev/issue/56539: add support for MPTCP +

+ +

+ TODO: https://go.dev/issue/59166: add func (*TCPConn) MultipathTCP() (bool, error) +

+ +

+ TODO: https://go.dev/cl/471136: net: mptcp: implement dialMPTCP; modified api/next/56539.txt +

+ +

+ TODO: https://go.dev/cl/471137: net: mptcp: implement listenMPTCP; modified api/next/56539.txt +

+ +

+ TODO: https://go.dev/cl/471140: net: mptcp: add TCPConn's MultipathTCP checker; modified api/next/59166.txt +

+
+
+ +
net/http
+
+

+ TODO: https://go.dev/issue/44855: add ErrSchemeMismatch +

+ +

+ TODO: https://go.dev/cl/382117: net/http: expose "http: server gave HTTP response to HTTPS client" error; modified api/next/44855.txt +

+ +

+ TODO: https://go.dev/cl/472636: net/http: support full-duplex HTTP/1 responses; modified api/next/57786.txt +

+ +

+ TODO: https://go.dev/cl/494122: net/http: let ErrNotSupported match errors.ErrUnsupported; modified api/next/41198.txt +

+
+
+ +
os
+
+

+ TODO: https://go.dev/issue/32558: allow Chtimes with time.Time{} to avoid setting time +

+ +

+ TODO: https://go.dev/cl/219638: os: make Chtimes accept empty time values to skip file time modification +

+ +

+ TODO: https://go.dev/cl/477215: os: avoid creating a new file in Truncate on Windows; os.Truncate on Windows no longer now fails if the file does not exist, consistent with other platforms +

+ +

+ TODO: https://go.dev/cl/493036: os, syscall: support ill-formed UTF-16 strings on Windows +

+
+
+ +
os/user
+
+

+ TODO: https://go.dev/cl/459455: os/user: lookup Linux users and groups via systemd userdb +

+
+
+
reflect

@@ -133,8 +581,92 @@ Do not send CLs removing the interior tags from such phrases. operations on a Value also allow the underlying value to be stack allocated.

+ +

+ TODO: https://go.dev/issue/55002: add Value.Clear +

+ +

+ TODO: https://go.dev/issue/56906: deprecate SliceHeader and StringHeader +

+ +

+ TODO: https://go.dev/cl/452762: reflect: deprecate SliceHeader and StringHeader; modified api/next/56906.txt +

-
+ + +
regexp
+
+

+ TODO: https://go.dev/issue/46159: support encoding.TextMarshaler +

+ +

+ TODO: https://go.dev/cl/479401: regexp: add Regexp.TextMarshaler/TextUnmarshaler; modified api/next/46159.txt +

+
+
+ +
runtime
+
+

+ TODO: https://go.dev/issue/38651: add 'created by goroutine number' to stack traces +

+ +

+ TODO: https://go.dev/issue/57441: use WER for GOTRACEBACK=wer on Windows +

+ +

+ TODO: https://go.dev/cl/447778: runtime: reimplement GODEBUG=cgocheck=2 as a GOEXPERIMENT +

+ +

+ TODO: https://go.dev/cl/472195: runtime: remove NOFRAME from asmcgocall, systemstack and mcall +

+ +

+ TODO: https://go.dev/cl/474915: runtime: support GOTRACEBACK=wer on Windows +

+
+
+ +
slices
+
+

+ TODO: https://go.dev/issue/54768: add DeleteFunc +

+ +

+ TODO: https://go.dev/issue/57433: new standard library package based on x/exp/slices +

+ +

+ TODO: https://go.dev/cl/467417: slices: new package; modified api/next/57433.txt +

+ +

+ TODO: https://go.dev/cl/483175: slices: add DeleteFunc; modified api/next/54768.txt +

+
+
+ +
spec
+
+

+ TODO: https://go.dev/issue/56351: add clear(x) builtin, to clear map, zero content of slice +

+ +

+ TODO: https://go.dev/issue/57411: define initialization order more precisely +

+ +

+ TODO: https://go.dev/issue/59338: infer type arguments from assignments of generic functions (reverse type inference) +

+
+
sync
@@ -147,3 +679,71 @@ Do not send CLs removing the interior tags from such phrases.

+ +
syscall
+
+

+ TODO: https://go.dev/issue/46259: add Jail int32 to SysProcAttr on FreeBSD +

+ +

+ TODO: https://go.dev/cl/458335: syscall: add jail support to ForkExec on FreeBSD; modified api/next/46259.txt +

+ +

+ TODO: https://go.dev/cl/480135: syscall: implement Fchdir on Windows +

+
+
+ +
testing
+
+

+ TODO: https://go.dev/issue/37708: optionally include full (or relative) path name +

+ +

+ The new Testing function reports whether the program is a test created by go test. +

+
+
+ +
testing/slogtest
+
+

+ TODO: https://go.dev/cl/487895: testing/slogtest: tests for slog handlers; modified api/next/56345.txt +

+
+
+ +
x/exp/slices
+
+

+ TODO: https://go.dev/issue/57348: Allow different types for haystack/needle in BinarySearchFunc +

+
+
+ +
x/sys/windows
+
+

+ TODO: https://go.dev/issue/54232: Add WSALookupService +

+
+
+ +
x/tools/go/analysis
+
+

+ TODO: https://go.dev/issue/57906: add Analyzer.URL and Diagnostic.URL fields +

+
+
+ +
x/tools/go/types/objectpath
+
+

+ TODO: https://go.dev/issue/58668: add Encoder type, to amortize Scope.Names +

+
+