diff --git a/doc/go1.21.html b/doc/go1.21.html index 15533a28090a7..10aafac6685a3 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -31,7 +31,7 @@

DRAFT RELEASE NOTES — Introduction to Go 1.21

We expect almost all Go programs to continue to compile and run as before.

-

+

Go 1.21 introduces a small change to the numbering of releases. In the past, we used Go 1.N to refer to both the overall Go language version and release family as well as the first release in that family. @@ -368,7 +368,11 @@

New testing/slogtest package

New slices package

-

+

+ + + + The new slices package provides many common operations on slices, using generic functions that work with slices of any element type. @@ -382,6 +386,14 @@

New maps package

maps of any key or element type.

+
cmp
+
+

+ TODO: https://go.dev/cl/496356: cmp: new package; modified api/next/59488.txt +

+
+
+

Minor changes to the library

@@ -485,6 +497,8 @@

Minor changes to the library

+ +
crypto/sha256

@@ -493,6 +507,53 @@

Minor changes to the library

+ + + +
crypto/tls
+
+

+ TODO: https://go.dev/issue/46308: add VersionName function to return a string version of the TLS Version +

+ +

+ TODO: https://go.dev/issue/60107: QUIC 0-RTT APIs +

+ +

+ TODO: https://go.dev/cl/493655: crypto/tls: support QUIC as a transport; modified api/next/44886.txt +

+ +

+ TODO: https://go.dev/cl/496818: crypto/tls: add SessionState and use it on the server side; modified api/next/60105.txt +

+ +

+ TODO: https://go.dev/cl/496820: crypto/tls: add ClientSessionState.ResumptionState and NewResumptionState; modified api/next/60105.txt +

+ +

+ TODO: https://go.dev/cl/496821: crypto/tls: add WrapSession and UnwrapSession; modified api/next/60105.txt +

+ +

+ TODO: https://go.dev/cl/496822: crypto/tls: add SessionState.Extra; modified api/next/60105.txt +

+ +

+ TODO: https://go.dev/cl/496995: crypto/tls: add QUIC 0-RTT APIs; modified api/next/44886.txt, api/next/60107.txt +

+ +

+ TODO: https://go.dev/cl/497376: crypto/tls: implement Extended Master Secret; modified api/except.txt +

+ +

+ TODO: https://go.dev/cl/497377: crypto/tls: add VersionName; modified api/next/46308.txt +

+
+
+
crypto/x509

@@ -521,6 +582,11 @@

Minor changes to the library

The package now defines the constant COMPRESS_ZSTD.

+ +

+ The package now defines the constant + R_PPC64_REL24_P9NOTOC. +

@@ -665,6 +731,18 @@

Minor changes to the library

+
html/template
+
+

+ TODO: https://go.dev/issue/59584: expose ErrJSTemplate +

+ +

+ TODO: https://go.dev/cl/496395: html/template: expose ErrJSTemplate; modified api/next/59584.txt +

+
+
+
io/fs

@@ -690,13 +768,13 @@

Minor changes to the library

- - - + + +
math/big
-

+

The new Int.Float64 method returns the nearest floating-point value to a multi-precision integer, along with an indication of any @@ -779,6 +857,10 @@

Minor changes to the library

always returning an error.

+

+ TODO: https://go.dev/cl/495079: os: if descriptor is non-blocking, retain that in Fd method +

+

On Windows calling Truncate on a @@ -908,7 +990,7 @@

Minor changes to the library

GODEBUG=cgocheck=1 is still available (and is still the default).

-

+

A new type Pinner has been added to the runtime package. Pinners may be used to "pin" Go memory such that it may be used more freely by non-Go code. For instance, @@ -919,9 +1001,25 @@

Minor changes to the library

See the docs for more details.

+ +

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

+
runtime/metrics
+
+

+ A few previously-internal GC metrics, such as live heap size, are + now available. + + GOGC and GOMEMLIMIT are also now + available as metrics. +

+
+
+
runtime/trace

@@ -936,18 +1034,6 @@

Minor changes to the library

-
runtime/metrics
-
-

- A few previously-internal GC metrics, such as live heap size, are - now available. - - GOGC and GOMEMLIMIT are also now - available as metrics. -

-
-
-
sync

@@ -1042,7 +1128,7 @@

Ports

Darwin

-

+

As announced in the Go 1.20 release notes, Go 1.21 requires macOS 10.15 Catalina or later; support for previous versions has been discontinued. @@ -1050,7 +1136,7 @@

Darwin

Windows

-

+

As announced in the Go 1.20 release notes, Go 1.21 requires at least Windows 10 or Windows Server 2016; support for previous versions has been discontinued. @@ -1100,3 +1186,11 @@

WebAssembly System Interface

+ + + + + + + +