All Versions
Latest Version
Avg Release Cycle
86 days
Latest Release
1383 days ago

Changelog History

  • v2.1.1

    October 06, 2020
  • v2.1.0

    February 22, 2020
  • v2.0.3

    June 19, 2019
  • v2.0.2

    May 13, 2019
  • v2.0.1

    April 19, 2019
  • v2.0.0 Changes

    April 06, 2019

    πŸš€ ❗️❗️❗️This release contains some breaking changes.

    ⚠ Warning

    🚚 The initial design of Task refers to Timer: It will be implicitly held by an internal object, if you want to remove it, you need to explicitly call the invalidate/cancel method.
    But soon, I realized that it was easy to ignore this feature and caused memory leaks.
    So in 2.0.0, Task is no longer automatically held, that is, if no external variables are explicitly pointed to it, this task will be destroyed.

    πŸ›  Fixed

    • Calculation issue in every(_ weekday: Weekday) and every(_ monthday: Monthday).

    βž• Added

    • TaskCenter. From now on, you can use your own task center to manage tasks.
    • task.executionDates. Records the date each time the task is executed.
    • βœ… More tests.

    βœ‚ Removed

    • task.timeline. All timeline properties are now accessible directly from the task.
    • obj). Since tasks are no longer implicitly held by task centers, I don't think the host mechanism is necessary.

    ⚑️ Updated

    • Some renaming, to make the api more swift!
  • v1.0.0 Changes

    September 26, 2018

    ⏱ Rename struct Schedule to Plan
    It is not wise to let a type have the same name as framework.

    βœ‚ Remove ParasiticTask
    0️⃣ Now, each constructor has the host parameter(default is nil).

    βž• Add RunLoopTask
    ⏱ Before 1.x, Schedule will execute tasks on a global dispatch queue when time is up by default. Now tasks will be executed on the current thread, its implementation is based on RunLoop, which means that you need to ensure that the current thread has a runloop available. So it is still recommended to use dispatch queue to construct the task.

  • v0.1.1

    September 18, 2018
  • v0.1.0

    August 28, 2018
  • v0.0.9

    August 26, 2018