diff --git a/ChangeLog.md b/ChangeLog.md index 2d83fb9..f99fde1 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,20 @@ # ChangeLog +## 0.4.0 (07/24/2015) + +* 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. + ## 0.3.0 (04/04/2014) * Feature: New `defaultQueue` property on `OMPromise` inheriting from a diff --git a/OMPromises.podspec b/OMPromises.podspec index c007ed6..473af43 100644 --- a/OMPromises.podspec +++ b/OMPromises.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'OMPromises' - s.version = '0.3.0' + s.version = '0.4.0' s.summary = 'Promises for iOS & Mac OS X' s.homepage = 'http://github.com/b52/OMPromises' s.license = { :type => 'MIT', :file => 'LICENSE' } diff --git a/README.md b/README.md index 13d15b7..c9692f4 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ The recommended approach for installing OMPromises is to use [CocoaPods] package manager. ```bash -pod 'OMPromises', '~> 0.3.0' +pod 'OMPromises', '~> 0.4.0' ``` If you want to make use of the new HTTP request API you also have to include @@ -36,7 +36,7 @@ the new subspec. Have a look at the corresponding [header](Classes/HTTP) files for more information. ```bash -pod 'OMPromises/HTTP', '~> 0.3.0' +pod 'OMPromises/HTTP', '~> 0.4.0' ``` ## Documentation