Releases: go-co-op/gocron
Releases · go-co-op/gocron
v1.24.0-rc1
What's Changed
- update golangci-lint rules by @JohnRoesler in #461
- add locker for distributed scheduling by @JohnRoesler in #463
Full Changelog: v1.23.0...v1.24.0-rc1
v1.24.0-rc2
What's Changed
- update golangci-lint rules by @JohnRoesler in #461
- add locker for distributed scheduling by @JohnRoesler in #463
Full Changelog: v1.23.0...v1.24.0-rc2
v1.23.0
What's Changed
- provide access to job context by @cristiprg in #460
- upgrade go version to 1.20 by @cristiprg in #459
New Contributors
- @cristiprg made their first contribution in #460
Full Changelog: v1.22.4...v1.23.0
v1.22.4
What's Changed
- fix singleton and limit modes by @JohnRoesler in #458
Full Changelog: v1.22.3...v1.22.4
v1.22.3
What's Changed
- refactor/fix the max concurrent jobs executor func by @JohnRoesler in #456
the existing limit mode was leaking goroutines due to the implementation spinning up a goroutine for each job whether or not it is blocked. So if there a lot of jobs being queued the goroutines will pile up.
this implementation uses a single goroutine limited job runner that reads jobs from a mutex protected slice and runs then when slots are available within the max concurrent runs limit.
Full Changelog: v1.22.2...v1.22.3
v1.22.2
What's Changed
- Add star history to readme by @JohnRoesler in #454
- rework the exectuor stopping to use context with cancel and wait groups instead of stop chans by @JohnRoesler in #455
Full Changelog: v1.22.1...v1.22.2
v1.22.1
What's Changed
- allow scheduler functions pertaining to a job to be called in any order by @JohnRoesler in #453
Full Changelog: v1.22.0...v1.22.1
v1.22.0
What's Changed
- Fix build badge in readme by @JohnRoesler in #450
- fix singleton mode to avoid goroutine leaks, and provide accurate run counts by @JohnRoesler in #451
- add FinishedRunCount() to job by @JohnRoesler in #452
Full Changelog: v1.21.1...v1.22.0
v1.21.1
What's Changed
- fix random interval where lastRun ends up in the past by @JohnRoesler in #449
Full Changelog: v1.21.0...v1.21.1
v1.21.0
What's Changed
- when Week() is called without At(), but StartAt() is called, use StartAt() offset by @JohnRoesler in #448
Full Changelog: v1.20.0...v1.21.0