Skip to content

Commit 92fb72d

Browse files
committed
Prepare v1.8.0 release
1 parent 991c1b6 commit 92fb72d

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog
22

3+
## 1.8.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+
(#260 by @clue)
9+
10+
```php
11+
// old (still supported)
12+
$socket = new React\Socket\Server('127.0.0.1:8080', $loop);
13+
$connector = new React\Socket\Connector($loop);
14+
15+
// new (using default loop)
16+
$socket = new React\Socket\Server('127.0.0.1:8080');
17+
$connector = new React\Socket\Connector();
18+
```
19+
320
## 1.7.0 (2021-06-25)
421

522
* Feature: Support falling back to multiple DNS servers from DNS config.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1467,7 +1467,7 @@ This project follows [SemVer](https://semver.org/).
14671467
This will install the latest supported version:
14681468

14691469
```bash
1470-
$ composer require react/socket:^1.7
1470+
$ composer require react/socket:^1.8
14711471
```
14721472

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

0 commit comments

Comments
 (0)