aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2021-06-07 23:04:16 -0400
committerBryan C. Mills <bcmills@google.com>2021-06-08 19:32:28 +0000
commit9498b0155d4c38c018d00b83afaedaabbdbb9e85 (patch)
treee6b742aef11f8eb14adf5090ac892ab35faf569a /doc
parent949f00cebe9a40c7454bc42acaa77fdb8bf6c4e6 (diff)
downloadgo-9498b0155d4c38c018d00b83afaedaabbdbb9e85.tar.gz
go-9498b0155d4c38c018d00b83afaedaabbdbb9e85.zip
cmd/go: in Go 1.17+ modules, add indirect go.mod dependencies separately from direct ones
Fixes #45965 Change-Id: If5c0d7b29e9f81be0763f3fa68051d4ef5419990 Reviewed-on: https://go-review.googlesource.com/c/go/+/325922 Trust: Bryan C. Mills <bcmills@google.com> Reviewed-by: Michael Matloob <matloob@golang.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/go1.17.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/go1.17.html b/doc/go1.17.html
index c1b3b3cef4..8b0fcea29d 100644
--- a/doc/go1.17.html
+++ b/doc/go1.17.html
@@ -137,6 +137,14 @@ Do not send CLs removing the interior tags from such phrases.
<!-- TODO(bcmills): replace the design-doc link with proper documentation. -->
</p>
+<p><!-- golang.org/issue/45965 -->
+ Because the number of additional explicit requirements in the go.mod file may
+ be substantial, in a Go 1.17 module the newly-added requirements
+ on <em>indirect</em> dependencies are maintained in a
+ separate <code>require</code> block from the block containing direct
+ dependencies.
+</p>
+
<p><!-- golang.org/issue/45094 -->
To facilitate the upgrade to lazy loading, the
<code>go</code> <code>mod</code> <code>tidy</code> subcommand now supports