Releases: go-co-op/gocron
Releases · go-co-op/gocron
v1.35.0
What's Changed
- add GetName() to Job to expose job name by @JohnRoesler in #583
Full Changelog: v1.34.2...v1.35.0
v1.34.2
Fixes
- fix: removing a job, the job was not being stopped with limit mode by @JohnRoesler in #573
- fix Scheduler.NextRun() not returning the correct value (#574) by @bbaa-bbaa in #575
New Contributors
- @bbaa-bbaa made their first contribution in #575
Full Changelog: v1.34.1...v1.34.2
v1.34.1
Fixes
- docs: fix WaitMode and Milliseconds documentation by @husam-e in #570
- reschedule limit mode was broken - fixing the inc/dec by @JohnRoesler in #572
New Contributors
Full Changelog: v1.34.0...v1.34.1
v1.34.0
What's Changed
- feat: add election leader by @rfyiamcool in #561
Fixes
- fix: block unlock with limit concurrency by @rfyiamcool in #559
- fix: data race for get jobs map by @rfyiamcool in #558
- fix RemoveByID and SingletonMode by @JohnRoesler in #569
Chores
- Bump actions/checkout from 3 to 4 by @dependabot in #560
- docs: add stop and stopBlockingChan function by @rfyiamcool in #556
- docs: add WithDistributedElector usage by @rfyiamcool in #563
- remove beta note from WithDistributedLocker by @JohnRoesler in #562
Full Changelog: v1.33.1...v1.33.2
v1.33.1
What's Changed
- fix more than 1 day before last day of month gets stuck in a loop by @JohnRoesler in #555
Full Changelog: v1.33.0...v1.33.1
v1.33.0
What's Changed
- don't accept a *Job in Job for Update if the ptr address doesn't match by @JohnRoesler in #549
- every X days should run on the same day if the At() time has yet to come by @JohnRoesler in #553
Documentation & Version Bumps
- add additional documentation for wait for schedule by @JohnRoesler in #551
- Bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 by @dependabot in #545
- Bump github.com/google/uuid from 1.3.0 to 1.3.1 by @dependabot in #546
Full Changelog: v1.32.1...v1.33.0
v1.32.1
What's Changed
- put Jobs() back to returning slice and add JobsMap() by @JohnRoesler in #544
Full Changelog: v1.32.0...v1.32.1
v1.32.0
What's Changed
- add job uuids and change scheduler job slice to map by @JohnRoesler in #541
- The
Swap()
andLess()
methods were removed from the scheduler. These were public methods to enable slice sorting of the jobs in the scheduler. With the change to a map, they no longer have any use or value.
- The
- support monthly schedules counting backwards from end of month by @JohnRoesler in #542
Full Changelog: v1.31.2...v1.32.0
v1.31.2
What's Changed
- fix data race when job stopped due to LimitRunsTo by @ryanrazsa in #540
New Contributors
- @ryanrazsa made their first contribution in #540
Full Changelog: v1.31.1...v1.31.2
v1.31.1
What's Changed
- Fixed panic handler not handling
SingletonMode
jobs by @david-littlefarmer in #536
New Contributors
- @david-littlefarmer made their first contribution in #536
Full Changelog: v1.31.0...v1.31.1