tag:github.com,2008:https://github.com/golang/mod/releases Release notes from mod 2025-02-14T21:54:42Z tag:github.com,2008:Repository/186022916/v0.24.0 2025-02-14T21:54:42Z v0.24.0: all: upgrade go directive to at least 1.23.0 [generated] <p>By now Go 1.24.0 has been released, and Go 1.22 is no longer supported<br> per the Go Release Policy (<a href="https://go.dev/doc/devel/release#policy" rel="nofollow">https://go.dev/doc/devel/release#policy</a>).</p> <p>For <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2490518612" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/69095" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/69095/hovercard" href="https://github.com/golang/go/issues/69095">golang/go#69095</a>.</p> <p>[git-generate]<br> (cd . &amp;&amp; go get go@1.23.0 &amp;&amp; go mod tidy &amp;&amp; go fix ./... &amp;&amp; go mod edit -toolchain=none)</p> <p>Change-Id: Id57a8feb7635d63f320ed0076af5c29a580ce6eb<br> Reviewed-on: <a href="https://go-review.googlesource.com/c/mod/+/649717" rel="nofollow">https://go-review.googlesource.com/c/mod/+/649717</a><br> Auto-Submit: Gopher Robot <a href="mailto:gobot@golang.org">gobot@golang.org</a><br> LUCI-TryBot-Result: Go LUCI <a href="mailto:golang-scoped@luci-project-accounts.iam.gserviceaccount.com">golang-scoped@luci-project-accounts.iam.gserviceaccount.com</a><br> Reviewed-by: Dmitri Shuralyov <a href="mailto:dmitshur@google.com">dmitshur@google.com</a><br> Reviewed-by: Cherry Mui <a href="mailto:cherryyz@google.com">cherryyz@google.com</a></p> gopherbot tag:github.com,2008:Repository/186022916/v0.23.0 2025-02-03T20:02:40Z v0.23.0: modfile: fix trailing empty lines in require blocks <p>This change ensures that trailing empty lines in <code>require</code> blocks<br> are ignored during parsing itself. Specifically:</p> <ul> <li>Modified the <code>parseLineBlock</code> function to detect and discard blank lines<br> (represented by a single empty comment) at the end of a block.</li> <li>Blank lines within a block are preserved as expected, but trailing<br> blank lines immediately before the closing parenthesis are now skipped.</li> </ul> <p>For <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2711760467" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/70632" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/70632/hovercard" href="https://github.com/golang/go/issues/70632">golang/go#70632</a></p> <p>Change-Id: Ica76b3edb3bf7fdc327c7cdc9e401dcf19c523b0<br> GitHub-Last-Rev: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/golang/mod/commit/1477d7ce8b79b953be1bf5d7a20d4f9917347299/hovercard" href="https://github.com/golang/mod/commit/1477d7ce8b79b953be1bf5d7a20d4f9917347299"><tt>1477d7c</tt></a><br> GitHub-Pull-Request: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2730414671" data-permission-text="Title is private" data-url="https://github.com/golang/mod/issues/22" data-hovercard-type="pull_request" data-hovercard-url="/golang/mod/pull/22/hovercard" href="https://github.com/golang/mod/pull/22">#22</a><br> Reviewed-on: <a href="https://go-review.googlesource.com/c/mod/+/634875" rel="nofollow">https://go-review.googlesource.com/c/mod/+/634875</a><br> Reviewed-by: Michael Matloob <a href="mailto:matloob@golang.org">matloob@golang.org</a><br> LUCI-TryBot-Result: Go LUCI <a href="mailto:golang-scoped@luci-project-accounts.iam.gserviceaccount.com">golang-scoped@luci-project-accounts.iam.gserviceaccount.com</a><br> Reviewed-by: Cherry Mui <a href="mailto:cherryyz@google.com">cherryyz@google.com</a></p> Agent-Hellboy tag:github.com,2008:Repository/186022916/v0.22.0 2024-11-01T18:50:30Z v0.22.0: sumdb: make data tiles by Server compatible with sum.golang.org <p>Make the format of sumdb.Server data tile responses compatible with those<br> served by sum.golang.org: Like formatted records for the lookup endpoint, but<br> without each record IDs.</p> <p>Updates documentation for sumdb/tlog.FormatRecord about data tiles.<br> Server still calls FormatRecord to keep the validation, then removes the first<br> line.</p> <p>For <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2512567244" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/69348" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/69348/hovercard" href="https://github.com/golang/go/issues/69348">golang/go#69348</a></p> <p>Change-Id: I1bea45b3343c58acc90982aaff5d41e32b06ae8c<br> Reviewed-on: <a href="https://go-review.googlesource.com/c/mod/+/618135" rel="nofollow">https://go-review.googlesource.com/c/mod/+/618135</a><br> LUCI-TryBot-Result: Go LUCI <a href="mailto:golang-scoped@luci-project-accounts.iam.gserviceaccount.com">golang-scoped@luci-project-accounts.iam.gserviceaccount.com</a><br> Reviewed-by: Michael Matloob <a href="mailto:matloob@golang.org">matloob@golang.org</a><br> Reviewed-by: Dmitri Shuralyov <a href="mailto:dmitshur@google.com">dmitshur@google.com</a></p> mjl- tag:github.com,2008:Repository/186022916/v0.21.0 2024-08-16T18:30:36Z v0.21.0: zip: set GIT_DIR in test when using bare repositories <p>If git has safe.bareRepository=explicit set, operations on bare git<br> repos will fail unless --git-dir or GIT_DIR is set. Set GIT_DIR in the<br> parts of the zip test that use bare repos to allow the tests to pass in<br> those circumstances.</p> <p>See CL 489915 for the change setting GIT_DIR for git operations on bare<br> repositories in cmd/go.</p> <p>Change-Id: I1f8ae9ed2b687a58d533fa605ed9ad4b5cbb8549<br> Reviewed-on: <a href="https://go-review.googlesource.com/c/mod/+/605937" rel="nofollow">https://go-review.googlesource.com/c/mod/+/605937</a><br> Auto-Submit: Michael Matloob <a href="mailto:matloob@golang.org">matloob@golang.org</a><br> Reviewed-by: Dmitri Shuralyov <a href="mailto:dmitshur@google.com">dmitshur@google.com</a><br> Reviewed-by: Dmitri Shuralyov <a href="mailto:dmitshur@golang.org">dmitshur@golang.org</a><br> LUCI-TryBot-Result: Go LUCI <a href="mailto:golang-scoped@luci-project-accounts.iam.gserviceaccount.com">golang-scoped@luci-project-accounts.iam.gserviceaccount.com</a></p> matloob tag:github.com,2008:Repository/186022916/v0.20.0 2024-07-30T14:22:55Z v0.20.0: README: fix link to x/tools <p>Change-Id: I4803bfe7da3b21fdfe503b9804015f0a5104a52e<br> Reviewed-on: <a href="https://go-review.googlesource.com/c/mod/+/601441" rel="nofollow">https://go-review.googlesource.com/c/mod/+/601441</a><br> Reviewed-by: Ian Lance Taylor <a href="mailto:iant@google.com">iant@google.com</a><br> LUCI-TryBot-Result: Go LUCI <a href="mailto:golang-scoped@luci-project-accounts.iam.gserviceaccount.com">golang-scoped@luci-project-accounts.iam.gserviceaccount.com</a><br> Auto-Submit: Ian Lance Taylor <a href="mailto:iant@google.com">iant@google.com</a><br> Reviewed-by: Michael Knyszek <a href="mailto:mknyszek@google.com">mknyszek@google.com</a></p> mikesep tag:github.com,2008:Repository/186022916/v0.19.0 2024-06-26T14:12:39Z v0.19.0: sumdb/tlog: set the hash of the empty tree according to RFC 6962 <p>Updates <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2193554165" data-permission-text="Title is private" data-url="https://github.com/FiloSottile/sunlight/issues/14" data-hovercard-type="issue" data-hovercard-url="/FiloSottile/sunlight/issues/14/hovercard" href="https://github.com/FiloSottile/sunlight/issues/14">FiloSottile/sunlight#14</a></p> <p>Change-Id: I712ea53fd3a17b66ec310d8f48de44416d0054cc<br> Reviewed-on: <a href="https://go-review.googlesource.com/c/mod/+/590715" rel="nofollow">https://go-review.googlesource.com/c/mod/+/590715</a><br> Reviewed-by: Russ Cox <a href="mailto:rsc@golang.org">rsc@golang.org</a><br> Auto-Submit: Filippo Valsorda <a href="mailto:filippo@golang.org">filippo@golang.org</a><br> LUCI-TryBot-Result: Go LUCI <a href="mailto:golang-scoped@luci-project-accounts.iam.gserviceaccount.com">golang-scoped@luci-project-accounts.iam.gserviceaccount.com</a><br> Reviewed-by: Joedian Reid <a href="mailto:joedian@google.com">joedian@google.com</a></p> FiloSottile tag:github.com,2008:Repository/186022916/v0.18.0 2024-05-14T17:47:13Z v0.18.0: modfile: add API for godebug lines <p>For <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2123423370" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/65573" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/65573/hovercard" href="https://github.com/golang/go/issues/65573">golang/go#65573</a></p> <p>Change-Id: I5c1be8833f70b0b5a7257bd5216fa6a89bd2665f<br> Reviewed-on: <a href="https://go-review.googlesource.com/c/mod/+/584300" rel="nofollow">https://go-review.googlesource.com/c/mod/+/584300</a><br> LUCI-TryBot-Result: Go LUCI <a href="mailto:golang-scoped@luci-project-accounts.iam.gserviceaccount.com">golang-scoped@luci-project-accounts.iam.gserviceaccount.com</a><br> Auto-Submit: Russ Cox <a href="mailto:rsc@golang.org">rsc@golang.org</a><br> Reviewed-by: Michael Matloob <a href="mailto:matloob@golang.org">matloob@golang.org</a><br> Reviewed-by: Sam Thanawalla <a href="mailto:samthanawalla@google.com">samthanawalla@google.com</a></p> rsc tag:github.com,2008:Repository/186022916/v0.17.0 2024-03-15T15:59:16Z v0.17.0: modfile: do not collapse if there are unattached comments within blocks <p>The existing implementation drops unattached comments<br> when collapsing block into single line.</p> <p>Fixes #33280</p> <p>Change-Id: I388e1468657d461cba771e90d5e328746d927ae2<br> Reviewed-on: <a href="https://go-review.googlesource.com/c/mod/+/541815" rel="nofollow">https://go-review.googlesource.com/c/mod/+/541815</a><br> Reviewed-by: Cherry Mui <a href="mailto:cherryyz@google.com">cherryyz@google.com</a><br> Reviewed-by: Bryan Mills <a href="mailto:bcmills@google.com">bcmills@google.com</a><br> Auto-Submit: Bryan Mills <a href="mailto:bcmills@google.com">bcmills@google.com</a><br> LUCI-TryBot-Result: Go LUCI <a href="mailto:golang-scoped@luci-project-accounts.iam.gserviceaccount.com">golang-scoped@luci-project-accounts.iam.gserviceaccount.com</a></p> quantonganh tag:github.com,2008:Repository/186022916/v0.16.0 2024-02-07T18:52:59Z v0.16.0: modfile: use new go version string format in WorkFile.add error <p>For <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1842982896" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/61888" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/61888/hovercard" href="https://github.com/golang/go/issues/61888">golang/go#61888</a></p> <p>Tested: Ran go test ./modfile<br> Change-Id: I254fe559f25ac643e842a935954d18744ae87b0b<br> Reviewed-on: <a href="https://go-review.googlesource.com/c/mod/+/560875" rel="nofollow">https://go-review.googlesource.com/c/mod/+/560875</a><br> Reviewed-by: Bryan Mills <a href="mailto:bcmills@google.com">bcmills@google.com</a><br> Run-TryBot: Sam Thanawalla <a href="mailto:samthanawalla@google.com">samthanawalla@google.com</a><br> TryBot-Result: Gopher Robot <a href="mailto:gobot@golang.org">gobot@golang.org</a></p> samthanawalla tag:github.com,2008:Repository/186022916/v0.15.0 2024-01-26T20:57:38Z v0.15.0: sumdb: replace globsMatchPath with module.MatchPrefixPatterns <p>In CL 239797, src/cmd/go/internal/str.GlobsMatchPath was replicated as<br> module.MatchPrefixPatterns. This redundancy eliminates the need for<br> globsMatchPath. This CL replaces calls to globsMatchPath with<br> module.MatchPrefixPatterns and removes the now redundant globsMatchPath.</p> <p>Change-Id: Idd6fc10e7cf24d7b9603fa17edb2460d50b2e4aa<br> Reviewed-on: <a href="https://go-review.googlesource.com/c/mod/+/539815" rel="nofollow">https://go-review.googlesource.com/c/mod/+/539815</a><br> Auto-Submit: Bryan Mills <a href="mailto:bcmills@google.com">bcmills@google.com</a><br> Reviewed-by: Cherry Mui <a href="mailto:cherryyz@google.com">cherryyz@google.com</a><br> Reviewed-by: Bryan Mills <a href="mailto:bcmills@google.com">bcmills@google.com</a><br> LUCI-TryBot-Result: Go LUCI <a href="mailto:golang-scoped@luci-project-accounts.iam.gserviceaccount.com">golang-scoped@luci-project-accounts.iam.gserviceaccount.com</a></p> aofei