krontab v0.5.0 Release Notes

  • ๐Ÿ’ฅ BREAKING CHANGES

    • โฑ CronDateTimeScheduler has been marked as internal and no longer accessible outside of internal functions
      • Old methods merge and plus related to CronDateTimeScheduler has been marked as deprecated and changed their parameters types - it is KronScheduler now
    • ๐Ÿ†• New methods merge has been added
    • โฑ KronScheduler#next method now is nullable. Use nextOrRelative/nextOrNow to get next time certainly
    • โฑ Years was added as optional part of krontab template and opportunity in SchedulerBuilder
      • New builder YearsBuilder
      • SchedulerFlow#collectSafely will be normally (without exceptions) finish when next of scheduler will return null
    • โฑ KronScheduler#doOnce will run code immediately in case when next is returning null value
    • KrontabTemplateWrapper has been added
    • ๐Ÿ†• New extension KrontabTemplate#toKronScheduler (works as toSchedule)
    • ๐Ÿ›  Fixed issue related to the fact that toNearDateTime of CronDateTime incorrectly handled months
    • Android target has been added