krontab v0.5.0 Release Notes
-
๐ฅ BREAKING CHANGES
- โฑ
CronDateTimeScheduler
has been marked asinternal
and no longer accessible outside of internal functions- Old methods
merge
andplus
related toCronDateTimeScheduler
has been marked asdeprecated
and changed their parameters types - it isKronScheduler
now
- Old methods
- ๐ New methods
merge
has been added - โฑ
KronScheduler#next
method now is nullable. UsenextOrRelative
/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 whennext
of scheduler will return null
- New builder
- โฑ
KronScheduler#doOnce
will run code immediately in case whennext
is returning null value KrontabTemplateWrapper
has been added- ๐ New extension
KrontabTemplate#toKronScheduler
(works astoSchedule
) - ๐ Fixed issue related to the fact that
toNearDateTime
ofCronDateTime
incorrectly handled months - Android target has been added
- โฑ