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 1
1
# Changelog
2
2
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
+
3
20
## 1.7.0 (2021-06-25)
4
21
5
22
* 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/).
1467
1467
This will install the latest supported version:
1468
1468
1469
1469
``` bash
1470
- $ composer require react/socket:^1.7
1470
+ $ composer require react/socket:^1.8
1471
1471
```
1472
1472
1473
1473
See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
You can’t perform that action at this time.
0 commit comments