Skip to content

Commit bf1e62b

Browse files
committed
Prepare v0.4.0 release
1 parent fefe2f8 commit bf1e62b

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed

CHANGELOG.md

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

3+
## 0.4.0 (2016-09-26)
4+
5+
* Feature / BC break: The Client implement DuplexStreamInterface and behaves like a normal stream
6+
(#21, #22 by @clue)
7+
8+
```php
9+
// old (custom "message" event)
10+
$client->on('message', $callback);
11+
12+
// new (default "data" event)
13+
$client->on('data', $callback);
14+
15+
// old (applies to app send*() methods
16+
$client->sendClientInit(…);
17+
18+
// new (now uses write*() prefix)
19+
$client->writeClientInit(…);
20+
21+
// shared interfaces allow for interoperability with other components
22+
$client->pipe($logger);
23+
24+
// allows advanced / custom messages through writable interface
25+
$client->write(array(…));
26+
27+
// supports and reports back pressure to avoid buffer overflows
28+
$more = $client->write*(…);
29+
$client->pause();
30+
$client->resume();
31+
```
32+
33+
* Feature: Use default time zone and support sub-second accuracy for heartbeats
34+
(#20 by @clue)
35+
336
## 0.3.1 (2016-09-24)
437

538
* Feature: Support SocketClient v0.5 (while keeping BC)

README.md

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

131131
```bash
132-
$ composer require clue/quassel-react: ^0.3.1
132+
$ composer require clue/quassel-react: ^0.4
133133
```
134134

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

0 commit comments

Comments
 (0)