File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 1.3.0 (2021-08-06)
4
+
5
+ * Feature: Simplify usage by supporting new default loop and making ` Connector ` optional.
6
+ (#100 and #101 by @clue )
7
+
8
+ ``` php
9
+ // old (still supported)
10
+ $proxy = new Clue\React\Socks\Client(
11
+ $url,
12
+ new React\Socket\Connector($loop)
13
+ );
14
+ $server = new Clue\React\Socks\Server($loop);
15
+ $server->listen(new React\Socket\Server('127.0.0.1:1080', $loop));
16
+
17
+ // new (using default loop)
18
+ $proxy = new Clue\React\Socks\Client('127.0.0.1:1080');
19
+ $socks = new Clue\React\Socks\Server();
20
+ $socks->listen(new React\Socket\SocketServer('127.0.0.1:1080'));
21
+ ```
22
+
23
+ * Documentation improvements and updated examples.
24
+ (#98 and #102 by @clue and #99 by @PaulRotmann)
25
+
26
+ * Improve test suite and use GitHub actions for continuous integration (CI).
27
+ (#97 by @SimonFrings)
28
+
3
29
## 1.2.0 (2020-10-23)
4
30
5
31
* Enhanced documentation for ReactPHP's new HTTP client.
Original file line number Diff line number Diff line change @@ -1047,7 +1047,7 @@ This project follows [SemVer](https://semver.org/).
1047
1047
This will install the latest supported version:
1048
1048
1049
1049
``` bash
1050
- $ composer require clue/socks-react:^1.2
1050
+ $ composer require clue/socks-react:^1.3
1051
1051
```
1052
1052
1053
1053
See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
You can’t perform that action at this time.
0 commit comments