File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change @@ -1467,7 +1467,7 @@ This project follows [SemVer](https://semver.org/).
14671467This 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
14731473See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
You can’t perform that action at this time.
0 commit comments