File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 0.7.0 (2017-04-14)
4
+
5
+ * Feature / BC break: Replace depreacted SocketClient with Socket v0.7 and
6
+ use ` connect($uri) ` instead of ` create($host, $port) `
7
+ (#51 by @clue )
8
+
9
+ ``` php
10
+ // old
11
+ $connector = new React\SocketClient\TcpConnector($loop);
12
+ $client = new Client(1080, $connector);
13
+ $client->create('google.com', 80)->then(function (Stream $conn) {
14
+ $conn->write("…");
15
+ });
16
+
17
+ // new
18
+ $connector = new React\Socket\TcpConnector($loop);
19
+ $client = new Client(1080, $connector);
20
+ $client->connect('google.com:80')->then(function (ConnectionInterface $conn) {
21
+ $conn->write("…");
22
+ });
23
+ ```
24
+
25
+ * Improve test suite by adding PHPUnit to require-dev
26
+ (#50 by @clue)
27
+
3
28
## 0.6.0 (2016-11-29)
4
29
5
30
* Feature / BC break: Pass connector into `Client` instead of loop, remove unneeded deps
Original file line number Diff line number Diff line change @@ -533,7 +533,7 @@ The recommended way to install this library is [through Composer](http://getcomp
533
533
This will install the latest supported version:
534
534
535
535
``` bash
536
- $ composer require clue/socks-react:^0.6
536
+ $ composer require clue/socks-react:^0.7
537
537
```
538
538
539
539
See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
You can’t perform that action at this time.
0 commit comments