IMPORTANT: Version 0.y.z is for initial develpment. Anything may change at any time. The public API should not be considered stable.
.tap
method (#26)- If the callback passed to
.finally
returns a promise, the resolution of the returned promise will be delayed until the promise returned from callback is resolved. (#25) - FIX:
Promise.all
should returns array with fulfillment values at respective positions to the original array. (#24) - Error handling with ErrorType.
.reject
and.caught
now acceptErrorType
instance. (#23)
- Add
Promise.delay()
- More API documentation (inline comments)
- Error handling with
ErrorType
- Add deprecated APIs tests.
- Add missing
public
in some APIs. - To prevent forgetting
public
, the test target depends OnePromise.framework.
- Remove
then(nil, onRejected)
syntax to solve type inference problem. You can usecaught(onRejected)
to omit fulfillment handler. - Deprecate
Promise#fulfill(value)
andPromise#reject(error)
in favor ofPromise { (fulfill, reject) in ... }
initialization method. These methods will be dropped in a future version.
- Performance improvement
Promise.resolve(value)
andPromise.reject(error)
Promise.all(values)
andPromise.join(value1, value2)
to combine multiple promises
- Error propagation from onFulfill callback
- Fix iOS7 compatibility issues
- Add
caught
andfinally
methods.
- Update Podfile.lock
- Move test files into top directory
Bug fixes and more tests.
- Fixed: Promise resolution is not propagated to child promises
- 100% Test Coverage
Initial release.