From: Alan Donovan Date: Thu, 18 May 2023 18:38:54 +0000 (-0400) Subject: doc: release notes for my humble contributions to go1.21 X-Git-Tag: go1.21rc1~207 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=869af57260ec0ebb8580edfc38dc1c4872f2454c;p=gostls13.git doc: release notes for my humble contributions to go1.21 Updates #58645 Change-Id: Ieb4e6062613e26826ba8373cb4c2fd9198d0c692 Reviewed-on: https://go-review.googlesource.com/c/go/+/496116 Reviewed-by: Eli Bendersky TryBot-Result: Gopher Robot Run-TryBot: Alan Donovan TryBot-Bypass: Eli Bendersky --- diff --git a/doc/go1.21.html b/doc/go1.21.html index ade075cd6d..a610626c3f 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -60,7 +60,7 @@ Do not send CLs removing the interior tags from such phrases.

-

WebAssembly

+

WebAssembly

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

-

Runtime

+

Runtime

TODO: complete this section, or delete if not needed @@ -414,17 +414,18 @@ Do not send CLs removing the interior tags from such phrases.

go/ast
-

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

+ The new IsGenerated predicate + reports whether a file syntax tree contains the + special comment + that conventionally indicates that the file was generated by a tool.

+
+

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 -

@@ -446,8 +447,10 @@ Do not send CLs removing the interior tags from such phrases.
go/token
-

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

+ The new File.Lines method + returns the file's line-number table in the same form as accepted by + File.SetLines.

@@ -554,12 +557,11 @@ Do not send CLs removing the interior tags from such phrases.
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 +

+ The new Int.ToFloat64 + method returns the nearest floating-point value to a + multi-precision integer, along with an indication of any + rounding that occurred.