Skip to content

Releases: InsanusMokrassar/krontab

0.6.3

30 Aug 14:40
Compare
Choose a tag to compare
  • Versions
    • Kotlin: 1.5.30
    • Klock: 2.4.0

0.6.2

30 Jul 05:17
a8be548
Compare
Choose a tag to compare

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

03 Jun 07:56
Compare
Choose a tag to compare
  • Versions
    • Klock: 2.1.0 -> 2.1.2
  • Rewriting of default mechanism of KronSchedulers

0.6.0

25 May 10:02
e816ad8
Compare
Choose a tag to compare
  • 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

24 Apr 12:59
Compare
Choose a tag to compare
  • Versions
    • Kotlin: 1.4.31 -> 1.4.32
  • Supporting of weekdays
  • Supporting of timezones
    • Any KronScheduler now can be used for calling next with DateTimeTz
    • New type KronSchedulerTz
  • SchedulerFlow has been deprecated
  • New extension asTzFlow and small changes in asFlow logic
  • merge extensions now return CollectionKronScheduler instead of just KronScheduler

0.5.1

16 Mar 11:02
3a08701
Compare
Choose a tag to compare
  • 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

03 Jan 08:47
Compare
Choose a tag to compare

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

0.4.2

01 Jan 15:22
Compare
Choose a tag to compare
  • Versions
    • Kotlin: 1.4.20 -> 1.4.21
    • Klock: 2.0.1 -> 2.0.3
  • CronDateTimeScheduler now is deprecated and will be set up as internal in future

0.4.1

05 Dec 20:25
Compare
Choose a tag to compare
  • 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

21 Nov 09:39
35f5531
Compare
Choose a tag to compare

BREAKING CHANGES
Package of project has been changed. Migration:

  • Replace in your dependencies com.insanusmokrassar:krontab by dev.inmo:krontab

  • Replace in your project all imports com.insanusmokrassar.krontab by dev.inmo.krontab

  • Versions:

    • Kotlin: 1.4.10 -> 1.4.20
    • Klock: 1.12.1 -> 2.0.0