From: Jay Conrod Date: Tue, 10 Nov 2020 16:32:04 +0000 (-0500) Subject: cmd/go: release note for -mod=readonly by default X-Git-Tag: go1.16beta1~257 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8f2db14cd35bbd674cb2988a508306de6655e425;p=gostls13.git cmd/go: release note for -mod=readonly by default For #40728 Fixes #42466 Change-Id: If2b21b37a590c243828c4fd278ab10b2705450f0 Reviewed-on: https://go-review.googlesource.com/c/go/+/268859 Reviewed-by: Bryan C. Mills Trust: Dmitri Shuralyov --- diff --git a/doc/go1.16.html b/doc/go1.16.html index 793f6ef26d..2187f0b1ad 100644 --- a/doc/go1.16.html +++ b/doc/go1.16.html @@ -82,6 +82,15 @@ Do not send CLs removing the interior tags from such phrases.

Modules

+

+ Build commands like go build and go + test no longer modify go.mod and go.sum + by default. Instead, they report an error if a module requirement or checksum + needs to be added or updated (as if the -mod=readonly flag were + used). Module requirements and sums may be adjusted with go + mod tidy or go get. +

+

go install now accepts arguments with version suffixes (for example, go install