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 1
1
CHANGELOG for 2.x
2
2
=================
3
3
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
+
4
31
* 2.7.1 (2018-01-07)
5
32
6
33
* 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/).
850
850
This will install the latest supported version:
851
851
852
852
``` bash
853
- $ composer require react/promise:^2.7
853
+ $ composer require react/promise:^2.8
854
854
```
855
855
856
856
See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
You can’t perform that action at this time.
0 commit comments