Skip to content

Releases: ReactKit/SwiftTask

5.0.0

Choose a tag to compare

@inamiy inamiy released this 02 Jun 01:35

This release targets Swift 2.2 / Xcode 7.3.

(Swift 2.2 compatibility fix only)

4.2.1

Choose a tag to compare

@inamiy inamiy released this 19 Mar 08:41

This release targets Swift 2.1 / Xcode 7.2.1. Full Changelog

  • Improve multiple task handling (Task.all/any/some) in case of empty tasks-argument #60 (inamiy)

4.2.0

Choose a tag to compare

@inamiy inamiy released this 30 Jan 14:17
  • Add watchOS & tvOS support #54, #56.

4.1.0

Choose a tag to compare

@inamiy inamiy released this 10 Dec 14:51
  • Add on(success:failure:) for adding side-effects. #51

4.0.0

Choose a tag to compare

@inamiy inamiy released this 23 Sep 03:50
  • Swift 2 Support #40
  • Renamed try(n) to retry(n-1)

3.3.1

Choose a tag to compare

@inamiy inamiy released this 11 Jul 08:39
  • Fix memory leak in _RecursiveLock #41

3.3.0

Choose a tag to compare

@inamiy inamiy released this 25 May 02:40

Tasks can now work with different Error types!

  • Type conversion of Task is available including change in its generic Error type #38
  • Fix wrong success() task-flow when using different Error Type #38

3.2.0

Choose a tag to compare

@inamiy inamiy released this 23 May 09:20
  • Improve thread safety #33
  • Change behavior of 1st-resume #36
    • configure.resume() will be called from 2nd time of resume(), considering 1st time as start of the task

3.1.0

Choose a tag to compare

@inamiy inamiy released this 10 May 15:28
  • Add Canceller feature (removal of progress/then handlers) #31
let task = ...
var canceller: Canceller? = nil

task.progress(&canceller) { ... }.then { ... }

// at some point before `task` completes
canceller?.cancel()   // removes progressHandler

3.0.0

Choose a tag to compare

@inamiy inamiy released this 09 Apr 15:30

Swift 1.2 Support