Skip to content

Releases: alitto/pond

Release 1.8.3

31 Jan 18:45
2fbcfba
Compare
Choose a tag to compare

Changes included

  • Fix submit onARM 32-bit cpus #39 - Thanks @mcuadros! 馃檶
  • Return Context error if it is canceled before at least 1 task failed #40 - Thanks @NOMORECOFFEE! 馃檶

Release 1.8.2

14 Oct 11:16
fbc6f5d
Compare
Choose a tag to compare

Changes included

  • Synchronize read & write of TaskGroupWithContext's err variable #37 (thanks @thekondor 馃)

Release 1.8.1

28 Aug 22:13
c7a74b9
Compare
Choose a tag to compare

Changes included

  • Fix for #33
  • Upgrade to go 1.19
  • Extracted counter updates from main worker function to make it simpler and more generic
  • Moved worker function to a separate file
  • Added Makefile with test targets

Release 1.8.0

09 May 23:13
Compare
Choose a tag to compare
  • Upgrade go version to 1.18
  • Implement new method in WorkerPool to create a group of tasks associated to a context GroupContext(ctx context.Context)
  • Move TaskGroup to a separate file
  • Move tests related to task groups to a separate file

Release 1.7.2

10 Apr 13:03
d4c09d4
Compare
Choose a tag to compare
Release 1.7.2 Pre-release
Pre-release

Changes included

Release 1.7.1

12 Mar 20:47
286125e
Compare
Choose a tag to compare

Changes included

  • Prevent "send on closed channel" panic in purger goroutine (#27)
  • Ensure all concurrent calls to StopAndWait() do block until all workers have stopped
  • Simplify logic in submit function

Release 1.7.0

02 Jan 14:57
Compare
Choose a tag to compare

Changes included

  • Added option to specify a parent context on a pool (pond.Context(parentCtx context.Context))
  • Added method to stop the pool and wait until a given deadline is reached (StopAndWaitFor(deadline time.Duration)
  • Migrated from Travis CI to Github Actions
  • Fixed typos in comments
  • Added a few sections to the Readme file

Release 1.6.1

26 Dec 13:58
Compare
Choose a tag to compare

Changes included:

  • Improve handling of tasks submitted to a stopped pool
    • Sending a task using Submit() will panic with ErrSubmitOnStoppedPool if the pool has been stopped.
    • Sending a task using TrySubmit() will return false if the pool has been stopped.
  • Update dependencies in benchmark package

Release 1.6.0

20 Nov 13:59
a646d99
Compare
Choose a tag to compare

Changes included:

  • Upgrade version of go to 1.17
  • Fix flaky test

Release 1.5.1

10 Jul 13:59
Compare
Choose a tag to compare

Changes included:

  • Prevent waitingTasks counter to wrap around (fixes #12)
  • Upgrade version of go to 1.16