Releases: ReactKit/SwiftTask
Releases · ReactKit/SwiftTask
5.0.0
This release targets Swift 2.2 / Xcode 7.3.
(Swift 2.2 compatibility fix only)
4.2.1
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
- Add watchOS & tvOS support #54, #56.
4.1.0
- Add
on(success:failure:)
for adding side-effects. #51
4.0.0
- Swift 2 Support #40
- Renamed
try(n)
to retry(n-1)
3.3.1
- Fix memory leak in
_RecursiveLock
#41
3.3.0
Task
s 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
- 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
- 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