File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed
Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 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)
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ The recommended way to install this library is [through Composer](http://getcomp
129129This 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
135135See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
You can’t perform that action at this time.
0 commit comments