Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update module github.com/go-co-op/gocron to v1 #425

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 13, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
github.com/go-co-op/gocron require major v0.3.3 -> v1.9.0

Release Notes

go-co-op/gocron

v1.9.0

Compare Source

Changed

v1.8.0

Compare Source

Added
Changed
Fixed
  • Handle slice bounds check causing panic when getting the current job is called before a job exists (#​234) ty @​denizzengin
Chores

v1.7.1

Compare Source

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

Compare Source

Changed
Fixed

v1.6.2

Compare Source

Fixed

v1.6.1

Compare Source

Fixed

v1.6.0

Compare Source

Added
Fixed
Chores

v1.5.0

Compare Source

Added
  • add funcs for WaitForSchedule and WaitForScheduleAll to allow forcing jobs to wait for the first interval rather than running the job immediately (#​162) @​JohnRoesler

v1.4.0

Compare Source

Added
Fixed
Chores

v1.3.1

Compare Source

Fixed

v1.3.0

Compare Source

Added

v1.2.0

Compare Source

Added
Fixed
  • fixed the RemoveByTag function so that it removes all jobs with a given tag. Not just the first job encountered (#​149) @​arjunmahishi
Chores

v1.1.0

Compare Source

Added

v1.0.0

Compare Source

Here we go folks. Thanks for all the feedback as we've worked towards this major release. It's been a long time coming and it's finally here.

Keep the issue reports and feature requests coming! Keep on coding out there.

v0.8.0

Compare Source

Added
  • when multiple errors occur creating a job, they are now wrapped and returned (#​130) @​JohnRoesler
  • allowing the enforcement of unique tags when set through the scheduler with Scheduler.TagsUnique() (#​136) @​JohnRoesler
  • a new explicit interval func Milliseconds() - this was already available through Every(500ms) (#​137) @​JohnRoesler
Changed
  • the Job.Err func has been renamed Job.Error (#​137) @​JohnRoesler
  • the default behavior of LimitRunsTo removes the job from the scheduler (#​137) @​JohnRoesler
    • nothing can be done with a stopped job in the scheduler so we opted to remove the job instead
  • At() now accepts either string or time.Time (parses out only h,m,s) (#​137) @​JohnRoesler
Removed
Chores

v0.7.1

Compare Source

Fixed
Chores
  • Updated the readme with details around different job modes and combinations of schedule options (2a8757a) @​JohnRoesler

v0.7.0

Compare Source

Added
  • singleflight mode, if the same job tries to run again while a previous run hasn't finished yet, it will either wait to run or skip the run (#​123) thanks @​farwydi
  • the ability to limit the number of concurrent jobs, useful for resource intensive jobs (#​126) thanks @​dustin-decker
Changed
  • we now send jobs to a job executor through channels instead of handling them directly in the scheduler, allowing us to get rid of many mutexes (#​122) @​JohnRoesler
Fixed

v0.6.0

Compare Source

Added
Changed
  • sets the default unit to seconds (#​112) @​JohnRoesler
  • catches a bad interval of 0 with an error (#​112) @​JohnRoesler
  • clarified several function names and accepted values (#​121) @​JohnRoesler
    • The job Tag func now accepts a variadic string parameter instead of a slice
    • The scheduler SetTag is now Tag and also accepts a variadic string parameter
    • The scheduler RemoveJobByTag is now RemoveByTag to be consistent with Remove and RemoveByReference
    • The scheduler RunAllWithDelay func now accepts a time.Duration instead of an int representing seconds
    • The scheduler Scheduled func is now TaskPresent - scheduled was confusing name because until the scheduler is started, it's not actually "scheduled to run". Now you can check whether the task is present in the scheduler.
Fixed
Removed
Chores

v0.5.1

Compare Source

Fixed

v0.5.0

Compare Source

❗ A bug was discovered and patched in v0.5.1

Added
  • func to remove a particular job reference from the scheduler after the last execution of the job (#​90) - thanks @​dlaweb
Changed
Fixed
Removed
Chores

v0.4.0

Compare Source

Added
Changed
  • scheduleNextRun now uses duration (#​79) @​Streppel
  • Start jobs immediately by default - StartImmediately() has been deprecated (#​82) @​JohnRoesler
    • To achieve the prior behavior of starting after the interval, use StartAt()
      s := gocron.NewScheduler(time.UTC)
      _, _ = s.Every(1).Hour().StartAt(time.Now().Add(time.Hour() * 1)).Do(task)
      s.StartBlocking()
Fixed
Removed
Chores

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/github.com-go-co-op-gocron-1.x branch from fa70c75 to 55d4108 Compare March 26, 2021 17:08
@renovate renovate bot force-pushed the renovate/github.com-go-co-op-gocron-1.x branch 3 times, most recently from d60a749 to e2b3d90 Compare April 8, 2021 15:53
@renovate renovate bot force-pushed the renovate/github.com-go-co-op-gocron-1.x branch 2 times, most recently from c04a035 to 50a1087 Compare April 18, 2021 03:50
@renovate renovate bot force-pushed the renovate/github.com-go-co-op-gocron-1.x branch from 50a1087 to c448518 Compare May 7, 2021 13:57
@renovate renovate bot force-pushed the renovate/github.com-go-co-op-gocron-1.x branch from c448518 to e7c51d5 Compare May 17, 2021 12:58
@renovate renovate bot force-pushed the renovate/github.com-go-co-op-gocron-1.x branch from e7c51d5 to a241b98 Compare May 26, 2021 16:15
@renovate renovate bot force-pushed the renovate/github.com-go-co-op-gocron-1.x branch 2 times, most recently from 5fda014 to 0bcc21e Compare June 10, 2021 15:11
@renovate renovate bot force-pushed the renovate/github.com-go-co-op-gocron-1.x branch 3 times, most recently from 6f8bfb6 to db12b37 Compare July 13, 2021 01:05
@renovate renovate bot force-pushed the renovate/github.com-go-co-op-gocron-1.x branch from db12b37 to 6c2bf7d Compare July 27, 2021 17:51
@renovate renovate bot force-pushed the renovate/github.com-go-co-op-gocron-1.x branch from 6c2bf7d to ab7b6dc Compare August 17, 2021 22:51
@renovate renovate bot force-pushed the renovate/github.com-go-co-op-gocron-1.x branch from ab7b6dc to 315dfaf Compare August 27, 2021 19:29
@renovate renovate bot changed the title fix(deps): update module github.com/go-co-op/gocron to v1 fix(deps): update module github.com/go-co-op/gocron to v1 - autoclosed Aug 30, 2021
@renovate renovate bot closed this Aug 30, 2021
@renovate renovate bot deleted the renovate/github.com-go-co-op-gocron-1.x branch August 30, 2021 08:52
@renovate renovate bot changed the title fix(deps): update module github.com/go-co-op/gocron to v1 - autoclosed fix(deps): update module github.com/go-co-op/gocron to v1 Aug 30, 2021
@renovate renovate bot reopened this Aug 30, 2021
@renovate renovate bot restored the renovate/github.com-go-co-op-gocron-1.x branch August 30, 2021 10:32
@renovate renovate bot changed the title fix(deps): update module github.com/go-co-op/gocron to v1 fix(deps): update module github.com/go-co-op/gocron to v1 - autoclosed Aug 30, 2021
@renovate renovate bot closed this Aug 30, 2021
@renovate renovate bot deleted the renovate/github.com-go-co-op-gocron-1.x branch August 30, 2021 12:00
@renovate renovate bot changed the title fix(deps): update module github.com/go-co-op/gocron to v1 - autoclosed fix(deps): update module github.com/go-co-op/gocron to v1 Aug 30, 2021
@renovate renovate bot reopened this Aug 30, 2021
@renovate renovate bot restored the renovate/github.com-go-co-op-gocron-1.x branch August 30, 2021 12:58
@renovate renovate bot force-pushed the renovate/github.com-go-co-op-gocron-1.x branch from 315dfaf to 5c64927 Compare August 30, 2021 13:00
@renovate renovate bot deleted the renovate/github.com-go-co-op-gocron-1.x branch August 30, 2021 21:51
@renovate renovate bot changed the title fix(deps): update module github.com/go-co-op/gocron to v1 - autoclosed fix(deps): update module github.com/go-co-op/gocron to v1 Aug 30, 2021
@renovate renovate bot reopened this Aug 30, 2021
@renovate renovate bot restored the renovate/github.com-go-co-op-gocron-1.x branch August 30, 2021 23:01
@renovate renovate bot changed the title fix(deps): update module github.com/go-co-op/gocron to v1 fix(deps): update module github.com/go-co-op/gocron to v1 - autoclosed Aug 30, 2021
@renovate renovate bot closed this Aug 30, 2021
@renovate renovate bot deleted the renovate/github.com-go-co-op-gocron-1.x branch August 30, 2021 23:44
@renovate renovate bot changed the title fix(deps): update module github.com/go-co-op/gocron to v1 - autoclosed fix(deps): update module github.com/go-co-op/gocron to v1 Aug 31, 2021
@renovate renovate bot reopened this Aug 31, 2021
@renovate renovate bot restored the renovate/github.com-go-co-op-gocron-1.x branch August 31, 2021 00:44
@renovate renovate bot force-pushed the renovate/github.com-go-co-op-gocron-1.x branch from a36da65 to b88abaf Compare August 31, 2021 00:45
@renovate renovate bot changed the title fix(deps): update module github.com/go-co-op/gocron to v1 fix(deps): update module github.com/go-co-op/gocron to v1 - autoclosed Aug 31, 2021
@renovate renovate bot closed this Aug 31, 2021
@renovate renovate bot deleted the renovate/github.com-go-co-op-gocron-1.x branch August 31, 2021 02:00
@renovate renovate bot changed the title fix(deps): update module github.com/go-co-op/gocron to v1 - autoclosed fix(deps): update module github.com/go-co-op/gocron to v1 Aug 31, 2021
@renovate renovate bot reopened this Aug 31, 2021
@renovate renovate bot restored the renovate/github.com-go-co-op-gocron-1.x branch August 31, 2021 03:05
@renovate renovate bot changed the title fix(deps): update module github.com/go-co-op/gocron to v1 fix(deps): update module github.com/go-co-op/gocron to v1 - autoclosed Aug 31, 2021
@renovate renovate bot closed this Aug 31, 2021
@renovate renovate bot deleted the renovate/github.com-go-co-op-gocron-1.x branch August 31, 2021 03:51
@renovate renovate bot changed the title fix(deps): update module github.com/go-co-op/gocron to v1 - autoclosed fix(deps): update module github.com/go-co-op/gocron to v1 Aug 31, 2021
@renovate renovate bot restored the renovate/github.com-go-co-op-gocron-1.x branch August 31, 2021 05:04
@renovate renovate bot reopened this Aug 31, 2021
@renovate renovate bot force-pushed the renovate/github.com-go-co-op-gocron-1.x branch 4 times, most recently from 15ee7b7 to 03cd973 Compare September 16, 2021 01:51
@renovate renovate bot force-pushed the renovate/github.com-go-co-op-gocron-1.x branch from 03cd973 to a759a0e Compare September 23, 2021 01:22
@renovate renovate bot force-pushed the renovate/github.com-go-co-op-gocron-1.x branch from a759a0e to 2dca8e3 Compare September 24, 2021 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant