NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #1369 by repository stars
Latest stable
v1.3.0
Last release 1 months ago
19 Oct 2026
Release timing varies
gaps range from 2 weeks to 2.3 years
Most releases are documented
notes for 7 of 9 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
62 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
…pool is a programming error. They are not deprecated.
This release adds DoWait, fixes a data race between Do and Stop, and fixes several pacer pause bugs. There are no breaking API changes. The minimum Go version is still 1.26.
DoWait enqueues a task and waits for it to be executed. Unlike SubmitWait, it returns an error instead of panicking:
ErrStopped if the worker pool is already stopped.ErrStopped if Stop abandons the task before it runs, instead of blocking forever.StopWait, the queued task runs before DoWait returns.(#104)
SubmitWait panics instead of hanging when Stop abandons its task. SubmitWait now wraps DoWait and panics with its error. Previously, if Stop was called while a SubmitWait task was still queued, SubmitWait blocked forever. It now panics with ErrStopped. Use DoWait if tasks may be submitted while the pool is stopping. (#104)pacer.Pause may wait up to one pacing delay. Pause now waits for any caller already in Next to be released before it takes effect. This is what makes Pause reliable (see Fixes), and it never waits more than one delay.Do no longer races with Stop. Do sent on the internal task queue while Stop could be closing it, which the race detector reports. Do is now safe to call concurrently with Stop or StopWait: a task submitted while the pool is stopping is either accepted or rejected with ErrStopped. There is no measurable performance cost. (#103)Stopped no longer blocks while a Pause is waiting for an earlier pause. (#103)WaitingQueueSize uses a 64-bit counter. The waiting queue is unbounded, and the count previously used 32 bits. (#103)pacer.Pause now stops tasks from being released. Previously, the first task after Pause could still be released. After Pause returns, no paced task starts until Resume. (#100)pacer.Pause no longer waits behind every queued task. With many callers waiting in Next, Pause used to wait for all of them to be released first. It now waits for at most one. (#100)pacer.Resume does nothing when the pacer is not paused. Previously it blocked forever. (#101)Submit and SubmitWait are documented as panicking wrappers around Do and DoWait, for code where submitting to a stopped pool is a programming error. They are not deprecated. (#104)ErrStopped, calling Do during Stop, and tasks that panic are now documented. (#103)pacer examples use Do (#104), and the README install instructions are updated (#102).pacer tests and TestDoConcurrentStop run under testing/synctest, so they no longer wait in real time. (#100, #104)Full Changelog: https://github.com/gammazero/workerpool/compare/v1.2.2...v1.3.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
update codecov workflow and badge by @gammazero in https://github.com/gammazero/workerpool/pull/92
Full Changelog: https://github.com/gammazero/workerpool/compare/v1.2.1...v1.2.2
Nothing published for this version
Nothing published for this version
Nothing published for this version
configurable idle timeout by @gammazero in https://github.com/gammazero/workerpool/pull/90
Full Changelog: https://github.com/gammazero/workerpool/compare/v1.2.0...v1.2.1
Update tests to use testing/synctest to check for goroutine leaks
testing/synctest to check for goroutine leaksDo returns error if called on stopped workerpoolFull Changelog: https://github.com/gammazero/workerpool/compare/v1.1.3...v1.2.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fix tests not working with goleak
Full Changelog: https://github.com/gammazero/workerpool/compare/v1.1.2...v1.1.3
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Adds ability to pause task execution while still allowing new tasks to be queued.
Adds ability to pause task execution while still allowing new tasks to be queued.
Nothing published for this version
Nothing published for this version
Initial production release
Initial production release
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.