From 0377f061687771eddfe8de78d6c40e17d6b21a39 Mon Sep 17 00:00:00 2001
From: "Bryan C. Mills" Flags
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 @@
+incompatible
versionsgo.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.
+