Releases: alitto/pond
Releases 路 alitto/pond
Release 1.8.3
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
Changes included
- Synchronize read & write of
TaskGroupWithContext
's err variable #37 (thanks @thekondor 馃)
Release 1.8.1
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
- 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
Changes included
- Moved benchmarks to a separate repository https://github.com/alitto/pond-benchmark
- Set up CodeQL action
Release 1.7.1
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
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
Changes included:
- Improve handling of tasks submitted to a stopped pool
- Sending a task using
Submit()
will panic withErrSubmitOnStoppedPool
if the pool has been stopped. - Sending a task using
TrySubmit()
will returnfalse
if the pool has been stopped.
- Sending a task using
- Update dependencies in benchmark package
Release 1.6.0
Changes included:
- Upgrade version of go to 1.17
- Fix flaky test
Release 1.5.1
Changes included:
- Prevent
waitingTasks
counter to wrap around (fixes #12) - Upgrade version of go to 1.16