From: Bryan C. Mills
Date: Fri, 14 Jan 2022 16:46:42 +0000 (-0500)
Subject: doc/go1.18: add a release note for 'go mod tidy' checksum changes
X-Git-Tag: go1.18beta2~81
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=71888fe4b0d804f44371944f93f12442a6b0a862;p=gostls13.git
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
Run-TryBot: Bryan Mills
Trust: Daniel MartÃ
Reviewed-by: Daniel MartÃ
TryBot-Result: Gopher Robot
---
diff --git a/doc/go1.18.html b/doc/go1.18.html
index f23f2b8562..133bfe0ef2 100644
--- a/doc/go1.18.html
+++ b/doc/go1.18.html
@@ -300,6 +300,16 @@ Do not send CLs removing the interior tags from such phrases.
option -fsanitize=address
).
+
+ The go
mod
tidy
command now retains
+ additional checksums in the go.sum
file for modules whose source
+ code is needed to verify that each imported package is provided by only one
+ module in the build list. Because this
+ condition is rare and failure to apply it results in a build error, this
+ change is not conditioned on the go
version in the main
+ module's go.mod
file.
+
+
The go
command now supports a "Workspace" mode. If a
go.work
file is found in the working directory or a