1
0
mirror of https://github.com/golang/go synced 2024-11-11 19:41:36 -07:00

doc/go1.18: add a release note for 'go mod tidy' checksum changes

Updates #47738
Fixes #49598

Change-Id: I708dcb880a701699116227a9eaca994cf460fef9
Reviewed-on: https://go-review.googlesource.com/c/go/+/378577
Trust: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Trust: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
Bryan C. Mills 2022-01-14 11:46:42 -05:00 committed by Bryan Mills
parent 46f138f288
commit 71888fe4b0

View File

@ -300,6 +300,16 @@ Do not send CLs removing the interior tags from such phrases.
option <code>-fsanitize=address</code>).
</p>
<p><!-- https://golang.org/issue/47738 -->
The <code>go</code> <code>mod</code> <code>tidy</code> command now retains
additional checksums in the <code>go.sum</code> file for modules whose source
code is needed to verify that each imported package is provided by only one
module in the <a href="/ref/mod#glos-build-list">build list</a>. Because this
condition is rare and failure to apply it results in a build error, this
change is <em>not</em> conditioned on the <code>go</code> version in the main
module's <code>go.mod</code> file.
</p>
<p><!-- https://golang.org/issue/45713 -->
The <code>go</code> command now supports a "Workspace" mode. If a
<code>go.work</code> file is found in the working directory or a