Reformat and tweak changelog
Jan Sorgalla
8 years ago
2 | 2 | |
3 | 3 | * 2.3.0 (2016-03-24) |
4 | 4 | |
5 | * Allow cancellation of promises returned by functions working on promise | |
6 | collections (#36). | |
7 | * Handle \Throwable in the same way as \Exception (#51 by @joshdifabio). | |
5 | * Allow cancellation of promises returned by functions working on promise | |
6 | collections (#36). | |
7 | * Handle `\Throwable` in the same way as `\Exception` (#51 by @joshdifabio). | |
8 | 8 | |
9 | 9 | * 2.2.2 (2016-02-26) |
10 | 10 | |
11 | * Fix cancellation handlers called multiple times (#47 by @clue). | |
11 | * Fix cancellation handlers called multiple times (#47 by @clue). | |
12 | 12 | |
13 | 13 | * 2.2.1 (2015-07-03) |
14 | 14 | |
15 | * Fix stack error when resolving a promise in its own fulfillment or rejection | |
16 | handlers. | |
15 | * Fix stack error when resolving a promise in its own fulfillment or | |
16 | rejection handlers. | |
17 | 17 | |
18 | 18 | * 2.2.0 (2014-12-30) |
19 | 19 | |
20 | * Introduce new ExtendedPromiseInterface implemented by all promises | |
21 | * Add new .done() method (part of the ExtendedPromiseInterface) | |
22 | * Add new .otherwise() method (part of the ExtendedPromiseInterface) | |
23 | * Add new .always() method (part of the ExtendedPromiseInterface) | |
24 | * Add new .progress() method (part of the ExtendedPromiseInterface) | |
25 | * Rename Deferred::progress to Deferred::notify to avoid confusion with | |
26 | ExtendedPromiseInterface::progress (a Deferred::progress alias is still | |
27 | available for backward compatibility) | |
28 | * resolve() now always returns a ExtendedPromiseInterface | |
20 | * Introduce new `ExtendedPromiseInterface` implemented by all promises. | |
21 | * Add new `done()` method (part of the `ExtendedPromiseInterface`). | |
22 | * Add new `otherwise()` method (part of the `ExtendedPromiseInterface`). | |
23 | * Add new `always()` method (part of the `ExtendedPromiseInterface`). | |
24 | * Add new `progress()` method (part of the `ExtendedPromiseInterface`). | |
25 | * Rename `Deferred::progress` to `Deferred::notify` to avoid confusion with | |
26 | `ExtendedPromiseInterface::progress` (a `Deferred::progress` alias is | |
27 | still available for backward compatibility) | |
28 | * `resolve()` now always returns a `ExtendedPromiseInterface`. | |
29 | 29 | |
30 | 30 | * 2.1.0 (2014-10-15) |
31 | 31 | |
32 | * Introduce new CancellablePromiseInterface implemented by all promises | |
33 | * Add new .cancel() method (part of the CancellablePromiseInterface) | |
32 | * Introduce new `CancellablePromiseInterface` implemented by all promises. | |
33 | * Add new `cancel()` method (part of the `CancellablePromiseInterface`). | |
34 | 34 | |
35 | 35 | * 2.0.0 (2013-12-10) |
36 | 36 | |
37 | New major release. The goal was to streamline the API and to make it more | |
38 | compliant with other promise libraries and especially with the new upcoming | |
39 | [ES6 promises specification](https://github.com/domenic/promises-unwrapping/). | |
37 | New major release. The goal is to streamline the API and to make it more | |
38 | compliant with other promise libraries and especially with the new upcoming | |
39 | [ES6 promises specification](https://github.com/domenic/promises-unwrapping/). | |
40 | 40 | |
41 | * Add standalone Promise class. | |
42 | * Add new React\Promise\race() function. | |
43 | * BC break: Bump minimum PHP version to PHP 5.4. | |
44 | * BC break: Remove ResolverInterface and PromiseInterface from Deferred. | |
45 | * BC break: Change signature of PromiseInterface. | |
46 | * BC break: Remove When and Util classes and move static methods to functions. | |
47 | * BC break: FulfilledPromise and RejectedPromise now throw an exception when | |
48 | initialized with a promise instead of a value/reason. | |
49 | * BC break: React\Promise\Deferred::resolve() and React\Promise\Deferred::reject() | |
50 | no longer return a promise. | |
41 | * Add standalone Promise class. | |
42 | * Add new `race()` function. | |
43 | * BC break: Bump minimum PHP version to PHP 5.4. | |
44 | * BC break: Remove `ResolverInterface` and `PromiseInterface` from | |
45 | `Deferred`. | |
46 | * BC break: Change signature of `PromiseInterface`. | |
47 | * BC break: Remove `When` and `Util` classes and move static methods to | |
48 | functions. | |
49 | * BC break: `FulfilledPromise` and `RejectedPromise` now throw an exception | |
50 | when initialized with a promise instead of a value/reason. | |
51 | * BC break: `Deferred::resolve()` and `Deferred::reject()` no longer return | |
52 | a promise. | |
51 | 53 | |
52 | 54 | * 1.0.4 (2013-04-03) |
53 | 55 | |
54 | * Trigger PHP errors when invalid callback is passed. | |
55 | * Fully resolve rejection value before calling rejection handler. | |
56 | * Add When::lazy() to create lazy promises which will be initialized once a | |
57 | consumer calls the then() method. | |
56 | * Trigger PHP errors when invalid callback is passed. | |
57 | * Fully resolve rejection value before calling rejection handler. | |
58 | * Add `When::lazy()` to create lazy promises which will be initialized once | |
59 | a consumer calls the `then()` method. | |
58 | 60 | |
59 | 61 | * 1.0.3 (2012-11-17) |
60 | 62 | |
61 | * Add `PromisorInterface` for objects that have a `promise()` method. | |
63 | * Add `PromisorInterface` for objects that have a `promise()` method. | |
62 | 64 | |
63 | 65 | * 1.0.2 (2012-11-14) |
64 | 66 | |
65 | * Fix bug in When::any() not correctly unwrapping to a single result value | |
66 | * $promiseOrValue argument of When::resolve() and When::reject() is now optional | |
67 | * Fix bug in `When::any()` not correctly unwrapping to a single result | |
68 | value. | |
69 | * `$promiseOrValue` argument of `When::resolve()` and When::reject() is now | |
70 | optional. | |
67 | 71 | |
68 | 72 | * 1.0.1 (2012-11-13) |
69 | 73 | |
70 | * Prevent deep recursion which was reaching `xdebug.max_nesting_level` default of 100 | |
74 | * Prevent deep recursion which was reaching `xdebug.max_nesting_level` | |
75 | default of 100. | |
71 | 76 | |
72 | 77 | * 1.0.0 (2012-11-07) |
73 | 78 | |
74 | * First tagged release | |
79 | * First tagged release. |