Releases: cilium/workerpool
Releases · cilium/workerpool
v1.3.0
There are no major changes with this new release except that the required Go version was updated from v1.15 to v1.22.
What's Changed
- update golangci-lint to v1.64.5, require Go v1.22 by @rolinh in #90
- ci: Bump actions/checkout from 3.3.0 to 3.4.0 by @dependabot in #47
- ci: Bump actions/checkout from 3.4.0 to 3.5.0 by @dependabot in #48
- ci: Bump actions/checkout from 3.5.0 to 3.5.1 by @dependabot in #49
- ci: Bump actions/checkout from 3.5.1 to 3.5.2 by @dependabot in #50
- ci: Bump actions/checkout from 3.5.2 to 3.5.3 by @dependabot in #53
- ci: Bump actions/checkout from 3.5.3 to 3.6.0 by @dependabot in #57
- ci: Bump actions/checkout from 3.6.0 to 4.0.0 by @dependabot in #58
- ci: Bump actions/checkout from 4.0.0 to 4.1.0 by @dependabot in #59
- ci: Bump actions/checkout from 4.1.0 to 4.1.1 by @dependabot in #60
- ci: Bump actions/checkout from 4.1.1 to 4.1.2 by @dependabot in #64
- ci: Bump actions/checkout from 4.1.2 to 4.1.3 by @dependabot in #65
- ci: Bump actions/checkout from 4.1.3 to 4.1.4 by @dependabot in #66
- ci: Bump actions/checkout from 4.1.4 to 4.1.5 by @dependabot in #70
- ci: Bump actions/checkout from 4.1.5 to 4.1.6 by @dependabot in #74
- ci: Bump actions/checkout from 4.1.6 to 4.1.7 by @dependabot in #75
- ci: Bump actions/checkout from 4.1.7 to 4.2.0 by @dependabot in #78
- ci: Bump actions/checkout from 4.2.0 to 4.2.1 by @dependabot in #80
- ci: Bump actions/checkout from 4.2.1 to 4.2.2 by @dependabot in #81
- ci: Bump actions/setup-go from 3.5.0 to 4.0.0 by @dependabot in #46
- ci: Bump actions/setup-go from 4.0.0 to 4.0.1 by @dependabot in #51
- ci: Bump actions/setup-go from 4.0.1 to 4.1.0 by @dependabot in #55
- ci: Bump actions/setup-go from 4.1.0 to 5.0.0 by @dependabot in #61
- ci: Bump actions/setup-go from 5.0.0 to 5.0.1 by @dependabot in #69
- ci: Bump actions/setup-go from 5.0.1 to 5.0.2 by @dependabot in #76
- ci: Bump actions/setup-go from 5.0.2 to 5.1.0 by @dependabot in #82
- ci: Bump actions/setup-go from 5.1.0 to 5.2.0 by @dependabot in #83
- ci: Bump actions/setup-go from 5.2.0 to 5.3.0 by @dependabot in #85
- ci: Bump golangci/golangci-lint-action from 3.4.0 to 3.5.0 by @dependabot in #52
- ci: Bump golangci/golangci-lint-action from 3.5.0 to 3.6.0 by @dependabot in #54
- ci: Bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 by @dependabot in #56
- ci: Bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 by @dependabot in #63
- ci: Bump golangci/golangci-lint-action from 4.0.0 to 5.0.0 by @dependabot in #67
- ci: Bump golangci/golangci-lint-action from 5.0.0 to 5.1.0 by @dependabot in #68
- ci: Bump golangci/golangci-lint-action from 5.1.0 to 6.0.1 by @dependabot in #73
- ci: Bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 by @dependabot in #77
- ci: Bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 by @dependabot in #79
- ci: Bump golangci/golangci-lint-action from 6.1.1 to 6.2.0 by @dependabot in #84
- ci: Bump golangci/golangci-lint-action from 6.2.0 to 6.3.0 by @dependabot in #87
- ci: Bump golangci/golangci-lint-action from 6.3.0 to 6.3.2 by @dependabot in #88
- ci: Bump golangci/golangci-lint-action from 6.3.2 to 6.3.3 by @dependabot in #89
Full Changelog: v1.2.0...v1.3.0
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