Skip to content

Commit 607dd79

Browse files
committed
Prepare v1.7.0 release
1 parent bebdd4a commit 607dd79

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

CHANGELOG.md

+23
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# Changelog
22

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+
326
## 1.6.0 (2020-07-10)
427

528
* Feature: Forward compatibility with react/promise v3.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ This project follows [SemVer](https://semver.org/).
360360
This will install the latest supported version:
361361

362362
```bash
363-
$ composer require react/promise-timer:^1.6
363+
$ composer require react/promise-timer:^1.7
364364
```
365365

366366
See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.

0 commit comments

Comments
 (0)