Skip to content

Commit 8ad621e

Browse files
committed
Prepare v0.7.0 release
1 parent 88f55f8 commit 8ad621e

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

CHANGELOG.md

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

3+
## 0.7.0 (2017-04-02)
4+
5+
* Feature / BC break: Add main `Connector` facade
6+
(#93 by @clue)
7+
8+
The new `Connector` class acts as a facade for all underlying connectors,
9+
which are now marked as "advanced usage", but continue to work unchanged.
10+
This now makes it trivially easy to create plaintext TCP/IP, secure TLS and
11+
Unix domain socket (UDS) connection streams simply like this:
12+
13+
```php
14+
$connector = new Connector($loop);
15+
16+
$connector->connect('tls://google.com:443')->then(function (ConnectionInterface $conn) {
17+
$conn->write("GET / HTTP/1.0\r\n\r\n");
18+
});
19+
```
20+
21+
Optionally, it accepts options to configure all underlying connectors, such
22+
as using a custom DNS setup, timeout values and disabling certain protocols
23+
and much more. See the README for more details.
24+
325
## 0.6.2 (2017-03-17)
426

527
* Feature / Fix: Support SNI on legacy PHP < 5.6 and add documentation for

README.md

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

627627
```bash
628-
$ composer require react/socket-client:^0.6.2
628+
$ composer require react/socket-client:^0.7
629629
```
630630

631631
More details about version upgrades can be found in the [CHANGELOG](CHANGELOG.md).

0 commit comments

Comments
 (0)