Open ethpandaops-renovatebot[bot] opened 11 months ago
In order to perform the update(s) described in the table above, Renovate ran the go get
command, which resulted in the following additional change(s):
Details:
Package | Change |
---|---|
github.com/stretchr/testify |
v1.8.4 -> v1.9.0 |
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ Warning: custom changes will be lost.
This PR contains the following updates:
v1.18.0
->v2.11.0
Release Notes
go-co-op/gocron (github.com/go-co-op/gocron)
### [`v2.11.0`](https://togithub.com/go-co-op/gocron/releases/tag/v2.11.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.10.1...v2.11.0) #### Features - `WithStopAt` added to `JobOption`'s to allow giving a time for jobs to stop running by [@Higan](https://togithub.com/Higan) in [https://github.com/go-co-op/gocron/pull/760](https://togithub.com/go-co-op/gocron/pull/760) #### Fixes - Fix typo in security policy by [@deining](https://togithub.com/deining) in [https://github.com/go-co-op/gocron/pull/759](https://togithub.com/go-co-op/gocron/pull/759) #### Internal - internal refactoring by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/761](https://togithub.com/go-co-op/gocron/pull/761) #### New Contributors - [@deining](https://togithub.com/deining) made their first contribution in [https://github.com/go-co-op/gocron/pull/759](https://togithub.com/go-co-op/gocron/pull/759) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.10.1...v2.11.0 ### [`v2.10.1`](https://togithub.com/go-co-op/gocron/releases/tag/v2.10.1) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.10.0...v2.10.1) #### What's Changed - fix validation of variadic parameters when the type is interfaceby [@apocelipes](https://togithub.com/apocelipes) in [https://github.com/go-co-op/gocron/pull/757](https://togithub.com/go-co-op/gocron/pull/757) #### New Contributors - [@apocelipes](https://togithub.com/apocelipes) made their first contribution in [https://github.com/go-co-op/gocron/pull/757](https://togithub.com/go-co-op/gocron/pull/757) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.10.0...v2.10.1 ### [`v2.10.0`](https://togithub.com/go-co-op/gocron/releases/tag/v2.10.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.9.0...v2.10.0) #### What's Changed - issue-677: support task creation with variadic args by [@Higan](https://togithub.com/Higan) in [https://github.com/go-co-op/gocron/pull/755](https://togithub.com/go-co-op/gocron/pull/755) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.9.0...v2.10.0 ### [`v2.9.0`](https://togithub.com/go-co-op/gocron/releases/tag/v2.9.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.8.0...v2.9.0) #### What's Changed - issue-751: speed up rescheduling when time scheduling from is time.Zero by [@samuelattwood](https://togithub.com/samuelattwood) in [https://github.com/go-co-op/gocron/pull/752](https://togithub.com/go-co-op/gocron/pull/752) - feat: add WithIdentifier() as new job option by [@pcfreak30](https://togithub.com/pcfreak30) in [https://github.com/go-co-op/gocron/pull/754](https://togithub.com/go-co-op/gocron/pull/754) #### New Contributors - [@samuelattwood](https://togithub.com/samuelattwood) made their first contribution in [https://github.com/go-co-op/gocron/pull/752](https://togithub.com/go-co-op/gocron/pull/752) - [@pcfreak30](https://togithub.com/pcfreak30) made their first contribution in [https://github.com/go-co-op/gocron/pull/754](https://togithub.com/go-co-op/gocron/pull/754) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.8.0...v2.9.0 ### [`v2.8.0`](https://togithub.com/go-co-op/gocron/releases/tag/v2.8.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.7.1...v2.8.0) #### What's Changed - issue-747: Provide more details of ErrPanicRecovered by [@Higan](https://togithub.com/Higan) in [https://github.com/go-co-op/gocron/pull/749](https://togithub.com/go-co-op/gocron/pull/749) #### New Contributors - [@Higan](https://togithub.com/Higan) made their first contribution in [https://github.com/go-co-op/gocron/pull/749](https://togithub.com/go-co-op/gocron/pull/749) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.7.1...v2.8.0 ### [`v2.7.1`](https://togithub.com/go-co-op/gocron/releases/tag/v2.7.1) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.7.0...v2.7.1) #### What's Changed - issue-740: ascending time function by [@rbroggi](https://togithub.com/rbroggi) in [https://github.com/go-co-op/gocron/pull/744](https://togithub.com/go-co-op/gocron/pull/744) - fix jobs not starting on scheduler restart when using WithLimitConcurrentJobs by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/745](https://togithub.com/go-co-op/gocron/pull/745) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.7.0...v2.7.1 ### [`v2.7.0`](https://togithub.com/go-co-op/gocron/releases/tag/v2.7.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.6.0...v2.7.0) #### Added - issue-740: expand oneTimeJob to support multiple times by [@rbroggi](https://togithub.com/rbroggi) in [https://github.com/go-co-op/gocron/pull/741](https://togithub.com/go-co-op/gocron/pull/741) - [go doc](https://pkg.go.dev/github.com/go-co-op/gocron/v2#OneTimeJobStartDateTimes) #### Fixed - issue-742: bug in `NextRun` by [@rbroggi](https://togithub.com/rbroggi) in [https://github.com/go-co-op/gocron/pull/743](https://togithub.com/go-co-op/gocron/pull/743) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.6.0...v2.7.0 ### [`v2.6.0`](https://togithub.com/go-co-op/gocron/releases/tag/v2.6.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.5.0...v2.6.0) #### Added - after lock error listener by [@manuelarte](https://togithub.com/manuelarte) in [https://github.com/go-co-op/gocron/pull/734](https://togithub.com/go-co-op/gocron/pull/734) - [go doc](https://pkg.go.dev/github.com/go-co-op/gocron/v2#AfterLockError) - Add `AfterJobRunsWithPanic` by [@trungdlp-wolffun](https://togithub.com/trungdlp-wolffun) in [https://github.com/go-co-op/gocron/pull/733](https://togithub.com/go-co-op/gocron/pull/733) - [go doc](https://pkg.go.dev/github.com/go-co-op/gocron/v2#AfterJobRunsWithPanic) #### Fixed - issue-738: make withSeconds optional in cron-expression by [@rbroggi](https://togithub.com/rbroggi) in [https://github.com/go-co-op/gocron/pull/739](https://togithub.com/go-co-op/gocron/pull/739) - issue-736: moving validation of one-time to by [@rbroggi](https://togithub.com/rbroggi) in [https://github.com/go-co-op/gocron/pull/737](https://togithub.com/go-co-op/gocron/pull/737) #### Misc - Bump golangci/golangci-lint-action from 5.3.0 to 6.0.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-co-op/gocron/pull/730](https://togithub.com/go-co-op/gocron/pull/730) - remove circleci config by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/735](https://togithub.com/go-co-op/gocron/pull/735) #### New Contributors - [@manuelarte](https://togithub.com/manuelarte) made their first contribution in [https://github.com/go-co-op/gocron/pull/734](https://togithub.com/go-co-op/gocron/pull/734) - [@trungdlp-wolffun](https://togithub.com/trungdlp-wolffun) made their first contribution in [https://github.com/go-co-op/gocron/pull/733](https://togithub.com/go-co-op/gocron/pull/733) - [@rbroggi](https://togithub.com/rbroggi) made their first contribution in [https://github.com/go-co-op/gocron/pull/739](https://togithub.com/go-co-op/gocron/pull/739) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.5.0...v2.6.0 ### [`v2.5.0`](https://togithub.com/go-co-op/gocron/releases/tag/v2.5.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.4.1...v2.5.0) #### What's Changed - adding Job.NextRuns to provide n next run times by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/729](https://togithub.com/go-co-op/gocron/pull/729) - Bump golangci/golangci-lint-action from 4.0.0 to 5.3.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-co-op/gocron/pull/728](https://togithub.com/go-co-op/gocron/pull/728) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.4.1...v2.5.0 ### [`v2.4.1`](https://togithub.com/go-co-op/gocron/releases/tag/v2.4.1) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.4.0...v2.4.1) #### What's Changed - fix memory leak with singleton mode where job is sending duplicate reschedule requests by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/723](https://togithub.com/go-co-op/gocron/pull/723) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.4.0...v2.4.1 ### [`v2.4.0`](https://togithub.com/go-co-op/gocron/releases/tag/v2.4.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.3.0...v2.4.0) #### What's Changed - Added JobsWaitingInQueue in Scheduler by [@giri-vsr](https://togithub.com/giri-vsr) in [https://github.com/go-co-op/gocron/pull/721](https://togithub.com/go-co-op/gocron/pull/721) - don't trash the incoming slice, match what was done in NewAtTime by [@cloudkucooland](https://togithub.com/cloudkucooland) in [https://github.com/go-co-op/gocron/pull/724](https://togithub.com/go-co-op/gocron/pull/724) #### New Contributors - [@cloudkucooland](https://togithub.com/cloudkucooland) made their first contribution in [https://github.com/go-co-op/gocron/pull/724](https://togithub.com/go-co-op/gocron/pull/724) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.3.0...v2.4.0 ### [`v2.3.0`](https://togithub.com/go-co-op/gocron/releases/tag/v2.3.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.2.10...v2.3.0) #### What's Changed - Add Go 1.22 to test matrix by [@evgenymarkov](https://togithub.com/evgenymarkov) in [https://github.com/go-co-op/gocron/pull/714](https://togithub.com/go-co-op/gocron/pull/714) - Monitor: IncrementJob in case of skipped job run by [@giri-vsr](https://togithub.com/giri-vsr) in [https://github.com/go-co-op/gocron/pull/715](https://togithub.com/go-co-op/gocron/pull/715) - fix mocks import path by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/720](https://togithub.com/go-co-op/gocron/pull/720) #### New Contributors - [@evgenymarkov](https://togithub.com/evgenymarkov) made their first contribution in [https://github.com/go-co-op/gocron/pull/714](https://togithub.com/go-co-op/gocron/pull/714) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.2.10...v2.2.11 ### [`v2.2.10`](https://togithub.com/go-co-op/gocron/releases/tag/v2.2.10) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.2.9...v2.2.10) #### What's Changed - fix nextRun with singleton mode reporting incorrect time by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/705](https://togithub.com/go-co-op/gocron/pull/705) - Added Distributed Locker to JobOptions by [@giri-vsr](https://togithub.com/giri-vsr) in [https://github.com/go-co-op/gocron/pull/711](https://togithub.com/go-co-op/gocron/pull/711) #### New Contributors - [@giri-vsr](https://togithub.com/giri-vsr) made their first contribution in [https://github.com/go-co-op/gocron/pull/711](https://togithub.com/go-co-op/gocron/pull/711) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.2.9...v2.2.10 ### [`v2.2.9`](https://togithub.com/go-co-op/gocron/releases/tag/v2.2.9) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.2.8...v2.2.9) #### What's Changed - fix case where OneTimeJob with concurrent limit and limited runs fails to run by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/703](https://togithub.com/go-co-op/gocron/pull/703) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.2.8...v2.2.9 ### [`v2.2.8`](https://togithub.com/go-co-op/gocron/releases/tag/v2.2.8) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.2.7...v2.2.8) #### What's Changed - return an error if duration is zero by [@moyu-x](https://togithub.com/moyu-x) in [https://github.com/go-co-op/gocron/pull/701](https://togithub.com/go-co-op/gocron/pull/701) - properly report lastRun for limit type jobs and RunNow by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/700](https://togithub.com/go-co-op/gocron/pull/700) #### New Contributors - [@moyu-x](https://togithub.com/moyu-x) made their first contribution in [https://github.com/go-co-op/gocron/pull/701](https://togithub.com/go-co-op/gocron/pull/701) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.2.7...v2.2.8 ### [`v2.2.7`](https://togithub.com/go-co-op/gocron/releases/tag/v2.2.7) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.2.6...v2.2.7) #### What's Changed - Allow more time for requestJobCtx by [@drewgonzales360](https://togithub.com/drewgonzales360) in [https://github.com/go-co-op/gocron/pull/699](https://togithub.com/go-co-op/gocron/pull/699) - fix case where job removed causes panic when rescheduling by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/698](https://togithub.com/go-co-op/gocron/pull/698) #### New Contributors - [@drewgonzales360](https://togithub.com/drewgonzales360) made their first contribution in [https://github.com/go-co-op/gocron/pull/699](https://togithub.com/go-co-op/gocron/pull/699) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.2.6...v2.2.7 ### [`v2.2.6`](https://togithub.com/go-co-op/gocron/releases/tag/v2.2.6) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.2.5...v2.2.6) #### What's Changed - Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-co-op/gocron/pull/684](https://togithub.com/go-co-op/gocron/pull/684) - elector & locker were failing to send out when not leader by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/688](https://togithub.com/go-co-op/gocron/pull/688) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.2.5...v2.2.6 ### [`v2.2.5`](https://togithub.com/go-co-op/gocron/releases/tag/v2.2.5) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.2.4...v2.2.5) #### What's Changed - remove codecov by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/672](https://togithub.com/go-co-op/gocron/pull/672) - Bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-co-op/gocron/pull/675](https://togithub.com/go-co-op/gocron/pull/675) - fix cases where default on send out is resulting in job not going out by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/686](https://togithub.com/go-co-op/gocron/pull/686) - This fixes two bugs related to limit mode and singleton mode having jobs stop running **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.2.4...v2.2.5 ### [`v2.2.4`](https://togithub.com/go-co-op/gocron/releases/tag/v2.2.4) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.2.3...v2.2.4) #### What's Changed - correct AfterJobRuns doc by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/670](https://togithub.com/go-co-op/gocron/pull/670) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.2.3...v2.2.4 ### [`v2.2.3`](https://togithub.com/go-co-op/gocron/releases/tag/v2.2.3) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.2.2...v2.2.3) #### What's Changed - fix RunNow() when calling from a job returned by Jobs() by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/668](https://togithub.com/go-co-op/gocron/pull/668) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.2.2...v2.2.3 ### [`v2.2.2`](https://togithub.com/go-co-op/gocron/releases/tag/v2.2.2) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.2.1...v2.2.2) #### What's Changed - Bump github.com/google/uuid from 1.5.0 to 1.6.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-co-op/gocron/pull/664](https://togithub.com/go-co-op/gocron/pull/664) - fix unsafe map usage in singletonMode by [@JohnRoesler](https://togithub.com/JohnRoesler) & [@a3sroot](https://togithub.com/a3sroot) in [https://github.com/go-co-op/gocron/pull/665](https://togithub.com/go-co-op/gocron/pull/665) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.2.1...v2.2.2 ### [`v2.2.1`](https://togithub.com/go-co-op/gocron/releases/tag/v2.2.1) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.2.0...v2.2.1) #### What's Changed - fix monthly jobs when counting days from the end by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/662](https://togithub.com/go-co-op/gocron/pull/662) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.2.0...v2.2.1 ### [`v2.2.0`](https://togithub.com/go-co-op/gocron/releases/tag/v2.2.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.1.2...v2.2.0) #### What's Changed - wait for new job to be fully created before returning by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/658](https://togithub.com/go-co-op/gocron/pull/658) - BETA FEATURE: Add job monitor interface to allow for collecting job metrics by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/659](https://togithub.com/go-co-op/gocron/pull/659) - This is the first release of the monitor feature - it may be changed as initial implementations are created and feedback comes in **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.1.2...v2.2.0 ### [`v2.1.2`](https://togithub.com/go-co-op/gocron/releases/tag/v2.1.2) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.1.1...v2.1.2) #### Fixes - fix to handle when next ends up in the past by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/650](https://togithub.com/go-co-op/gocron/pull/650) - make the order of the returned jobs slice deterministic by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/652](https://togithub.com/go-co-op/gocron/pull/652) #### Documentation - refactor: fix indent by [@leedrum](https://togithub.com/leedrum) in [https://github.com/go-co-op/gocron/pull/649](https://togithub.com/go-co-op/gocron/pull/649) #### New Contributors - [@leedrum](https://togithub.com/leedrum) made their first contribution in [https://github.com/go-co-op/gocron/pull/649](https://togithub.com/go-co-op/gocron/pull/649) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.1.1...v2.1.2 ### [`v2.1.1`](https://togithub.com/go-co-op/gocron/releases/tag/v2.1.1) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.1.0...v2.1.1) #### What's Changed - [bump golang.org/x/exp](https://togithub.com/go-co-op/gocron/commit/7ee4c50f5785121eb4b5fb37ea79d13334c2143e) - [fixup Job and Scheduler interface docs](https://togithub.com/go-co-op/gocron/commit/a51820e30f6657d908f7051ceb92091c4abe6b8e) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.1.0...v2.1.1 ### [`v2.1.0`](https://togithub.com/go-co-op/gocron/releases/tag/v2.1.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.0.3...v2.1.0) #### What's Changed - add new features, OneTimeJob and Job.RunNow() by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/646](https://togithub.com/go-co-op/gocron/pull/646) #### Version bumps - Bump github/codeql-action from 2 to 3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-co-op/gocron/pull/644](https://togithub.com/go-co-op/gocron/pull/644) - Bump github.com/google/uuid from 1.4.0 to 1.5.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-co-op/gocron/pull/645](https://togithub.com/go-co-op/gocron/pull/645) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.0.3...v2.1.0 ### [`v2.0.3`](https://togithub.com/go-co-op/gocron/releases/tag/v2.0.3) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.0.2...v2.0.3) #### Fixes - fix weekly and monthly to handle midnight by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/643](https://togithub.com/go-co-op/gocron/pull/643) [#642](https://togithub.com/go-co-op/gocron/issues/642) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.0.2...v2.0.3 ### [`v2.0.2`](https://togithub.com/go-co-op/gocron/releases/tag/v2.0.2) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.0.1...v2.0.2) #### Fixes - fix: check function param length and type by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/638](https://togithub.com/go-co-op/gocron/pull/638) raised in [#637](https://togithub.com/go-co-op/gocron/issues/637) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.0.1...v2.0.2 ### [`v2.0.1`](https://togithub.com/go-co-op/gocron/releases/tag/v2.0.1) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v2.0.0...v2.0.1) #### Fixes - daily job next logic failed to consider 1 midnight attime by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/635](https://togithub.com/go-co-op/gocron/pull/635) #### Bumps - Bump actions/checkout from 3 to 4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-co-op/gocron/pull/631](https://togithub.com/go-co-op/gocron/pull/631) - Bump actions/setup-go from 4 to 5 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-co-op/gocron/pull/630](https://togithub.com/go-co-op/gocron/pull/630) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.0.0...v2.0.1 ### [`v2.0.0`](https://togithub.com/go-co-op/gocron/releases/tag/v2.0.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.37.0...v2.0.0) #### v2.0.0 It's here! 🎉 Take a look at the readme and godoc to see how the new version works! Please give feedback! (Reach out on slack if you're interested in contributing so we can coordinate work 😄 ) And open issues if you find any bugs or have features you'd like to see supported! #### New Contributors - [@AlphaNecron](https://togithub.com/AlphaNecron) made their first contribution in [https://github.com/go-co-op/gocron/pull/613](https://togithub.com/go-co-op/gocron/pull/613) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v2.0.0-alpha-1...v2.0.0 ### [`v1.37.0`](https://togithub.com/go-co-op/gocron/releases/tag/v1.37.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.36.1...v1.37.0) #### What's Changed - Ability to register for events associated with jobs during scheduling chain by [@drwpls](https://togithub.com/drwpls) in [https://github.com/go-co-op/gocron/pull/632](https://togithub.com/go-co-op/gocron/pull/632) #### New Contributors - [@drwpls](https://togithub.com/drwpls) made their first contribution in [https://github.com/go-co-op/gocron/pull/632](https://togithub.com/go-co-op/gocron/pull/632) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.36.1...v1.37.0 ### [`v1.36.1`](https://togithub.com/go-co-op/gocron/releases/tag/v1.36.1) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.36.0...v1.36.1) #### What's Changed - month first weekday bug by [@davemilller](https://togithub.com/davemilller) in [https://github.com/go-co-op/gocron/pull/628](https://togithub.com/go-co-op/gocron/pull/628) #### New Contributors - [@davemilller](https://togithub.com/davemilller) made their first contribution in [https://github.com/go-co-op/gocron/pull/628](https://togithub.com/go-co-op/gocron/pull/628) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.36.0...v1.36.1 ### [`v1.36.0`](https://togithub.com/go-co-op/gocron/releases/tag/v1.36.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.35.3...v1.36.0) #### What's Changed - Exposing job's scheduled unit and interval by [@chicknsoup](https://togithub.com/chicknsoup) in [https://github.com/go-co-op/gocron/pull/606](https://togithub.com/go-co-op/gocron/pull/606) #### New Contributors - [@chicknsoup](https://togithub.com/chicknsoup) made their first contribution in [https://github.com/go-co-op/gocron/pull/606](https://togithub.com/go-co-op/gocron/pull/606) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.35.3...v1.36.0 ### [`v1.35.3`](https://togithub.com/go-co-op/gocron/releases/tag/v1.35.3) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.35.2...v1.35.3) #### What's Changed - main branch renamed to v1 ([#593](https://togithub.com/go-co-op/gocron/issues/593)) by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/594](https://togithub.com/go-co-op/gocron/pull/594) - fix: set multi-weekdays bug about issue-590 by [@XiXiangFiles](https://togithub.com/XiXiangFiles) in [https://github.com/go-co-op/gocron/pull/592](https://togithub.com/go-co-op/gocron/pull/592) - Avoid allocations with `(*regexp.Regexp).MatchString` by [@Juneezee](https://togithub.com/Juneezee) in [https://github.com/go-co-op/gocron/pull/602](https://togithub.com/go-co-op/gocron/pull/602) - Bump github.com/google/uuid from 1.3.1 to 1.4.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-co-op/gocron/pull/604](https://togithub.com/go-co-op/gocron/pull/604) - fix(scheduler): ensure negative intervals given to `Every` return an immediate error [#600](https://togithub.com/go-co-op/gocron/issues/600) by [@husam-e](https://togithub.com/husam-e) in [https://github.com/go-co-op/gocron/pull/603](https://togithub.com/go-co-op/gocron/pull/603) #### New Contributors - [@Juneezee](https://togithub.com/Juneezee) made their first contribution in [https://github.com/go-co-op/gocron/pull/602](https://togithub.com/go-co-op/gocron/pull/602) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.35.2...v1.35.3 ### [`v1.35.2`](https://togithub.com/go-co-op/gocron/releases/tag/v1.35.2) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.35.1...v1.35.2) #### What's Changed - Revert "fix: setting weeks interval greater than 1 with a weekday, scheduling too early by [@XiXiangFiles](https://togithub.com/XiXiangFiles)" by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/591](https://togithub.com/go-co-op/gocron/pull/591) - This will require more testing and likely some rework of the week functionality. This change, while some might consider it a fix, broke the current behavior that has been relied upon. **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.35.1...v1.35.2 ### [`v1.35.1`](https://togithub.com/go-co-op/gocron/releases/tag/v1.35.1) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.35.0...v1.35.1) #### What's Changed - fix: setting weeks interval greater than 1 with a weekday, scheduling too early by [@XiXiangFiles](https://togithub.com/XiXiangFiles) in [https://github.com/go-co-op/gocron/pull/588](https://togithub.com/go-co-op/gocron/pull/588) - fix concurrent access to jobs map by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/589](https://togithub.com/go-co-op/gocron/pull/589) #### New Contributors - [@XiXiangFiles](https://togithub.com/XiXiangFiles) made their first contribution in [https://github.com/go-co-op/gocron/pull/588](https://togithub.com/go-co-op/gocron/pull/588) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.35.0...v1.35.1 ### [`v1.35.0`](https://togithub.com/go-co-op/gocron/releases/tag/v1.35.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.34.2...v1.35.0) #### What's Changed - add GetName() to Job to expose job name by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/583](https://togithub.com/go-co-op/gocron/pull/583) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.34.2...v1.35.0 ### [`v1.34.2`](https://togithub.com/go-co-op/gocron/releases/tag/v1.34.2) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.34.1...v1.34.2) #### Fixes - fix: removing a job, the job was not being stopped with limit mode by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/573](https://togithub.com/go-co-op/gocron/pull/573) - fix Scheduler.NextRun() not returning the correct value ([#574](https://togithub.com/go-co-op/gocron/issues/574)) by [@bbaa-bbaa](https://togithub.com/bbaa-bbaa) in [https://github.com/go-co-op/gocron/pull/575](https://togithub.com/go-co-op/gocron/pull/575) #### New Contributors - [@bbaa-bbaa](https://togithub.com/bbaa-bbaa) made their first contribution in [https://github.com/go-co-op/gocron/pull/575](https://togithub.com/go-co-op/gocron/pull/575) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.34.1...v1.34.2 ### [`v1.34.1`](https://togithub.com/go-co-op/gocron/releases/tag/v1.34.1) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.34.0...v1.34.1) #### Fixes - docs: fix WaitMode and Milliseconds documentation by [@husam-e](https://togithub.com/husam-e) in [https://github.com/go-co-op/gocron/pull/570](https://togithub.com/go-co-op/gocron/pull/570) - reschedule limit mode was broken - fixing the inc/dec by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/572](https://togithub.com/go-co-op/gocron/pull/572) #### New Contributors - [@husam-e](https://togithub.com/husam-e) made their first contribution in [https://github.com/go-co-op/gocron/pull/570](https://togithub.com/go-co-op/gocron/pull/570) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.34.0...v1.34.1 ### [`v1.34.0`](https://togithub.com/go-co-op/gocron/releases/tag/v1.34.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.33.1...v1.34.0) #### What's Changed - feat: add election leader by [@rfyiamcool](https://togithub.com/rfyiamcool) in [https://github.com/go-co-op/gocron/pull/561](https://togithub.com/go-co-op/gocron/pull/561) #### Fixes - fix: block unlock with limit concurrency by [@rfyiamcool](https://togithub.com/rfyiamcool) in [https://github.com/go-co-op/gocron/pull/559](https://togithub.com/go-co-op/gocron/pull/559) - fix: data race for get jobs map by [@rfyiamcool](https://togithub.com/rfyiamcool) in [https://github.com/go-co-op/gocron/pull/558](https://togithub.com/go-co-op/gocron/pull/558) - fix RemoveByID and SingletonMode by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/569](https://togithub.com/go-co-op/gocron/pull/569) #### Chores - Bump actions/checkout from 3 to 4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-co-op/gocron/pull/560](https://togithub.com/go-co-op/gocron/pull/560) - docs: add stop and stopBlockingChan function by [@rfyiamcool](https://togithub.com/rfyiamcool) in [https://github.com/go-co-op/gocron/pull/556](https://togithub.com/go-co-op/gocron/pull/556) - docs: add WithDistributedElector usage by [@rfyiamcool](https://togithub.com/rfyiamcool) in [https://github.com/go-co-op/gocron/pull/563](https://togithub.com/go-co-op/gocron/pull/563) - remove beta note from WithDistributedLocker by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/562](https://togithub.com/go-co-op/gocron/pull/562) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.33.1...v1.33.2 ### [`v1.33.1`](https://togithub.com/go-co-op/gocron/releases/tag/v1.33.1) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.33.0...v1.33.1) #### What's Changed - fix more than 1 day before last day of month gets stuck in a loop by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/555](https://togithub.com/go-co-op/gocron/pull/555) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.33.0...v1.33.1 ### [`v1.33.0`](https://togithub.com/go-co-op/gocron/releases/tag/v1.33.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.32.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](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/549](https://togithub.com/go-co-op/gocron/pull/549) - every X days should run on the same day if the At() time has yet to come by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/553](https://togithub.com/go-co-op/gocron/pull/553) #### Documentation & Version Bumps - add additional documentation for wait for schedule by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/551](https://togithub.com/go-co-op/gocron/pull/551) - Bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-co-op/gocron/pull/545](https://togithub.com/go-co-op/gocron/pull/545) - Bump github.com/google/uuid from 1.3.0 to 1.3.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-co-op/gocron/pull/546](https://togithub.com/go-co-op/gocron/pull/546) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.32.1...v1.33.0 ### [`v1.32.1`](https://togithub.com/go-co-op/gocron/releases/tag/v1.32.1) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.32.0...v1.32.1) #### What's Changed - put Jobs() back to returning slice and add JobsMap() by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/544](https://togithub.com/go-co-op/gocron/pull/544) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.32.0...v1.32.1 ### [`v1.32.0`](https://togithub.com/go-co-op/gocron/releases/tag/v1.32.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.31.2...v1.32.0) #### What's Changed - add job uuids and change scheduler job slice to map by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/541](https://togithub.com/go-co-op/gocron/pull/541) - The `Swap()` and `Less()` 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. - support monthly schedules counting backwards from end of month by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/542](https://togithub.com/go-co-op/gocron/pull/542) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.31.2...v1.32.0 ### [`v1.31.2`](https://togithub.com/go-co-op/gocron/releases/tag/v1.31.2) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.31.1...v1.31.2) #### What's Changed - fix data race when job stopped due to LimitRunsTo by [@ryanrazsa](https://togithub.com/ryanrazsa) in [https://github.com/go-co-op/gocron/pull/540](https://togithub.com/go-co-op/gocron/pull/540) #### New Contributors - [@ryanrazsa](https://togithub.com/ryanrazsa) made their first contribution in [https://github.com/go-co-op/gocron/pull/540](https://togithub.com/go-co-op/gocron/pull/540) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.31.1...v1.31.2 ### [`v1.31.1`](https://togithub.com/go-co-op/gocron/releases/tag/v1.31.1) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.31.0...v1.31.1) #### What's Changed - Fixed panic handler not handling `SingletonMode` jobs by [@david-littlefarmer](https://togithub.com/david-littlefarmer) in [https://github.com/go-co-op/gocron/pull/536](https://togithub.com/go-co-op/gocron/pull/536) #### New Contributors - [@david-littlefarmer](https://togithub.com/david-littlefarmer) made their first contribution in [https://github.com/go-co-op/gocron/pull/536](https://togithub.com/go-co-op/gocron/pull/536) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.31.0...v1.31.1 ### [`v1.31.0`](https://togithub.com/go-co-op/gocron/releases/tag/v1.31.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.30.2...v1.31.0) #### What's Changed - feat: handle pointer to func by [@ErfanMomeniii](https://togithub.com/ErfanMomeniii) in [https://github.com/go-co-op/gocron/pull/531](https://togithub.com/go-co-op/gocron/pull/531) #### New Contributors - [@ErfanMomeniii](https://togithub.com/ErfanMomeniii) made their first contribution in [https://github.com/go-co-op/gocron/pull/531](https://togithub.com/go-co-op/gocron/pull/531) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.30.2...v1.31.0 ### [`v1.30.2`](https://togithub.com/go-co-op/gocron/releases/tag/v1.30.2) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.30.1...v1.30.2) #### What's Changed - fix Update when used with DoWithJobDetails by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/532](https://togithub.com/go-co-op/gocron/pull/532) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.30.1...v1.30.2 ### [`v1.30.1`](https://togithub.com/go-co-op/gocron/releases/tag/v1.30.1) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.30.0...v1.30.1) #### What's Changed - fix do job with details run times with singleton mode by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/521](https://togithub.com/go-co-op/gocron/pull/521) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.30.0...v1.30.1 ### [`v1.30.0`](https://togithub.com/go-co-op/gocron/releases/tag/v1.30.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.29.0...v1.30.0) #### What's Changed - add pause job execution on the scheduler by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/518](https://togithub.com/go-co-op/gocron/pull/518) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.29.0...v1.30.0 ### [`v1.29.0`](https://togithub.com/go-co-op/gocron/releases/tag/v1.29.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.28.3...v1.29.0) #### What's Changed - add new RegisterEventListeners using new EventListener type by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/517](https://togithub.com/go-co-op/gocron/pull/517) #### Chores - Bump golangci/golangci-lint-action from 3.5.0 to 3.6.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-co-op/gocron/pull/514](https://togithub.com/go-co-op/gocron/pull/514) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.28.3...v1.29.0 ### [`v1.28.3`](https://togithub.com/go-co-op/gocron/releases/tag/v1.28.3) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.28.2...v1.28.3) #### Bug fixes - fix race occurrence with singleton queue in executor by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/508](https://togithub.com/go-co-op/gocron/pull/508) - protect the job function's waitgroup with a mutex to avoid race conditions by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/512](https://togithub.com/go-co-op/gocron/pull/512) #### Chores - upgrade to golangci lint 1.53.1 by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/506](https://togithub.com/go-co-op/gocron/pull/506) - Bump golangci/golangci-lint-action from 3.4.0 to 3.5.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-co-op/gocron/pull/509](https://togithub.com/go-co-op/gocron/pull/509) - chore: don't do codeql scanning on push for dependabot branches by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/511](https://togithub.com/go-co-op/gocron/pull/511) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.28.2...v1.28.3 ### [`v1.28.2`](https://togithub.com/go-co-op/gocron/releases/tag/v1.28.2) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.28.1...v1.28.2) #### What's Changed - bugfix: check if the duration is zero before dividing with `StartAt` by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/505](https://togithub.com/go-co-op/gocron/pull/505) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.28.1...v1.28.2 ### [`v1.28.1`](https://togithub.com/go-co-op/gocron/releases/tag/v1.28.1) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.28.0...v1.28.1) #### What's Changed - fix: atTime being incorrectly set for non compatible units by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/502](https://togithub.com/go-co-op/gocron/pull/502) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.28.0...v1.28.1 ### [`v1.28.0`](https://togithub.com/go-co-op/gocron/releases/tag/v1.28.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.27.1...v1.28.0) #### What's Changed - add Job.PreivousRun() to expose the job run time prior to LastRun() by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/498](https://togithub.com/go-co-op/gocron/pull/498) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.27.1...v1.28.0 ### [`v1.27.1`](https://togithub.com/go-co-op/gocron/releases/tag/v1.27.1) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.27.0...v1.27.1) #### What's Changed ##### fixed - fix: add timer stop to avoid leak by [@rfyiamcool](https://togithub.com/rfyiamcool) in [https://github.com/go-co-op/gocron/pull/487](https://togithub.com/go-co-op/gocron/pull/487) - Harden the scheduler test case by [@git-hulk](https://togithub.com/git-hulk) in [https://github.com/go-co-op/gocron/pull/488](https://togithub.com/go-co-op/gocron/pull/488) ##### docs updated - docs: code comment for Name() by [@rfyiamcool](https://togithub.com/rfyiamcool) in [https://github.com/go-co-op/gocron/pull/489](https://togithub.com/go-co-op/gocron/pull/489) - clarify in docs that Every starts immediately by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/491](https://togithub.com/go-co-op/gocron/pull/491) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.27.0...v1.27.1 ### [`v1.27.0`](https://togithub.com/go-co-op/gocron/releases/tag/v1.27.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.26.0...v1.27.0) #### What's Changed - replace time sleep instances with time after / ctx done select by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/482](https://togithub.com/go-co-op/gocron/pull/482) - move support back for go 1.16 by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/484](https://togithub.com/go-co-op/gocron/pull/484) - remove redis lock as it has its own repo now by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/485](https://togithub.com/go-co-op/gocron/pull/485) - `go get github.com/go-co-op/gocron-redis-lock` - import as `redislock "github.com/go-co-op/gocron-redis-lock"` **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.26.0...v1.27.0 ### [`v1.26.0`](https://togithub.com/go-co-op/gocron/releases/tag/v1.26.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.25.0...v1.26.0) #### What's Changed ##### New Features - Distributed locking works with max concurrent jobs by [@git-hulk](https://togithub.com/git-hulk) in [https://github.com/go-co-op/gocron/pull/471](https://togithub.com/go-co-op/gocron/pull/471) - Add new job Name function, which is used for the distributed lock key by [@git-hulk](https://togithub.com/git-hulk) in [https://github.com/go-co-op/gocron/pull/478](https://togithub.com/go-co-op/gocron/pull/478) ##### Fixes - Rename timeHelper.go to time_helper.go for keeping consistent naming style by [@git-hulk](https://togithub.com/git-hulk) in [https://github.com/go-co-op/gocron/pull/467](https://togithub.com/go-co-op/gocron/pull/467) - fix: atomic.Bool for scheduler.running by [@rfyiamcool](https://togithub.com/rfyiamcool) in [https://github.com/go-co-op/gocron/pull/470](https://togithub.com/go-co-op/gocron/pull/470) - Fix data race in executor with enabling the limit mode by [@git-hulk](https://togithub.com/git-hulk) in [https://github.com/go-co-op/gocron/pull/474](https://togithub.com/go-co-op/gocron/pull/474) - fix: executor run block when executor.stop() by [@rfyiamcool](https://togithub.com/rfyiamcool) in [https://github.com/go-co-op/gocron/pull/475](https://togithub.com/go-co-op/gocron/pull/475) - fix: clear the limitModeQueue chan on stop by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/477](https://togithub.com/go-co-op/gocron/pull/477) - fix: deadlock for blocking channel by [@rfyiamcool](https://togithub.com/rfyiamcool) in [https://github.com/go-co-op/gocron/pull/473](https://togithub.com/go-co-op/gocron/pull/473) - fix the flakey at time tests by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/481](https://togithub.com/go-co-op/gocron/pull/481) ##### Documentation - docs: add CronWithSeconds example in readme.md by [@rfyiamcool](https://togithub.com/rfyiamcool) in [https://github.com/go-co-op/gocron/pull/469](https://togithub.com/go-co-op/gocron/pull/469) - enhance the locker documentation by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/480](https://togithub.com/go-co-op/gocron/pull/480) #### New Contributors - [@git-hulk](https://togithub.com/git-hulk) made their first contribution in [https://github.com/go-co-op/gocron/pull/467](https://togithub.com/go-co-op/gocron/pull/467) - [@rfyiamcool](https://togithub.com/rfyiamcool) made their first contribution in [https://github.com/go-co-op/gocron/pull/469](https://togithub.com/go-co-op/gocron/pull/469) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.25.0...v1.26.0 ### [`v1.25.0`](https://togithub.com/go-co-op/gocron/releases/tag/v1.25.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.24.0...v1.25.0) #### What's Changed - move lockers to sub module by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/466](https://togithub.com/go-co-op/gocron/pull/466) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.24.0...v1.25.0 ### [`v1.24.0`](https://togithub.com/go-co-op/gocron/releases/tag/v1.24.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.23.0...v1.24.0) #### What's Changed - update golangci-lint rules by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/461](https://togithub.com/go-co-op/gocron/pull/461) - add locker for distributed scheduling by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/463](https://togithub.com/go-co-op/gocron/pull/463) - updates all error strings to be prefixed with ` gocron: ` - error types don't change and will still evaluate with `errors.Is()` **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.23.0...v1.24.0 ### [`v1.23.0`](https://togithub.com/go-co-op/gocron/releases/tag/v1.23.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.22.4...v1.23.0) #### What's Changed - provide access to job context by [@cristiprg](https://togithub.com/cristiprg) in [https://github.com/go-co-op/gocron/pull/460](https://togithub.com/go-co-op/gocron/pull/460) - upgrade go version to 1.20 by [@cristiprg](https://togithub.com/cristiprg) in [https://github.com/go-co-op/gocron/pull/459](https://togithub.com/go-co-op/gocron/pull/459) #### New Contributors - [@cristiprg](https://togithub.com/cristiprg) made their first contribution in [https://github.com/go-co-op/gocron/pull/460](https://togithub.com/go-co-op/gocron/pull/460) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.22.4...v1.23.0 ### [`v1.22.4`](https://togithub.com/go-co-op/gocron/releases/tag/v1.22.4) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.22.3...v1.22.4) #### What's Changed - fix singleton and limit modes by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/458](https://togithub.com/go-co-op/gocron/pull/458) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.22.3...v1.22.4 ### [`v1.22.3`](https://togithub.com/go-co-op/gocron/releases/tag/v1.22.3) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.22.2...v1.22.3) #### What's Changed - refactor/fix the max concurrent jobs executor func by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/456](https://togithub.com/go-co-op/gocron/pull/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**: https://github.com/go-co-op/gocron/compare/v1.22.2...v1.22.3 ### [`v1.22.2`](https://togithub.com/go-co-op/gocron/releases/tag/v1.22.2) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.22.1...v1.22.2) #### What's Changed - Add star history to readme by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/454](https://togithub.com/go-co-op/gocron/pull/454) - rework the exectuor stopping to use context with cancel and wait groups instead of stop chans by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/455](https://togithub.com/go-co-op/gocron/pull/455) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.22.1...v1.22.2 ### [`v1.22.1`](https://togithub.com/go-co-op/gocron/releases/tag/v1.22.1) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.22.0...v1.22.1) #### What's Changed - allow scheduler functions pertaining to a job to be called in any order by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/453](https://togithub.com/go-co-op/gocron/pull/453) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.22.0...v1.22.1 ### [`v1.22.0`](https://togithub.com/go-co-op/gocron/releases/tag/v1.22.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.21.1...v1.22.0) #### What's Changed - Fix build badge in readme by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/450](https://togithub.com/go-co-op/gocron/pull/450) - fix singleton mode to avoid goroutine leaks, and provide accurate run counts by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/451](https://togithub.com/go-co-op/gocron/pull/451) - add FinishedRunCount() to job by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/452](https://togithub.com/go-co-op/gocron/pull/452) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.21.1...v1.22.0 ### [`v1.21.1`](https://togithub.com/go-co-op/gocron/releases/tag/v1.21.1) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.21.0...v1.21.1) #### What's Changed - fix random interval where lastRun ends up in the past by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/449](https://togithub.com/go-co-op/gocron/pull/449) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.21.0...v1.21.1 ### [`v1.21.0`](https://togithub.com/go-co-op/gocron/releases/tag/v1.21.0) #### What's Changed - when Week() is called without At(), but StartAt() is called, use StartAt() offset by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/448](https://togithub.com/go-co-op/gocron/pull/448) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.20.0...v1.21.0 ### [`v1.20.0`](https://togithub.com/go-co-op/gocron/releases/tag/v1.20.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.19.1...v1.20.0) #### What's Changed - add func for getting all tags by [@jzbyers](https://togithub.com/jzbyers) in [https://github.com/go-co-op/gocron/pull/443](https://togithub.com/go-co-op/gocron/pull/443) - fix couple of tests that are flakey due to timing by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/445](https://togithub.com/go-co-op/gocron/pull/445) - fix issue where Weekday(), StartAt() and At() set at the same time result in unexpected run times by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/446](https://togithub.com/go-co-op/gocron/pull/446) - fix issue where At() without StartAt() never ran by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/447](https://togithub.com/go-co-op/gocron/pull/447) #### New Contributors - [@jzbyers](https://togithub.com/jzbyers) made their first contribution in [https://github.com/go-co-op/gocron/pull/443](https://togithub.com/go-co-op/gocron/pull/443) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.19.1...v1.20.0 ### [`v1.19.1`](https://togithub.com/go-co-op/gocron/releases/tag/v1.19.1) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.19.0...v1.19.1) #### What's Changed - Bump actions/setup-go from 3 to 4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-co-op/gocron/pull/436](https://togithub.com/go-co-op/gocron/pull/436) - handle case where last run would be in the future on a job update by [@JohnRoesler](https://togithub.com/JohnRoesler) in [https://github.com/go-co-op/gocron/pull/444](https://togithub.com/go-co-op/gocron/pull/444) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.19.0...v1.19.1 ### [`v1.19.0`](https://togithub.com/go-co-op/gocron/releases/tag/v1.19.0) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.18.1...v1.19.0) #### What's Changed - job: Pad `ScheduledAtTime(s)` with leading zeroes by [@gechr](https://togithub.com/gechr) in [https://github.com/go-co-op/gocron/pull/432](https://togithub.com/go-co-op/gocron/pull/432) - Fix a bug with scheduling next runs on daylight savings change days by [@andyy-gci](https://togithub.com/andyy-gci) in [https://github.com/go-co-op/gocron/pull/435](https://togithub.com/go-co-op/gocron/pull/435) #### New Contributors - [@gechr](https://togithub.com/gechr) made their first contribution in [https://github.com/go-co-op/gocron/pull/432](https://togithub.com/go-co-op/gocron/pull/432) - [@andyy-gci](https://togithub.com/andyy-gci) made their first contribution in [https://github.com/go-co-op/gocron/pull/435](https://togithub.com/go-co-op/gocron/pull/435) **Full Changelog**: https://github.com/go-co-op/gocron/compare/v1.18.1...v1.18.2 ### [`v1.18.1`](https://togithub.com/go-co-op/gocron/releases/tag/v1.18.1) [Compare Source](https://togithub.com/go-co-op/gocron/compare/v1.18.0...v1.18.1) #### What's Changed - Refactor any type / fix for callback test by [@AlexanderSutul](https://togithub.com/AlexanderSutul) in [https://github.com/go-co-op/gocron/pull/410](https://togithub.com/go-co-op/gocron/pull/410) - Bump golangci/golangci-lint-action from 3.3.0 to 3.4.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-co-op/gocron/pull/411](https://togithub.com/go-co-op/gocron/pull/411) - Fix flaky SetEventListeners test by [@zhsj](https://togithub.com/zhsj) in [https://github.com/go-co-op/gocron/pull/413](https://togithub.com/go-co-op/gocron/pull/413) - Fix flaky testAt by [@kennykarnama](https://togithub.com/kennykarnama) in [https://github.com/go-co-op/gocron/pull/419](https://togithub.com/go-co-op/gocron/pull/419) - Fix panic in getCurrentJob() by [@patrikhermansson](https://togithub.com/patrikhermansson) in [https://github.com/go-co-op/gocron/pull/426](https://togithub.com/go-co-op/gocron/pull/426) - Bump golang.org/x/sync from 0.0.0-20210220032951-036812b2e83c to 0.1.0 by [@dependabot](https://togithub.com/dependabot) in [https:Configuration
📅 Schedule: Branch creation - "every 2 weeks on Tuesday" in timezone Europe/Berlin, Automerge - "after 9am every weekday except Friday or Monday,before 11am every weekday except Friday or Monday" in timezone Europe/Berlin.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.