Releases: lucas34/SwiftQueue
Releases · lucas34/SwiftQueue
1.6.1
1.6.0
Breaking Changes
- Change
JobCreator.create
signature (#94)- Return type is no longer optional
SwiftQueueManager
only accept 1 singleJobCreator
- This is to avoid unregistered handler or scheduling job with no
JobCreator
associates - The user will have to deal with unknown handler on his side
- Origin error is now forward to completion block (#88)
- Change signature of Limit(Int) to Limit(Double)
Fix
- Delay not waiting for the remaining time (#99)
- Deadline now cancel the job properly (#98)
- Fix calling
done
after termination will remove the lastError (#97) - Breaking support for Swift 3.2 (#75)
Improvement
Misc
- Update documentation
1.5.0
Breaking Changes
- Change Error type to follow enum pattern (#68)
TaskAlreadyExist
->SwiftQueueError.Duplicate
DeadlineError
->SwiftQueueError.Deadline
Canceled
->SwiftQueueError.Canceled
Improvement
- Performance improvement in for-loops
Internal changes
SwiftQueue
has been renamedSqOperationQueue
SwiftQueueJob
->SqOperation
JobBuilder
has moved to its own class- SwiftQueue.swift reference all public protocols
Misc
- Support
BUCK
build
Other changes
- Remove unavailable methods (#71)
func retry(Int)
func periodic(Int, TimeInterval)
1.4.1
1.4.0
1.3.2
1.3.1
1.3.0
Develop 1.3.0 (#22)
Re-write 90% of the code.
Breaking changes
- Scheduling a job without a creator will throw an error (Assertion)
- #20 Replace Any params type to [String: Any]
- #26 Callback result now use enum to avoid passing nil error as success
- #32 onRemove will foward JobCompletion
- Remove delay(inSecond) use delay(time) instead