File tree 2 files changed +21
-1
lines changed
2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 1.8.0 (2021-12-06)
4
+
5
+ * Feature: Add new ` sleep() ` function and deprecate ` resolve() ` and ` reject() ` functions.
6
+ (#51 by @clue )
7
+
8
+ ``` php
9
+ // deprecated
10
+ React\Promise\Timer\resolve($time);
11
+ React\Promise\Timer\reject($time);
12
+
13
+ // new
14
+ React\Promise\Timer\sleep($time);
15
+ ```
16
+
17
+ * Feature: Support PHP 8.1 release.
18
+ (#50 by @Thomas-Gelf, #52 by @clue and #48 by @SimonFrings)
19
+
20
+ * Improve API documentation and add parameter types and return types.
21
+ (#49 by @clue and #47 by @SimonFrings)
22
+
3
23
## 1.7.0 (2021-07-11)
4
24
5
25
A major new feature release, see [**release announcement**](https://clue.engineering/2021/announcing-reactphp-default-loop).
Original file line number Diff line number Diff line change @@ -291,7 +291,7 @@ This project follows [SemVer](https://semver.org/).
291
291
This will install the latest supported version:
292
292
293
293
``` bash
294
- $ composer require react/promise-timer:^1.7
294
+ $ composer require react/promise-timer:^1.8
295
295
```
296
296
297
297
See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
You can’t perform that action at this time.
0 commit comments