--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2016-ee02b6126a
2017-01-02 20:50:04.996049
--------------------------------------------------------------------------------
Name : php-react-promise
Product : Fedora 24
Version : 2.5.0
Release : 1.fc24
URL :
https://github.com/reactphp/promise
Summary : A lightweight implementation of CommonJS Promises/A for PHP
Description :
A lightweight implementation of CommonJS Promises/A [1] for PHP.
[1]
http://wiki.commonjs.org/wiki/Promises/A
--------------------------------------------------------------------------------
Update Information:
### 2.5.0 (2016-12-22) * Revert automatic cancellation of pending collection
promises once the output promise resolves. This was introduced in 42d86b7 (PR
#36, released in
[
v2.3.0](https://github.com/reactphp/promise/releases/tag/v2.3.0)) and was
both unintended and backward incompatible. If you need automatic cancellation,
you can use something like: ``` function allAndCancel(array $promises) {
return \React\Promise\all($promises) ->always(function() use ($promises)
{ foreach ($promises as $promise) { if ($promise
instanceof \React\Promise\CancellablePromiseInterface) {
$promise->cancel(); } } }); } ``` * `all()` and
`map()` functions now preserve the order of the array (#77). * Fix circular
references when resolving a promise with itself (#71).
--------------------------------------------------------------------------------
References:
[ 1 ] Bug #1408344 - php-react-promise-2.5.0 is available
https://bugzilla.redhat.com/show_bug.cgi?id=1408344
--------------------------------------------------------------------------------
This update can be installed with the "dnf" update program. Use
su -c 'dnf upgrade php-react-promise' at the command line.
For more information, refer to the dnf documentation available at
http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label
All packages are signed with the Fedora Project GPG key. More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------