File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 0.5.1 (2016-11-20)
4
+
5
+ * Feature: Support Promise cancellation for all connectors
6
+ (#71 by @clue )
7
+
8
+ ``` php
9
+ $promise = $connector->create($host, $port);
10
+
11
+ $promise->cancel();
12
+ ```
13
+
14
+ * Feature: Add TimeoutConnector decorator
15
+ (#51 by @clue )
16
+
17
+ ``` php
18
+ $timeout = new TimeoutConnector($connector, 3.0, $loop);
19
+ $timeout->create($host, $port)->then(function(Stream $stream) {
20
+ // connection resolved within 3.0s
21
+ });
22
+ ```
23
+
3
24
## 0.5.0 (2016-03-19)
4
25
5
26
* Feature / BC break: Support Connector without DNS
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ The recommended way to install this library is [through Composer](http://getcomp
209
209
This will install the latest supported version:
210
210
211
211
``` bash
212
- $ composer require react/socket-client:^0.5
212
+ $ composer require react/socket-client:^0.5.1
213
213
```
214
214
215
215
If you care a lot about BC, you may also want to look into supporting legacy versions:
You can’t perform that action at this time.
0 commit comments