]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.18: note changes to automatic go.mod and go.sum updates
authorBryan C. Mills <bcmills@google.com>
Thu, 24 Feb 2022 22:01:14 +0000 (17:01 -0500)
committerBryan Mills <bcmills@google.com>
Fri, 25 Feb 2022 14:32:41 +0000 (14:32 +0000)
Fixes #51242
Updates #45551

Change-Id: Iba6e6acd9a94d24e26fcdd125f1022430723ada7
Reviewed-on: https://go-review.googlesource.com/c/go/+/387920
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Bryan Mills <bcmills@google.com>

doc/go1.18.html

index 5289f826656c1c14000b9e906d52a3a5781af2bb..21089ef4b3df17fae50036e47e084d4dffa362e6 100644 (file)
@@ -287,6 +287,20 @@ Do not send CLs removing the interior tags from such phrases.
   and installs packages, as before.
 </p>
 
+<h4 id="go-mod-updates">Automatic <code>go.mod</code> and <code>go.sum</code> updates</h4>
+
+<p><!-- https://go.dev/issue/45551 -->
+  The <code>go</code> <code>mod</code> <code>graph</code>,
+  <code>go</code> <code>mod</code> <code>vendor</code>,
+  <code>go</code> <code>mod</code> <code>verify</code>, and
+  <code>go</code> <code>mod</code> <code>why</code> subcommands
+  no longer automatically update the <code>go.mod</code> and
+  <code>go.sum</code> files.
+  (Those files can be updated explicitly using <code>go</code> <code>get</code>,
+  <code>go</code> <code>mod</code> <code>tidy</code>, or
+  <code>go</code> <code>mod</code> <code>download</code>.)
+</p>
+
 <h4 id="go-version"><code>go</code> <code>version</code></h4>
 
 <p><!-- golang.org/issue/37475 -->