Releases: cilium/workerpool
Releases · cilium/workerpool
v1.2.0
What's Changed
- doc: document how to cancel the context of the task funcs by @rolinh in #43
- add NewWithContext by @kaworu in #44
CI updates
- ci: update golangci-lint to v1.48.0, update to Go 1.19, enable more linters by @rolinh in #38
- ci: add dependabot for GitHub actions, update golangci-lint by @rolinh in #39
- ci: Bump actions/checkout from 3.2.0 to 3.3.0 by @dependabot in #40
- ci: Bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 by @dependabot in #41
- update golangci-lint to v1.51.1, test with Go 1.20 by @rolinh in #42
New Contributors
- @dependabot made their first contribution in #40
Full Changelog: v1.1.3...v1.2.0
v1.1.3
v1.1.2
Minor changes
- doc: improve package doc and add a note about unbounded task results by @rolinh in #30
- Avoid crash when running task with (*task).run == nil by @tklauser in #31
- reorder struct fields for optimal memory alignment by @rolinh in #33
Other changes
- ci: bump golangci-lint to 1.43.0 by @tklauser in #32
- ci: update Go to 1.18, golangci-lint to 1.45.2 by @tklauser in #34
- Wait for worker to be submitted in TestWorkerPoolLen by @tklauser in #35
- ci: enable more golangci-lint checkers, update config for Go 1.18 by @rolinh in #36
Full Changelog: v1.1.1...v1.1.2
v1.1.1
v1.1.0
Minor Changes:
Other Changes:
- .github: run tests on Go 1.17 (#27, @tklauser)
- .github: show diff when gofmt check fails (#20, @tklauser)
- ci: use golangci-lint for static checks (#28, @rolinh)
- ci: use latest versions (#26, @rolinh)
- Fail TestWorkerPoolLen if (*WorkerPool).Close fails (#24, @tklauser)
- Move example to the workerpool_test package (#25, @rolinh)
- Move tests into a separate package (#22, @tklauser)
- Run staticcheck as part of CI (#19, @tklauser)
- Test (*WorkerPool).Len after Close (#23, @tklauser)
v1.0.0
Initial stable release of package workerpool.
What's Changed
- Document Submit and Drain returning ErrClosed by @tklauser in #1
- Close tasks channel after WaitGroup.Wait by @tklauser in #3
- test: fix flaky drain test by @rolinh in #4
- Waiit for the "run" routine to return on Close by @rolinh in #5
- workerpool: add Cap() to retrieve the WorkerPool capacity by @kaworu in #7
- make Close() return an error when called more than once by @kaworu in #6
- Test Drain on already drained worker pool by @tklauser in #8
- tests cleanup by @kaworu in #9
- Test that New(n) with n ≤ 0 will panic by @tklauser in #10
- workerpool: refactor results to avoid unnecessary copy by @kaworu in #11
- add context to the task function signature by @rolinh in #12
- ci: update Go to 1.15.8 by @kaworu in #13
- cosmetic testing improvements by @kaworu in #14
- ci: update Go to 1.16 by @rolinh in #15
- .github: use matrix strategy and test with Go 1.15 as well by @tklauser in #16
- doc: remove experimental warning in the readme by @rolinh in #17
- doc: add Go doc reference and CI badges to the readme by @rolinh in #18
Full Changelog: https://github.com/cilium/workerpool/commits/v1.0.0