Skip to content

Commit e7f99fb

Browse files
committed
Prepare v1.2.0 release
1 parent 78b51ac commit e7f99fb

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

CHANGELOG.md

+32
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# Changelog
22

3+
## 1.2.0 (2017-09-19)
4+
5+
* Feature: Support `redis[s]://` URI scheme and deprecate legacy URIs
6+
(#60 by @clue)
7+
8+
```php
9+
$factory->createClient('redis://:secret@localhost:6379/4');
10+
$factory->createClient('redis://localhost:6379?password=secret&db=4');
11+
```
12+
13+
* Feature: Factory accepts Connector from Socket and deprecate legacy SocketClient
14+
(#59 by @clue)
15+
16+
If you need custom connector settings (DNS resolution, TLS parameters, timeouts,
17+
proxy servers etc.), you can explicitly pass a custom instance of the
18+
[`ConnectorInterface`](https://github.com/reactphp/socket#connectorinterface):
19+
20+
```php
21+
$connector = new \React\Socket\Connector($loop, array(
22+
'dns' => '127.0.0.1',
23+
'tcp' => array(
24+
'bindto' => '192.168.10.1:0'
25+
),
26+
'tls' => array(
27+
'verify_peer' => false,
28+
'verify_peer_name' => false
29+
)
30+
));
31+
32+
$factory = new Factory($loop, $connector);
33+
```
34+
335
## 1.1.0 (2017-09-18)
436

537
* Feature: Update SocketClient dependency to latest version

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ The recommended way to install this library is [through Composer](https://getcom
283283
This will install the latest supported version:
284284

285285
```bash
286-
$ composer require clue/redis-react:^1.1
286+
$ composer require clue/redis-react:^1.2
287287
```
288288

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

0 commit comments

Comments
 (0)