Codebase list php-react-promise / b6e09db
Reformat and tweak changelog Jan Sorgalla 8 years ago
1 changed file(s) with 44 addition(s) and 39 deletion(s). Raw diff Collapse all Expand all
22
33 * 2.3.0 (2016-03-24)
44
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).
88
99 * 2.2.2 (2016-02-26)
1010
11 * Fix cancellation handlers called multiple times (#47 by @clue).
11 * Fix cancellation handlers called multiple times (#47 by @clue).
1212
1313 * 2.2.1 (2015-07-03)
1414
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.
1717
1818 * 2.2.0 (2014-12-30)
1919
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`.
2929
3030 * 2.1.0 (2014-10-15)
3131
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`).
3434
3535 * 2.0.0 (2013-12-10)
3636
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/).
4040
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.
5153
5254 * 1.0.4 (2013-04-03)
5355
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.
5860
5961 * 1.0.3 (2012-11-17)
6062
61 * Add `PromisorInterface` for objects that have a `promise()` method.
63 * Add `PromisorInterface` for objects that have a `promise()` method.
6264
6365 * 1.0.2 (2012-11-14)
6466
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.
6771
6872 * 1.0.1 (2012-11-13)
6973
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.
7176
7277 * 1.0.0 (2012-11-07)
7378
74 * First tagged release
79 * First tagged release.