Releases: InsanusMokrassar/krontab
Releases · InsanusMokrassar/krontab
0.6.3
- Versions
Kotlin
:1.5.30
Klock
:2.4.0
0.6.2
LEGACY COMPILER VARIANT FOR JS IS NOT AVAILABLE SINCE THIS UPDATE
- Versions
Kotlin
:1.5.21
Coroutines
:1.5.1
Klock
:2.3.1
0.6.1
- Versions
Klock
:2.1.0
->2.1.2
- Rewriting of default mechanism of
KronScheduler
s
0.6.0
- Versions
Kotlin
:1.4.32
->1.5.10
Coroutines
:1.4.3
->1.5.0
Klock
:2.0.7
->2.1.0
0.5.2
- Versions
Kotlin
:1.4.31
->1.4.32
- Supporting of weekdays
- Supporting of timezones
- Any
KronScheduler
now can be used for callingnext
withDateTimeTz
- New type
KronSchedulerTz
- Any
SchedulerFlow
has been deprecated- New extension
asTzFlow
and small changes inasFlow
logic merge
extensions now returnCollectionKronScheduler
instead of justKronScheduler
0.5.1
- Versions
Kotlin
:1.4.21
->1.4.31
Coroutines
:1.4.2
->1.4.3
Klock
:2.0.3
->2.0.7
Androidx Work
:2.4.0
->2.5.0
0.5.0
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 valueKrontabTemplateWrapper
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
0.4.2
- Versions
Kotlin
:1.4.20
->1.4.21
Klock
:2.0.1
->2.0.3
CronDateTimeScheduler
now is deprecated and will be set up asinternal
in future
0.4.1
- Versions:
Coroutines
:1.4.1
->1.4.2
Klock
:2.0.0
->2.0.1
CronDateTimeScheduler
now is public- New functions for
CronDateTimeScheduler
- Add
CollectionKronScheduler
. It will give opportunity to unite several schedulers in one
0.4.0
BREAKING CHANGES
Package of project has been changed. Migration:
-
Replace in your dependencies
com.insanusmokrassar:krontab
bydev.inmo:krontab
-
Replace in your project all imports
com.insanusmokrassar.krontab
bydev.inmo.krontab
-
Versions:
Kotlin
:1.4.10
->1.4.20
Klock
:1.12.1
->2.0.0