File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed
Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 11CHANGELOG for 2.x
22=================
33
4+ * 2.8.0 (2020-05-12)
5+
6+ * Mark ` FulfilledPromise ` , ` RejectedPromise ` and ` LazyPromise ` as deprecated for Promise v2 (and remove for Promise v3).
7+ (#143 and #165 by @clue )
8+
9+ ``` php
10+ // deprecated
11+ $fulfilled = new React\Promise\FulfilledPromise($value);
12+ $rejected = new React\Promise\RejectedPromise($reason);
13+
14+ // recommended alternatives
15+ $fulfilled = React\Promise\resolve($value);
16+ $rejected = React\Promise\reject($reason);
17+ ```
18+
19+ * Fix: Fix checking whether cancellable promise is an object and avoid possible warning.
20+ (#168 by @smscr and @jsor)
21+
22+ * Improve documentation and add docblocks to functions and interfaces.
23+ (#135 by @CharlotteDunois)
24+
25+ * Add `.gitattributes` to exclude dev files from exports.
26+ (#154 by @reedy)
27+
28+ * Improve test suite, run tests on PHP 7.4 and update PHPUnit test setup.
29+ (#163 by @clue)
30+
431* 2.7.1 (2018-01-07)
532
633 * Fix: file_exists warning when resolving with long strings.
Original file line number Diff line number Diff line change @@ -850,7 +850,7 @@ This project follows [SemVer](https://semver.org/).
850850This will install the latest supported version:
851851
852852``` bash
853- $ composer require react/promise:^2.7
853+ $ composer require react/promise:^2.8
854854```
855855
856856See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
You can’t perform that action at this time.
0 commit comments