Skip to content

Commit fe9fc40

Browse files
ianlancetaylorgopherbot
authored andcommitted
doc/go1.21: run relnotes again
Fill in some of the simpler entries, leave some more TODO entries. For #58645 Change-Id: I20eb09ba709520ab27301c568d777184a405ffdc Reviewed-on: https://go-review.googlesource.com/c/go/+/501695 TryBot-Bypass: Ian Lance Taylor <iant@google.com> Reviewed-by: Eli Bendersky <eliben@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
1 parent 1bbf55c commit fe9fc40

File tree

1 file changed

+115
-21
lines changed

1 file changed

+115
-21
lines changed

doc/go1.21.html

Lines changed: 115 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h2 id="introduction">DRAFT RELEASE NOTES — Introduction to Go 1.21</h2>
3131
We expect almost all Go programs to continue to compile and run as before.
3232
</p>
3333

34-
<p>
34+
<p><!-- https://go.dev/issue/57631 -->
3535
Go 1.21 introduces a small change to the numbering of releases.
3636
In the past, we used Go 1.<i>N</i> to refer to both the overall Go language version and release family
3737
as well as the first release in that family.
@@ -368,7 +368,11 @@ <h3 id="slogtest">New testing/slogtest package</h3>
368368

369369
<h3 id="slices">New slices package</h3>
370370

371-
<p><!-- https://go.dev/issue/45955, https://go.dev/issue/54768, https://go.dev/issue/57348, https://go.dev/issue/57433, CL 467417, CL 483175 -->
371+
<p>
372+
<!-- https://go.dev/issue/45955, https://go.dev/issue/54768 -->
373+
<!-- https://go.dev/issue/57348, https://go.dev/issue/57433 -->
374+
<!-- https://go.dev/issue/58565, https://go.dev/issue/60091 -->
375+
<!-- CL 467417, CL 468855, CL 483175, CL 496078, CL 498175 -->
372376
The new <a href="/pkg/slices">slices</a> package provides many common
373377
operations on slices, using generic functions that work with slices
374378
of any element type.
@@ -382,6 +386,14 @@ <h3 id="maps">New maps package</h3>
382386
maps of any key or element type.
383387
</p>
384388

389+
<dl id="cmp"><dt><a href="/pkg/cmp/">cmp</a></dt>
390+
<dd>
391+
<p><!-- CL 496356 -->
392+
TODO: <a href="https://go.dev/cl/496356">https://go.dev/cl/496356</a>: cmp: new package; modified api/next/59488.txt
393+
</p>
394+
</dd>
395+
</dl><!-- cmp -->
396+
385397
<h3 id="minor_library_changes">Minor changes to the library</h3>
386398

387399
<p>
@@ -485,6 +497,8 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
485497
</dd>
486498
</dl><!-- crypto/rsa -->
487499

500+
<!-- CL 483815 reverted -->
501+
488502
<dl id="crypto/sha256"><dt><a href="/pkg/crypto/sha256/">crypto/sha256</a></dt>
489503
<dd>
490504
<p><!-- https://go.dev/issue/50543, CL 408795 -->
@@ -493,6 +507,53 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
493507
</dd>
494508
</dl><!-- crypto/sha256 -->
495509

510+
<!-- CL 481478 reverted -->
511+
<!-- CL 483816 reverted -->
512+
513+
<dl id="crypto/tls"><dt><a href="/pkg/crypto/tls/">crypto/tls</a></dt>
514+
<dd>
515+
<p><!-- https://go.dev/issue/46308 -->
516+
TODO: <a href="https://go.dev/issue/46308">https://go.dev/issue/46308</a>: add VersionName function to return a string version of the TLS Version
517+
</p>
518+
519+
<p><!-- https://go.dev/issue/60107 -->
520+
TODO: <a href="https://go.dev/issue/60107">https://go.dev/issue/60107</a>: QUIC 0-RTT APIs
521+
</p>
522+
523+
<p><!-- CL 493655 -->
524+
TODO: <a href="https://go.dev/cl/493655">https://go.dev/cl/493655</a>: crypto/tls: support QUIC as a transport; modified api/next/44886.txt
525+
</p>
526+
527+
<p><!-- CL 496818 -->
528+
TODO: <a href="https://go.dev/cl/496818">https://go.dev/cl/496818</a>: crypto/tls: add SessionState and use it on the server side; modified api/next/60105.txt
529+
</p>
530+
531+
<p><!-- CL 496820 -->
532+
TODO: <a href="https://go.dev/cl/496820">https://go.dev/cl/496820</a>: crypto/tls: add ClientSessionState.ResumptionState and NewResumptionState; modified api/next/60105.txt
533+
</p>
534+
535+
<p><!-- CL 496821 -->
536+
TODO: <a href="https://go.dev/cl/496821">https://go.dev/cl/496821</a>: crypto/tls: add WrapSession and UnwrapSession; modified api/next/60105.txt
537+
</p>
538+
539+
<p><!-- CL 496822 -->
540+
TODO: <a href="https://go.dev/cl/496822">https://go.dev/cl/496822</a>: crypto/tls: add SessionState.Extra; modified api/next/60105.txt
541+
</p>
542+
543+
<p><!-- CL 496995 -->
544+
TODO: <a href="https://go.dev/cl/496995">https://go.dev/cl/496995</a>: crypto/tls: add QUIC 0-RTT APIs; modified api/next/44886.txt, api/next/60107.txt
545+
</p>
546+
547+
<p><!-- CL 497376 -->
548+
TODO: <a href="https://go.dev/cl/497376">https://go.dev/cl/497376</a>: crypto/tls: implement Extended Master Secret; modified api/except.txt
549+
</p>
550+
551+
<p><!-- CL 497377 -->
552+
TODO: <a href="https://go.dev/cl/497377">https://go.dev/cl/497377</a>: crypto/tls: add VersionName; modified api/next/46308.txt
553+
</p>
554+
</dd>
555+
</dl><!-- crypto/tls -->
556+
496557
<dl id="crypto/x509"><dt><a href="/pkg/crypto/x509/">crypto/x509</a></dt>
497558
<dd>
498559
<p><!-- https://go.dev/issue/53573, CL 468875 -->
@@ -521,6 +582,11 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
521582
The package now defines the constant
522583
<a href="/pkg/debug/elf/#COMPRESS_ZSTD"><code>COMPRESS_ZSTD</code></a>.
523584
</p>
585+
586+
<p><!-- https://go.dev/issue/60348, CL 496918 -->
587+
The package now defines the constant
588+
<a href="/pkg/debug/elf/#R_PPC64_REL24_P9NOTOC"><code>R_PPC64_REL24_P9NOTOC</code></a>.
589+
</p>
524590
</dd>
525591
</dl><!-- debug/elf -->
526592

@@ -665,6 +731,18 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
665731
</dd>
666732
</dl><!-- hash/maphash -->
667733

734+
<dl id="html/template"><dt><a href="/pkg/html/template/">html/template</a></dt>
735+
<dd>
736+
<p><!-- https://go.dev/issue/59584 -->
737+
TODO: <a href="https://go.dev/issue/59584">https://go.dev/issue/59584</a>: expose ErrJSTemplate
738+
</p>
739+
740+
<p><!-- CL 496395 -->
741+
TODO: <a href="https://go.dev/cl/496395">https://go.dev/cl/496395</a>: html/template: expose ErrJSTemplate; modified api/next/59584.txt
742+
</p>
743+
</dd>
744+
</dl><!-- html/template -->
745+
668746
<dl id="io/fs"><dt><a href="/pkg/io/fs/">io/fs</a></dt>
669747
<dd>
670748
<p><!-- https://go.dev/issue/54451, CL 489555 -->
@@ -690,13 +768,13 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
690768
</dd>
691769
</dl><!-- io/fs -->
692770

693-
<!-- https://go.dev/issue/56491 rolled back -->
694-
<!-- CL 459435 reverted -->
695-
<!-- CL 467515 reverted -->
771+
<!-- https://go.dev/issue/56491 rolled back by https://go.dev/issue/60519 -->
772+
<!-- CL 459435 reverted by CL 467255 -->
773+
<!-- CL 467515 reverted by CL 499416 -->
696774

697775
<dl id="math/big"><dt><a href="/pkg/math/big/">math/big</a></dt>
698776
<dd>
699-
<p><!-- https://go.dev/issue/56984, CL 453115 -->
777+
<p><!-- https://go.dev/issue/56984, CL 453115, CL 500116 -->
700778
The new <a href="/pkg/math/big/#Int.Float64"><code>Int.Float64</code></a>
701779
method returns the nearest floating-point value to a
702780
multi-precision integer, along with an indication of any
@@ -779,6 +857,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
779857
always returning an error.
780858
</p>
781859

860+
<p><!-- CL 495079 -->
861+
TODO: <a href="https://go.dev/cl/495079">https://go.dev/cl/495079</a>: os: if descriptor is non-blocking, retain that in Fd method
862+
</p>
863+
782864
<p><!-- CL 477215 -->
783865
On Windows calling
784866
<a href="/pkg/os/#Truncate"><code>Truncate</code></a> on a
@@ -908,7 +990,7 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
908990
<code>GODEBUG=cgocheck=1</code> is still available (and is still the default).
909991
</p>
910992

911-
<p><!-- https://go.dev/issue/46787 -->
993+
<p><!-- https://go.dev/issue/46787, CL 367296 -->
912994
A new type <code>Pinner</code> has been added to the runtime
913995
package. <code>Pinner</code>s may be used to "pin" Go memory
914996
such that it may be used more freely by non-Go code. For instance,
@@ -919,9 +1001,25 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
9191001

9201002
See <a href="/pkg/runtime#Pinner">the docs</a> for more details.
9211003
</p>
1004+
1005+
<p><!-- CL 472195 -->
1006+
TODO: <a href="https://go.dev/cl/472195">https://go.dev/cl/472195</a>: runtime: remove NOFRAME from asmcgocall, systemstack and mcall
1007+
</p>
9221008
</dd>
9231009
</dl><!-- runtime -->
9241010

1011+
<dl id="runtime/metrics"><dt><a href="/pkg/runtime/metrics/">runtime/metrics</a></dt>
1012+
<dd>
1013+
<p><!-- https://go.dev/issue/56857, CL 497315 -->
1014+
A few previously-internal GC metrics, such as live heap size, are
1015+
now available.
1016+
1017+
<code>GOGC</code> and <code>GOMEMLIMIT</code> are also now
1018+
available as metrics.
1019+
</p>
1020+
</dd>
1021+
</dl><!-- runtime/metrics -->
1022+
9251023
<dl id="runtime/trace"><dt><a href="/pkg/runtime/trace/">runtime/trace</a></dt>
9261024
<dd>
9271025
<p><!-- https://go.dev/issue/16638 -->
@@ -936,18 +1034,6 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
9361034
</dd>
9371035
</dl><!-- runtime/trace -->
9381036

939-
<dl id="runtime/metrics"><dt><a href="/pkg/runtime/metrics/">runtime/metrics</a></dt>
940-
<dd>
941-
<p><!-- https://go.dev/issue/56857 -->
942-
A few previously-internal GC metrics, such as live heap size, are
943-
now available.
944-
945-
<code>GOGC</code> and <code>GOMEMLIMIT</code> are also now
946-
available as metrics.
947-
</p>
948-
</dd>
949-
</dl><!-- runtime/metrics -->
950-
9511037
<dl id="sync"><dt><a href="/pkg/sync/">sync</a></dt>
9521038
<dd>
9531039
<p><!-- https://go.dev/issue/56102, CL 451356 -->
@@ -1042,15 +1128,15 @@ <h2 id="ports">Ports</h2>
10421128

10431129
<h3 id="darwin">Darwin</h3>
10441130

1045-
<p><!-- go.dev/issue/57125 -->
1131+
<p><!-- https://go.dev/issue/57125 -->
10461132
As <a href="go1.20#darwin">announced</a> in the Go 1.20 release notes,
10471133
Go 1.21 requires macOS 10.15 Catalina or later;
10481134
support for previous versions has been discontinued.
10491135
</p>
10501136

10511137
<h3 id="windows">Windows</h3>
10521138

1053-
<p><!-- go.dev/issue/57003, go.dev/issue/57004 -->
1139+
<p><!-- https://go.dev/issue/57003, https://go.dev/issue/57004 -->
10541140
As <a href="go1.20#windows">announced</a> in the Go 1.20 release notes,
10551141
Go 1.21 requires at least Windows 10 or Windows Server 2016;
10561142
support for previous versions has been discontinued.
@@ -1100,3 +1186,11 @@ <h3 id="wasip1">WebAssembly System Interface</h3>
11001186
<!-- https://go.dev/issue/54232 -->
11011187
<!-- https://go.dev/issue/57906 -->
11021188
<!-- https://go.dev/issue/58668 -->
1189+
<!-- https://go.dev/issue/59676 -->
1190+
1191+
<!-- changes to cmd/api that don't need release notes. -->
1192+
<!-- CL 469115, CL 469135, CL 499981 -->
1193+
1194+
<!-- proposals that don't need release enotes. -->
1195+
<!-- https://go.dev/issue/10275 -->
1196+
<!-- https://go.dev/issue/59719 -->

0 commit comments

Comments
 (0)