Skip to content

Commit eb413f7

Browse files
committed
doc/go1.21: move Ports to end
The most important parts of almost any release notes are the language and tool changes. Those should be the first two sections. Instead Ports interrupts the flow with information that usually matters only to very few users. Move Ports to the end of the release notes. Change-Id: I78492e91e368184fb5f8e8d44d63f35b8f14eeae Reviewed-on: https://go-review.googlesource.com/c/go/+/500957 TryBot-Bypass: Russ Cox <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent d8c9eec commit eb413f7

File tree

1 file changed

+57
-56
lines changed

1 file changed

+57
-56
lines changed

doc/go1.21.html

Lines changed: 57 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -137,62 +137,6 @@ <h2 id="language">Changes to the language</h2>
137137
TODO: complete this section
138138
</p>
139139

140-
<h2 id="ports">Ports</h2>
141-
142-
<h3 id="darwin">Darwin</h3>
143-
144-
<p><!-- go.dev/issue/57125 -->
145-
As <a href="go1.20#darwin">announced</a> in the Go 1.20 release notes,
146-
Go 1.21 requires macOS 10.15 Catalina or later;
147-
support for previous versions has been discontinued.
148-
</p>
149-
150-
<h3 id="windows">Windows</h3>
151-
152-
<p><!-- go.dev/issue/57003, go.dev/issue/57004 -->
153-
As <a href="go1.20#windows">announced</a> in the Go 1.20 release notes,
154-
Go 1.21 requires at least Windows 10 or Windows Server 2016;
155-
support for previous versions has been discontinued.
156-
</p>
157-
158-
<!-- CL 470695 -->
159-
<p>
160-
<!-- cmd/dist: default to GOARM=7 on all non-arm systems -->
161-
</p>
162-
163-
<h3 id="wasm">WebAssembly</h3>
164-
165-
<p><!-- https://go.dev/issue/38248, https://go.dev/issue/59149, CL 489255 -->
166-
The new <code>go:wasmimport</code> directive can now be used in Go programs
167-
to import functions from the WebAssembly host.
168-
</p>
169-
170-
<!-- https://go.dev/issue/56100 -->
171-
<p>
172-
The Go scheduler now interacts much more efficiently with the
173-
JavaScript event loop, especially in applications that block
174-
frequently on asynchronous events.
175-
</p>
176-
177-
178-
<h3 id="wasip1">WebAssembly System Interface</h3>
179-
180-
<p><!-- https://go.dev/issue/58141 -->
181-
Go 1.21 adds an experimental port to the <a href="https://wasi.dev/">
182-
WebAssembly System Interface (WASI)</a>, Preview 1
183-
(<code>GOOS=wasip1</code>, <code>GOARCH=wasm</code>).
184-
</p>
185-
186-
<p>
187-
As a result of the addition of the new <code>GOOS</code> value
188-
"<code>wasip1</code>", Go files named <code>*_wasip1.go</code>
189-
will now be <a href="/pkg/go/build/#hdr-Build_Constraints">ignored
190-
by Go tools</a> except when that <code>GOOS</code> value is being
191-
used.
192-
If you have existing filenames matching that pattern, you will
193-
need to rename them.
194-
</p>
195-
196140
<h2 id="tools">Tools</h2>
197141

198142
<!-- https://go.dev/issue/15513 -->
@@ -1009,6 +953,63 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
1009953
</p>
1010954
</dl><!-- unicode -->
1011955

956+
<h2 id="ports">Ports</h2>
957+
958+
<h3 id="darwin">Darwin</h3>
959+
960+
<p><!-- go.dev/issue/57125 -->
961+
As <a href="go1.20#darwin">announced</a> in the Go 1.20 release notes,
962+
Go 1.21 requires macOS 10.15 Catalina or later;
963+
support for previous versions has been discontinued.
964+
</p>
965+
966+
<h3 id="windows">Windows</h3>
967+
968+
<p><!-- go.dev/issue/57003, go.dev/issue/57004 -->
969+
As <a href="go1.20#windows">announced</a> in the Go 1.20 release notes,
970+
Go 1.21 requires at least Windows 10 or Windows Server 2016;
971+
support for previous versions has been discontinued.
972+
</p>
973+
974+
<!-- CL 470695 -->
975+
<p>
976+
<!-- cmd/dist: default to GOARM=7 on all non-arm systems -->
977+
</p>
978+
979+
<h3 id="wasm">WebAssembly</h3>
980+
981+
<p><!-- https://go.dev/issue/38248, https://go.dev/issue/59149, CL 489255 -->
982+
The new <code>go:wasmimport</code> directive can now be used in Go programs
983+
to import functions from the WebAssembly host.
984+
</p>
985+
986+
<!-- https://go.dev/issue/56100 -->
987+
<p>
988+
The Go scheduler now interacts much more efficiently with the
989+
JavaScript event loop, especially in applications that block
990+
frequently on asynchronous events.
991+
</p>
992+
993+
994+
<h3 id="wasip1">WebAssembly System Interface</h3>
995+
996+
<p><!-- https://go.dev/issue/58141 -->
997+
Go 1.21 adds an experimental port to the <a href="https://wasi.dev/">
998+
WebAssembly System Interface (WASI)</a>, Preview 1
999+
(<code>GOOS=wasip1</code>, <code>GOARCH=wasm</code>).
1000+
</p>
1001+
1002+
<p>
1003+
As a result of the addition of the new <code>GOOS</code> value
1004+
"<code>wasip1</code>", Go files named <code>*_wasip1.go</code>
1005+
will now be <a href="/pkg/go/build/#hdr-Build_Constraints">ignored
1006+
by Go tools</a> except when that <code>GOOS</code> value is being
1007+
used.
1008+
If you have existing filenames matching that pattern, you will
1009+
need to rename them.
1010+
</p>
1011+
1012+
10121013
<!-- proposals for x repos that don't need to be mentioned here but
10131014
are picked up by the relnote tool. -->
10141015
<!-- https://go.dev/issue/54232 -->

0 commit comments

Comments
 (0)