Skip to content

Releases: go-co-op/gocron

v2.21.1

21 Apr 14:19
8e553c0

Choose a tag to compare

What's Changed

  • fix: remove jobs and respect stopTime in NextRuns when WithStopDateTi… by @jcheyer in #922

New Contributors

Full Changelog: v2.21.0...v2.21.1

v2.21.0

14 Apr 15:16
54f6bd8

Choose a tag to compare

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 on Job interface by @Copilot in #919

Test Suite

Full Changelog: v2.20.0...v2.21.0

v2.20.0

06 Apr 15:46
89567e9

Choose a tag to compare

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

Full Changelog: v2.19.1...v2.20.0

v2.19.1

28 Jan 16:28
c4a0fed

Choose a tag to compare

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

Full Changelog: v2.19.0...v2.19.1

v2.19.0

12 Dec 17:01
51570c3

Choose a tag to compare

What's Changed

Full Changelog: v2.18.2...v2.19.0

v2.18.2

26 Nov 19:47
9cc3be7

Choose a tag to compare

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

24 Nov 16:16
5b2fe32

Choose a tag to compare

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

05 Nov 19:38
46660bb

Choose a tag to compare

What's Changed

  • feat: Add option to calculate intervals from job completion time for interval-based scheduling (fixes #565) by @iyashjayesh in #884

Fixes

Chores

New Contributors

Full Changelog: v2.17.0...v2.18.0

v2.17.0

10 Oct 02:54
6a30d6d

Choose a tag to compare

What's Changed

Performance Improvements

  • Reusing the results of reflections to improve performance by @apocelipes in #873

Fixes

Chores

New Contributors

Full Changelog: v2.16.6...v2.17.0

v2.16.6

24 Sep 13:47
3966ea9

Choose a tag to compare

What's Changed

  • a return is missing to stop execution if the job is not found by @sarff in #872

Chores

New Contributors

Full Changelog: v2.16.5...v2.16.6