From 8f2db14cd35bbd674cb2988a508306de6655e425 Mon Sep 17 00:00:00 2001 From: Jay Conrod Date: Tue, 10 Nov 2020 11:32:04 -0500 Subject: [PATCH] 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 --- doc/go1.16.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/go1.16.html b/doc/go1.16.html index 793f6ef26d9d8..2187f0b1ad101 100644 --- a/doc/go1.16.html +++ b/doc/go1.16.html @@ -82,6 +82,15 @@

Go command

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