Releases: go-co-op/gocron
Releases · go-co-op/gocron
v1.14.0
What's Changed
- support different tz in one scheduler by @27149chen in #306
- Bump golangci/golangci-lint-action from 2.5.2 to 3.1.0 by @dependabot in #304
- Bump actions/setup-go from 2.2.0 to 3 by @dependabot in #303
- Bump actions/checkout from 2 to 3 by @dependabot in #309
- Add every first weekday of month (#274) by @AlexanderSutul in #310
- fixes #308 by @asad-urrahman in #311
- Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 by @dependabot in #316
- [refact] - move test to own fuction testMultipleAtTimesDecoding by @Streppel in #323
- Bump github/codeql-action from 1 to 2 by @dependabot in #324
- add DoWithJobDetails passes a copy of the job to the jobFunc by @JohnRoesler in #307
- Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 by @dependabot in #330
- add event listeners on before and after job executing by @AlexanderSutul in #328
- Added PanicHandler by @fenisteel in #335
- Bump github.com/stretchr/testify from 1.7.1 to 1.7.2 by @dependabot in #338
- add EveryRandom for random interval by @JohnRoesler in #339
New Contributors
- @27149chen made their first contribution in #306
- @asad-urrahman made their first contribution in #311
- @fenisteel made their first contribution in #335
Full Changelog: v1.13.0...v1.14.0
v1.13.0
What's Changed
- add RemoveByTagsAny removes jobs that match any one tag by @JohnRoesler in #291
- Bump actions/setup-go from 2.1.5 to 2.2.0 by @dependabot in #292
- fix month duration calculation error by @xwjdsh in #295
- fix weekday durationToNextRun error by @xwjdsh in #293
- fix weekday duration calculation error by @xwjdsh in #298
- fix month last day duration calculation error by @xwjdsh in #296
- feat: multiple At() times by @xwjdsh in #297
New Contributors
Full Changelog: v1.12.0...v1.13.0
v1.12.0
What's Changed
- Make FindJobsByTag exported by @calvinmclean in #268
- catch nils on job function creation failures by @JohnRoesler in #270
- handle error case better where every/cron is not called by @JohnRoesler in #271
- Bump actions/setup-go from 2.1.4 to 2.1.5 by @dependabot in #275
- Add .Midday() to schedule a task at 12:00 (#254) by @AlexanderSutul in #281
- add SingletonModeAll() to enable for all jobs on scheduler by @JohnRoesler in #288
New Contributors
- @AlexanderSutul made their first contribution in #281
Full Changelog: v1.11.0...v1.12.0
v1.11.0
What's Changed
- Allow removing Jobs that match multiple tags by @calvinmclean in #263
Full Changelog: v1.10.0...v1.11.0
v1.10.0
What's Changed
- CI check for formatting by @snOm3ad in #240
- add IsRunning() to report the job's state by @JohnRoesler in #233
- add checkout step to formatting action by @snOm3ad in #241
- fix some wording and formatting by @JohnRoesler in #247
- upgrade to go 1.17 by @JohnRoesler in #248
- added tests for executor and gocron by @GaruGaru in #249
- Append tags rather than overwriting by @calvinmclean in #253
- Add .MonthLastDay() to schedule a task at the end of each month by @mrngm in #250
New Contributors
- @snOm3ad made their first contribution in #240
- @GaruGaru made their first contribution in #249
- @mrngm made their first contribution in #250
Full Changelog: v1.9.0...v1.10.0
v1.9.0
v1.8.0
Added
- Add support for multiple days of the month (#228) ty @denizzengin
- add start immediately func (#229) @JohnRoesler
Changed
- only days 1 through 28 are allowed for monthly schedules (#221) @JohnRoesler
Fixed
- Handle slice bounds check causing panic when getting the current job is called before a job exists (#234) ty @denizzengin
Chores
- refactored workflows to consider 'main' as the default branch (#215) ty @arjunmahishi
- Bump actions/setup-go from 2.1.3 to 2.1.4 (#220) @dependabot
v1.7.1
Fixed
- Replace tag map with thread safe sync.map (#212) ty @djenriquez
- Catch time.AfterFunc firing early per wall clock time (#214) @JohnRoesler
- This is an exciting fix related to occurrences of jobs firing twice unexpectedly. TL;DR, the monotonic and wall clock times can be slightly out of sync causing functions like time.AfterFunc to fire "early" per the wall clock time, when it was accurate per monotonic time. Look into the PR + linked issues for more details.
v1.7.0
Changed
- always wait for the cron interval instead of starting immediately to mimmic actual cron behavior (#207) @JohnRoesler - ty to @andschneider for reporting!
Fixed
- Fix unique tag removal (#211) @JohnRoesler - ty to @indranil-elisity for reporting!
v1.6.2
Fixed
- handle creating a job after an update and delete (#194) @JohnRoesler