Releases: go-co-op/gocron
Releases · go-co-op/gocron
v2.21.1
v2.21.0
What's Changed
- feat: add WithDSTPolicy option for DST spring-forward handling by @Copilot in #917
- feat: add IsRunning() and LastRunCompletedAt() to Job interface by @Copilot in #918
- feat: Expose job schedule information via
Schedule()method onJobinterface by @Copilot in #919
Test Suite
- test: enhancements to testing speed and reliablity by @JohnRoesler in #920
Full Changelog: v2.20.0...v2.21.0
v2.20.0
What's Changed
- feat: add ShutdownWithContext and StopJobsWithContext by @huynhanx03 in #913
Performance improvements
- perf: replace string allocation with bytes.Compare in Jobs() UUID sort by @huynhanx03 in #914
Fixes
- Fix CronJob duplicate execution during DST fall-back by @Copilot in #912
Docs
- docs: clarify NextRun/NextRuns require scheduler to be started by @Copilot in #910
New Contributors
- @huynhanx03 made their first contribution in #913
Full Changelog: v2.19.1...v2.20.0
v2.19.1
What's Changed
- [fix] race condition in
NextRun()when multiple jobs complete simultaneously by @barkhayot in #907 - Fix broken monitors link in README by @Copilot in #908
New Contributors
- @barkhayot made their first contribution in #907
Full Changelog: v2.19.0...v2.19.1
v2.19.0
What's Changed
- feat: add scheduler lifecycle monitoring <> #785 by @iyashjayesh in #889
- feat: expose default cron implementation by @JohnRoesler in #906
- build(deps): bump golangci/golangci-lint-action from 9.1.0 to 9.2.0 by @dependabot[bot] in #903
Full Changelog: v2.18.2...v2.19.0
v2.18.2
What's Changed
- build(deps): bump golangci/golangci-lint-action from 9.0.0 to 9.1.0 by @dependabot[bot] in #899
- build(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #898
- fix: calling start multiple times should no-op by @JohnRoesler in #901
Full Changelog: v2.18.1...v2.18.2
v2.18.1
What's Changed
- build(deps): bump golangci/golangci-lint-action from 8.0.0 to 9.0.0 by @dependabot[bot] in #894
- fix: WithStartDateTimePast now correctly calculates from past time by @JohnRoesler in #897
Full Changelog: v2.18.0...v2.18.1
v2.18.0
What's Changed
- feat: Add option to calculate intervals from job completion time for interval-based scheduling (fixes #565) by @iyashjayesh in #884
Fixes
- fix: limit validation for WithLimitedRuns by @OsipovMax in #893
Chores
- doc: add v1 to v2 migration guide by @JohnRoesler in #890
- tests: add more daylight savings time tests by @JohnRoesler in #891
- docs: add Articles & Blog Posts section to README by @iyashjayesh in #886
- Bump github/codeql-action from 3 to 4 by @dependabot[bot] in #883
New Contributors
- @OsipovMax made their first contribution in #893
Full Changelog: v2.17.0...v2.18.0
v2.17.0
What's Changed
- feat: add WithStartDateTimePast WithStartAt option by @JohnRoesler in #882
Performance Improvements
- Reusing the results of reflections to improve performance by @apocelipes in #873
Fixes
- fix: handle negative time.durations with error by @JohnRoesler in #878
- fix: multiple calls to shutdown should be no-op by @JohnRoesler in #880
Chores
- chore: go 1.23 is end of life - now go 1.24 by @JohnRoesler in #879
- Update README.md by @iyashjayesh in #875
New Contributors
- @iyashjayesh made their first contribution in #875
Full Changelog: v2.16.6...v2.17.0
v2.16.6
What's Changed
Chores
- Bump actions/setup-go from 5 to 6 by @dependabot[bot] in #871
New Contributors
Full Changelog: v2.16.5...v2.16.6