Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: sourcegraph/conc

v0.3.0

26 Feb 02:46
@bobheadxi bobheadxi
7b8c8f2
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

Some notable changes in this release:

  • pool: All pool types now panic if configured after use.
  • pool: ContextPool and ResultContextPool now always cancels its context when Wait() returns.
  • pool: ContextPool and ResultContextPool now cancels its context when a task panics.
  • panics: panics.RecoveredPanic and panics.NewRecoveredPanic(...) have been renamed panics.Recovered and panics.NewRecovered(...) respectively.
  • panics: panics.Recovered no longer implements error directly, which would previously have unintended side effects - instead, it can be converted into an error implementation explicitly with (*Recovered).AsError().
  • panics: Added a package-level panics.Try(...) for recovering from panics from a single function.
  • multierrors: For pools that return multiple errors:

Full changelog: v0.2.0...v0.3.0

Some of the changes listed above are breaking changes - this package is currently pre-1.0, and there are likely to be other breaking changes before a 1.0 release as we stabilize the APIs and tweak defaults. Please open an issue if you have questions, concerns, or requests that you'd like addressed before the 1.0 release. Currently, a 1.0 is targeted for March 2023.

Assets 2
Loading
stefanwuthrich, ShadowUser17, sudhirj, theblackturtle, allcapsc, zhongdai, majunmin, BolajiOlajide, ian-moh, and wavemoroc001 reacted with thumbs up emoji allcapsc reacted with laugh emoji allcapsc and xyjjyyy reacted with hooray emoji allcapsc reacted with heart emoji allcapsc reacted with rocket emoji allcapsc reacted with eyes emoji
11 people reacted

v0.2.0

17 Jan 19:18
@bobheadxi bobheadxi
e5ed75f
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

Some notable changes in this release:

  • pool: ContextPool and ResultContextPool no longer cancel on the first task that errors by default. To enable cancellation on first error, use WithCancelOnError.
  • panics: conc.PanicCatcher and conc.RecoveredPanic have been moved to a new subpackage, panics.
  • iter: Added iter.Iterator and iter.Mapper for configurable concurrency on ForEach, Map, and friends. The top-level iter.ForEach, etc will continue to work as before.
  • conc: Added WaitGroup.WaitAndRecover, which returns any recovered panics instead of re-panicking them.

Full changelog: v0.1.0...v0.2.0

Some of the changes listed above are breaking changes - this package is currently pre-1.0, and there are likely to be other breaking changes before a 1.0 release as we stabilize the APIs and tweak defaults. Please open an issue if you have questions, concerns, or requests that you'd like addressed before the 1.0 release. Currently, a 1.0 is targeted for March 2023.

Loading
gaby, craigpastro, iusztin, and vkumov reacted with hooray emoji camdencheek, sashamelentyev, FHDOSH, gaby, and smjure reacted with rocket emoji ShadowUser17, fernandez14, and xyjjyyy reacted with eyes emoji
11 people reacted

v0.1.0

02 Jan 23:18
@camdencheek camdencheek
abf5cac
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

Create go.yml
Loading

AltStyle によって変換されたページ (->オリジナル) /