tag:github.com,2008:https://github.com/golang/sync/releasesRelease notes from sync2026-02-23T18:54:42Ztag:github.com,2008:Repository/45226685/v0.20.02026-02-23T18:54:42Zv0.20.0: errgroup: fix a typo in the documentation<p>Change-Id: I265cbc977e15a81c0068e7b60933843d8f02fe6a<br>
Reviewed-on: <a href="https://go-review.googlesource.com/c/sync/+/747140" rel="nofollow">https://go-review.googlesource.com/c/sync/+/747140</a><br>
Reviewed-by: Alan Donovan <a href="mailto:[email protected]">[email protected]</a><br>
Auto-Submit: Alan Donovan <a href="mailto:[email protected]">[email protected]</a><br>
LUCI-TryBot-Result: Go LUCI <a href="mailto:[email protected]">[email protected]</a><br>
Reviewed-by: Dmitri Shuralyov <a href="mailto:[email protected]">[email protected]</a></p>SavaLionetag:github.com,2008:Repository/45226685/v0.19.02025-12-04T00:24:39Zv0.19.0: errgroup: use consistent read for SetLimit panic<p>This could produce a confusing panic message if the second len(g.sem)<br>
call returns 0. Avoid that by reading it once.</p>
<p>Change-Id: Ibdb4963f90921bc20427b3f1e2de410638f6cb6b<br>
Reviewed-on: <a href="https://go-review.googlesource.com/c/sync/+/726280" rel="nofollow">https://go-review.googlesource.com/c/sync/+/726280</a><br>
Reviewed-by: Alan Donovan <a href="mailto:[email protected]">[email protected]</a><br>
Auto-Submit: Alan Donovan <a href="mailto:[email protected]">[email protected]</a><br>
Reviewed-by: Sean Liao <a href="mailto:[email protected]">[email protected]</a><br>
LUCI-TryBot-Result: Go LUCI <a href="mailto:[email protected]">[email protected]</a><br>
Reviewed-by: Dmitri Shuralyov <a href="mailto:[email protected]">[email protected]</a></p>justinmayhewtag:github.com,2008:Repository/45226685/v0.18.02025-10-21T17:44:11Zv0.18.0: errgroup: fix some typos in comment<p>Change-Id: I3dd6df0eb2cc592f8811935cbcbca54a0d9304ce<br>
Reviewed-on: <a href="https://go-review.googlesource.com/c/sync/+/713400" rel="nofollow">https://go-review.googlesource.com/c/sync/+/713400</a><br>
Reviewed-by: Alan Donovan <a href="mailto:[email protected]">[email protected]</a><br>
LUCI-TryBot-Result: Go LUCI <a href="mailto:[email protected]">[email protected]</a><br>
Reviewed-by: David Chase <a href="mailto:[email protected]">[email protected]</a><br>
Auto-Submit: Alan Donovan <a href="mailto:[email protected]">[email protected]</a></p>cuishuangtag:github.com,2008:Repository/45226685/v0.17.02025-08-13T14:47:05Zv0.17.0: all: upgrade go directive to at least 1.24.0 [generated]<p>By now Go 1.25.0 has been released, and Go 1.23 is no longer supported<br>
per the Go Release Policy (see <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 . && go get [email protected] && go mod tidy && go fix ./... && go mod edit -toolchain=none)</p>
<p>Change-Id: Ifa2b9ecc1efe475dfe4d60f41fb3ad2c63896d12<br>
Reviewed-on: <a href="https://go-review.googlesource.com/c/sync/+/695358" rel="nofollow">https://go-review.googlesource.com/c/sync/+/695358</a><br>
Reviewed-by: Dmitri Shuralyov <a href="mailto:[email protected]">[email protected]</a><br>
LUCI-TryBot-Result: Go LUCI <a href="mailto:[email protected]">[email protected]</a><br>
Auto-Submit: Gopher Robot <a href="mailto:[email protected]">[email protected]</a><br>
Reviewed-by: David Chase <a href="mailto:[email protected]">[email protected]</a></p>gopherbottag:github.com,2008:Repository/45226685/v0.16.02025-06-20T18:29:35Zv0.16.0: errgroup: revert propagation of panics<p>This change reverts CL 644575, which caused panics in the f()<br>
call after group.Go(f) to be propagated to the subsequent<br>
group.Wait call. This caused more problems than it solved.</p>
<p>Also:</p>
<ul>
<li>preserve some of the doc comment wording of Group.Go.</li>
<li>leave a "tsunami stone" comment in Group.Go.</li>
</ul>
<p>Fixes <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1299318507" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/53757" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/53757/hovercard" href="https://github.com/golang/go/issues/53757">golang/go#53757</a><br>
Updates <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3154062520" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/74275" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/74275/hovercard" href="https://github.com/golang/go/issues/74275">golang/go#74275</a><br>
Updates <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3160794178" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/74304" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/74304/hovercard" href="https://github.com/golang/go/issues/74304">golang/go#74304</a><br>
Updates <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3160973472" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/74306" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/74306/hovercard" href="https://github.com/golang/go/issues/74306">golang/go#74306</a></p>
<p>Change-Id: I6e3992510944db7d69c72eaf241aedf8b84e62dd<br>
Reviewed-on: <a href="https://go-review.googlesource.com/c/sync/+/682935" rel="nofollow">https://go-review.googlesource.com/c/sync/+/682935</a><br>
LUCI-TryBot-Result: Go LUCI <a href="mailto:[email protected]">[email protected]</a><br>
Reviewed-by: qiu laidongfeng2 <a href="mailto:[email protected]">[email protected]</a><br>
Reviewed-by: Junyang Shao <a href="mailto:[email protected]">[email protected]</a><br>
Reviewed-by: Sean Liao <a href="mailto:[email protected]">[email protected]</a><br>
Auto-Submit: Sean Liao <a href="mailto:[email protected]">[email protected]</a></p>adonovantag:github.com,2008:Repository/45226685/v0.15.02025-05-28T15:13:15Zv0.15.0: errgroup: remove duplicated comment<p>Change-Id: I5cdcc5034ccd87b939a406693e97485553ab60fa<br>
Reviewed-on: <a href="https://go-review.googlesource.com/c/sync/+/676715" rel="nofollow">https://go-review.googlesource.com/c/sync/+/676715</a><br>
Reviewed-by: Dmitri Shuralyov <a href="mailto:[email protected]">[email protected]</a><br>
Reviewed-by: Alan Donovan <a href="mailto:[email protected]">[email protected]</a><br>
Auto-Submit: Alan Donovan <a href="mailto:[email protected]">[email protected]</a><br>
LUCI-TryBot-Result: Go LUCI <a href="mailto:[email protected]">[email protected]</a></p>xieyuschentag:github.com,2008:Repository/45226685/v0.14.02025-04-07T16:20:50Zv0.14.0: errgroup: propagate panic and Goexit through Wait<p>Recovered panic values are wrapped and saved in Group.<br>
Goexits are detected by a sentinel value set after the given function<br>
returns normally. Wait propagates the first instance of a panic or<br>
Goexit.</p>
<p>According to the runtime.Goexit after the code will not be executed,<br>
with a bool, if f not call runtime.Goexit, is true,<br>
determine whether to propagate runtime.Goexit.</p>
<p>Fixes <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1299318507" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/53757" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/53757/hovercard" href="https://github.com/golang/go/issues/53757">golang/go#53757</a></p>
<p>Change-Id: Ic6426fc014fd1c4368ebaceef5b0d6163770a099<br>
Reviewed-on: <a href="https://go-review.googlesource.com/c/sync/+/644575" rel="nofollow">https://go-review.googlesource.com/c/sync/+/644575</a><br>
Reviewed-by: Sean Liao <a href="mailto:[email protected]">[email protected]</a><br>
Auto-Submit: Alan Donovan <a href="mailto:[email protected]">[email protected]</a><br>
Commit-Queue: Alan Donovan <a href="mailto:[email protected]">[email protected]</a><br>
Reviewed-by: Alan Donovan <a href="mailto:[email protected]">[email protected]</a><br>
Reviewed-by: Dmitri Shuralyov <a href="mailto:[email protected]">[email protected]</a><br>
LUCI-TryBot-Result: Go LUCI <a href="mailto:[email protected]">[email protected]</a></p>qiulaidongfengtag:github.com,2008:Repository/45226685/v0.13.02025-04-02T15:05:34Zv0.13.0: errgroup: document calling Go before Wait<p>Fixes <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2649413924" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/70284" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/70284/hovercard" href="https://github.com/golang/go/issues/70284">golang/go#70284</a></p>
<p>Change-Id: I31d60ea182226c032b0ffbddcbb5b53675dfd5e6<br>
Reviewed-on: <a href="https://go-review.googlesource.com/c/sync/+/660075" rel="nofollow">https://go-review.googlesource.com/c/sync/+/660075</a><br>
LUCI-TryBot-Result: Go LUCI <a href="mailto:[email protected]">[email protected]</a><br>
Reviewed-by: Alan Donovan <a href="mailto:[email protected]">[email protected]</a><br>
Auto-Submit: Damien Neil <a href="mailto:[email protected]">[email protected]</a><br>
Reviewed-by: Damien Neil <a href="mailto:[email protected]">[email protected]</a></p>seankhliaotag:github.com,2008:Repository/45226685/v0.12.02025-03-04T23:33:19Zv0.12.0: errgroup: drop support for Go versions before 1.20<p>Change-Id: I7de5dfae21c4ffe31d6c16e3df0fed3e2269cb16<br>
Reviewed-on: <a href="https://go-review.googlesource.com/c/sync/+/654421" rel="nofollow">https://go-review.googlesource.com/c/sync/+/654421</a><br>
LUCI-TryBot-Result: Go LUCI <a href="mailto:[email protected]">[email protected]</a><br>
Reviewed-by: Ian Lance Taylor <a href="mailto:[email protected]">[email protected]</a><br>
Auto-Submit: Ian Lance Taylor <a href="mailto:[email protected]">[email protected]</a><br>
Commit-Queue: Ian Lance Taylor <a href="mailto:[email protected]">[email protected]</a><br>
Reviewed-by: Dmitri Shuralyov <a href="mailto:[email protected]">[email protected]</a><br>
Reviewed-by: Dmitri Shuralyov <a href="mailto:[email protected]">[email protected]</a></p>ianlancetaylortag:github.com,2008:Repository/45226685/v0.11.02025-01-17T15:49:37Zv0.11.0: sync/errgroup: improve documentation for semaphore limit behavior<p>Updated the documentation for <code>SetLimit</code> and <code>Go</code> functions in the<br>
<code>errgroup</code> package. the note clarifies the behavior when the semaphore<br>
limit is set to zero, which could lead to a deadlock if not handled<br>
properly. the updated documentation warns users to set a positive<br>
semaphore limit to avoid blocking goroutines and potential deadlock</p>
<p>this change improves the clarity of API and helps users understand how<br>
to properly use the semaphore limit to prevent issues in concurrent<br>
execution</p>
<p>Change-Id: Ie62acc38ef804b3590c04bddba00a3cce21e8cef<br>
Reviewed-on: <a href="https://go-review.googlesource.com/c/sync/+/642215" rel="nofollow">https://go-review.googlesource.com/c/sync/+/642215</a><br>
Reviewed-by: Michael Knyszek <a href="mailto:[email protected]">[email protected]</a><br>
LUCI-TryBot-Result: Go LUCI <a href="mailto:[email protected]">[email protected]</a><br>
Reviewed-by: Ian Lance Taylor <a href="mailto:[email protected]">[email protected]</a><br>
Auto-Submit: Ian Lance Taylor <a href="mailto:[email protected]">[email protected]</a></p>berbreik