File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
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+
323## 1.7.0 (2021-07-11)
424
525A 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/).
291291This will install the latest supported version:
292292
293293``` bash
294- $ composer require react/promise-timer:^1.7
294+ $ composer require react/promise-timer:^1.8
295295```
296296
297297See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
You can’t perform that action at this time.
0 commit comments