Skip to content

Releases: aomader/OMPromises

v0.8.1

01 Feb 08:46
Compare
Choose a tag to compare
  • [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

13 Jan 23:53
Compare
Choose a tag to compare
  • [added] Support tvOS
  • [added] Add new OMLazyPromise type
  • [changed] Generify OMPromise and OMDeferred
  • [changed] Use composition over inheritance to model OMDeferred
  • [deprecated] The whole HTTP subspec will get removed un the upcoming release

v0.4.2

23 Nov 19:19
Compare
Choose a tag to compare
  • Fix: Possible crashed by overflowed progress

v0.4.1

17 Sep 22:35
Compare
Choose a tag to compare
  • Fix: Possible crash caused by trying to store missing error in
    an NSDictionary (#27)

v0.4.0

24 Jul 16:30
Compare
Choose a tag to compare
  • Fix: Possible crash caused by missing response object (#26)
  • Fix: Anticipating rounding errors in progress checks (#16)
  • Fix: Potential crashes caused by improper resource management (#25, #19)
  • Feature: Add safe methods to perform state changes and adjustments,
    i.e., tryFulfil:, tryFail: and tryProgress:.
  • Feature: Add methods waitForResultWithin: and waitForErrorWithin: to
    simplify testing asynchronous code.
  • Feature: Add new collect: combinator: it collects all outcomes of the
    supplied promises, i.e., errors and values. Thus it never fails.
  • Feature: Add new relay: combinator: Relays all promise events to a
    specified deferred.
  • Feature: Add new always: and always:on: callback handlers.