doc/go1.18: note changes to automatic go.mod and go.sum updates

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>
This commit is contained in:
Bryan C. Mills 2022-02-24 17:01:14 -05:00 committed by Bryan Mills
parent 6d810241eb
commit 55e5b03cb3

View 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 -->