All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
Possible log types:
[added]
for new features.[changed]
for changes in existing functionality.[deprecated]
for once-stable features removed in upcoming releases.[removed]
for deprecated features removed in this release.[fixed]
for any bug fixes.[security]
to invite users to upgrade in case of vulnerabilities.
- ...
v0.8.1 - 2016-02-01
- [fixed] Incorrect type of
then:
- [fixed] Swallowed request callbacks started on none main threads
- [changed] Ignore
Content-Type
when parsing 204 responses
v0.8.0 - 2016-01-14
- [added] Support tvOS
- [added] Add new
OMLazyPromise
type - [changed] Generify
OMPromise
andOMDeferred
- [changed] Use composition over inheritance to model
OMDeferred
- [deprecated] The whole HTTP subspec will get removed un the upcoming release
v0.4.2 - 2015-11-23
- [fixed] Possible crash due to overflowed
progress
v0.4.1 - 2015-09-18
- [fixed] Possible crash caused by trying to store missing error in
an
NSDictionary
(#27)
v0.4.0 - 2015-07-24
- [fixed] Possible crash caused by missing response object (#26)
- [fixed] Anticipating rounding errors in progress checks (#16)
- [fixed] Potential crashes caused by improper resource management (#25, #19)
- [added] Add safe methods to perform state changes and adjustments,
i.e.,
tryFulfil:
,tryFail:
andtryProgress:
. - [added] Add methods
waitForResultWithin:
andwaitForErrorWithin:
to simplify testing asynchronous code. - [added] Add new
collect:
combinator: it collects all outcomes of the supplied promises, i.e., errors and values. Thus it never fails. - [added] Add new
relay:
combinator: Relays all promise events to a specified deferred. - [added] Add new
always:
andalways:on:
callback handlers.
v0.3.0 - 2014-04-04
- [added] New
defaultQueue
property onOMPromise
inheriting from a class wideglobalDefaultQueue
changeable throughsetGlobalDefaultQueue:
- [added]
on:
method to change thedefaultQueue
in a chainable fashion - [added] New subspec
OMPromises/HTTP
provides means to create HTTP requests through an OMPromise-based API, still considered beta though:OMHTTPRequest
provides static methods to create HTTP requestsOMHTTPResponse
describes the possible outcome of such requestsOMPromise+HTTP
provides HTTP specific transformers, e.g. JSON parsing
- [fixed] Provide
NSLocalizedDescription
values for all returned NSError instances and add meaningfuldebugDescription
implementations. - [fixed] General code quality improvements and restructuring
v0.2.1 - 2014-03-29
- [fixed] Possible crash caused by improper chaining (#11)
v0.2.0 - 2014-02-08
- [fixed] Make promises finally thread-safe
- [changed]
chain:initial:
combinator supports all chaining/callback blocks now - [changed] Promises created using
then:
orrescue:
now incorporate the number of parent promises to provide an equally distributed progress - [added] Create promises based on a task-block using either
promiseWithTask:
orpromiseWithTask:on:
- [added] Queue-aware
then:
chaining usingthen:on:
- [added] Queue-aware
rescue:
chaining usingrescue:on:
- [added] Queue-aware
fulfilled:
callbacks usingfulfilled:on:
- [added] Queue-aware
failed:
callbacks usingfailed:on:
- [added] Queue-aware
progressed:
callbacks usingprogressed:on:
- [added] Optional support for cancellation using
cancel
andcancelled:
v0.1.2 - 2014-01-08
- [fixed] Possible memory leak due to un-released callback blocks
- [added] Add
join
transformer
v0.1.1 - 2013-10-23
- [added] Polish Podfile and add Tests subspec
- [added] Add support for Mac OS X
v0.1.0 - 2013-10-14
- Initial release