File tree 2 files changed +24
-1
lines changed
2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 1.7.0 (2021-07-11)
4
+
5
+ A major new feature release, see [ ** release announcement** ] ( https://clue.engineering/2021/announcing-reactphp-default-loop ) .
6
+
7
+ * Feature: Simplify usage by supporting new [ default loop] ( https://reactphp.org/event-loop/#loop ) .
8
+ (#46 by @clue )
9
+
10
+ ``` php
11
+ // old (still supported)
12
+ $promise = timeout($promise, $time, $loop);
13
+ $promise = resolve($time, $loop);
14
+ $promise = reject($time, $loop);
15
+
16
+ // new (using default loop)
17
+ $promise = timeout($promise, $time);
18
+ $promise = resolve($time);
19
+ $promise = reject($time);
20
+ ```
21
+
22
+ * Improve test suite, use GitHub actions for continuous integration (CI),
23
+ update PHPUnit config, run tests on PHP 8 and add full core team to the license.
24
+ (#43 by @WyriHaximus, #44 and #45 by @SimonFrings)
25
+
3
26
## 1.6.0 (2020-07-10)
4
27
5
28
* Feature: Forward compatibility with react/promise v3.
Original file line number Diff line number Diff line change @@ -360,7 +360,7 @@ This project follows [SemVer](https://semver.org/).
360
360
This will install the latest supported version:
361
361
362
362
``` bash
363
- $ composer require react/promise-timer:^1.6
363
+ $ composer require react/promise-timer:^1.7
364
364
```
365
365
366
366
See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
You can’t perform that action at this time.
0 commit comments