diff --git a/doc/go1.14.html b/doc/go1.14.html index 7a5aff574a..e7cd533908 100644 --- a/doc/go1.14.html +++ b/doc/go1.14.html @@ -124,6 +124,11 @@ TODO caused the build to fail.

+

+ -mod=readonly is now set by default when the go.mod + file is read-only and no top-level vendor directory is present. +

+

-modcacherw is a new flag that instructs the go command to leave newly-created directories in the module cache at their @@ -159,6 +164,30 @@ TODO include them if reported by a proxy.

+ +

go.mod file maintenance

+ + +

+ go commands other than + go mod tidy no longer + remove a require directive that specifies a version of an indirect dependency + that is already implied by other (transitive) dependencies of the main + module. +

+ +

+ go commands other than + go mod tidy no longer + edit the go.mod file if the changes are only cosmetic. +

+ +

+ When -mod=readonly is set, go commands will no + longer fail due to a missing go directive or erroneous + // indirect comment. +

+

Module downloading