Skip to content

Commit cacebc4

Browse files
committed
Prepare v0.7.0 release
1 parent 9af47c7 commit cacebc4

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

CHANGELOG.md

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

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+
328
## 0.6.0 (2016-11-29)
429

530
* Feature / BC break: Pass connector into `Client` instead of loop, remove unneeded deps

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ The recommended way to install this library is [through Composer](http://getcomp
533533
This will install the latest supported version:
534534

535535
```bash
536-
$ composer require clue/socks-react:^0.6
536+
$ composer require clue/socks-react:^0.7
537537
```
538538

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

0 commit comments

Comments
 (0)