Releases: alitto/pond
Releases · alitto/pond
Release v1.9.2
Changes included
- Fix bug that worker doesn't return after context cancel #71 - Thanks @hongkuancn!
- Drain tasks in an unblocked way to avoid data race #72 (fixes #70) - Again, thanks @hongkuancn! 🙌
Release v1.9.1
Changes included
- Return context in Stop() to notify user when everything has been stopped - PR: #67 - Closes: #63) - Thanks @CorentinClabaut 🙌
Release v1.9.0
Changes included
- Fix: clear pending tasks in the worker when the context is canceled to avoid deadlocks in StopAndWait when tasks are queued for the worker. PR: #62 - Thanks @CorentinClabaut! 🙌
- Fix errors in github actions workflow
- Bump max supported go version in tests to 1.22
- Rename default branch from
master
tomain
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