Skip to content

Commit 5f7e9ce

Browse files
committed
doc/go1.13: cmd/go, math/big, and a leftover crypto/x509 release note
Change-Id: I80f2b50c8dd3d3f0fea6ed25fa2581786152d470 Reviewed-on: https://go-review.googlesource.com/c/go/+/183621 Reviewed-by: Bryan C. Mills <[email protected]>
1 parent 26c60ce commit 5f7e9ce

File tree

1 file changed

+35
-11
lines changed

1 file changed

+35
-11
lines changed

doc/go1.13.html

Lines changed: 35 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -169,12 +169,15 @@ <h3 id="windows">Windows</h3>
169169

170170
<h2 id="tools">Tools</h2>
171171

172-
<p>
173-
TODO
174-
</p>
175-
176172
<h3 id="modules">Modules</h3>
177173

174+
<p id="patch-suffix"><!-- CL 167747 -->
175+
<a href="/cmd/go/#hdr-Add_dependencies_to_current_module_and_install_them"><code>go</code>
176+
<code>get</code></a> in module mode now supports the version suffix
177+
<code>@patch</code> to request the latest patch release.
178+
TODO(bcmills): expand.
179+
</p>
180+
178181
<h4 id="version-validation">Version validation</h4><!-- CL 181881 -->
179182

180183
<p>
@@ -231,6 +234,27 @@ <h4 id="version-validation">Version validation</h4><!-- CL 181881 -->
231234
<pre>replace github.com/docker/docker v1.14.0-0.20190319215453-e7b5f7dbe98c => github.com/docker/docker v0.7.3-0.20190319215453-e7b5f7dbe98c</pre>
232235
</p>
233236

237+
<h3 id="go-command">Go command</h3>
238+
239+
<p id="trimpath"><!-- CL 173345 -->
240+
The new <a href="/cmd/go/#hdr-Compile_packages_and_dependencies"><code>go</code>
241+
<code>build</code> flag</a> <code>-trimpath</code> removes all file system paths
242+
from the compiled executable, to improve build reproducibility.
243+
</p>
244+
245+
<p id="comma-separated-tags"><!-- CL 173438 -->
246+
The <code>go</code> <code>build</code> flag <code>-tags</code> now takes a
247+
comma-separated list of build tags, to allow for multiple tags in
248+
<a href="/cmd/go/#hdr-Environment_variables"><code>GOFLAGS</code></a>. The
249+
space-separated form is deprecated but still recognized and will be maintained.
250+
</p>
251+
252+
<p id="go-generate-tag"><!-- CL 175983 -->
253+
<a href="/cmd/go/#hdr-Generate_Go_files_by_processing_source"><code>go</code>
254+
<code>generate</code></a> now sets the <code>generate</code> build tag so that
255+
files may be searched for directives but ignored during build.
256+
</p>
257+
234258
<h3 id="compiler">Compiler toolchain</h3>
235259

236260
<p><!-- CL 170448 -->
@@ -363,11 +387,6 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
363387
TODO
364388
</p>
365389

366-
<!-- CL 173345: https://golang.org/cl/173345: cmd/go: add -trimpath build flag -->
367-
<!-- CL 173438: https://golang.org/cl/173438: cmd/go: change -tags to a comma-separated list -->
368-
<!-- CL 175983: https://golang.org/cl/175983: cmd/go: set the "generate" build tag in go generate, per design doc -->
369-
<!-- CL 167747: https://golang.org/cl/167747: 'go get' in module mode now supports the version suffix '@patch'.: cmd/go/internal/modget: support the suffix '@patch' in 'go get' -->
370-
371390
<dl id="bytes"><dt><a href="/pkg/bytes/">bytes</a></dt>
372391
<dd>
373392
<p>
@@ -403,6 +422,11 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
403422
and <a href="/pkg/crypto/x509/#ParsePKIXPublicKey"><code>ParsePKIXPublicKey</code></a> functions.
404423
</p>
405424

425+
<p><!-- CL 169238 -->
426+
The paths searched for system roots now include <code>/etc/ssl/cert.pem</code>
427+
to support the default location in Alpine Linux 3.7+.
428+
</p>
429+
406430
</dl><!-- crypto/x509 -->
407431

408432
<dl id="database/sql"><dt><a href="/pkg/database/sql/">database/sql</a></dt>
@@ -471,11 +495,11 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
471495
<dl id="math/big"><dt><a href="/pkg/math/big/">math/big</a></dt>
472496
<dd>
473497
<p><!-- CL 160682 -->
474-
TODO: <a href="https://golang.org/cl/160682">https://golang.org/cl/160682</a>: implement Rat.SetUint64
498+
The new <a href="/pkg/math/big/#Rat.SetUint64"><code>Rat.SetUint64</code></a> method sets the <code>Rat</code> to a <code>uint64</code> value.
475499
</p>
476500

477501
<p><!-- CL 168237 -->
478-
TODO: <a href="https://golang.org/cl/168237">https://golang.org/cl/168237</a>: accept non-decimal floats with Rat.SetString
502+
<a href="/pkg/math/big/#Rat.SetString"><code>Rat.SetString</code></a> now accepts non-decimal floating point representations.
479503
</p>
480504

481505
</dl><!-- math/big -->

0 commit comments

Comments
 (0)