File tree Expand file tree Collapse file tree 2 files changed +31
-7
lines changed
Expand file tree Collapse file tree 2 files changed +31
-7
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 0.4.0 (2016-04-16)
4+
5+ * Feature: Add streaming API for fetching larger files
6+ (#20 by @clue )
7+
8+ ``` php
9+ $stream = $client->fetchFileStream($path);
10+
11+ $stream->on('data', function ($chunk) {
12+ echo $chunk;
13+ });
14+
15+ $stream->on('error', function (Exception $error) {
16+ echo 'Error: ' . $error->getMessage() . PHP_EOL;
17+ });
18+
19+ $stream->on('close', function () {
20+ echo '[DONE]' . PHP_EOL;
21+ });
22+ ```
23+
24+ * Update dependencies, more SOLID code base
25+
326## 0.3.0 (2015-09-04)
427
528* Feature / BC break: Build properly escaped URIs via Browser
Original file line number Diff line number Diff line change @@ -159,16 +159,17 @@ $stream->on('close', function () {
159159
160160## Install
161161
162- The recommended way to install this library is [ through composer] ( http://getcomposer.org ) . [ New to composer?] ( http://getcomposer.org/doc/00-intro.md )
162+ The recommended way to install this library is [ through Composer] ( http://getcomposer.org ) .
163+ [ New to Composer?] ( http://getcomposer.org/doc/00-intro.md )
163164
164- ``` JSON
165- {
166- "require" : {
167- "clue/viewvc-api-react" : " ~0.3.0"
168- }
169- }
165+ This will install the latest supported version:
166+
167+ ``` bash
168+ $ composer require clue/viewvc-api-react:^0.4
170169```
171170
171+ See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
172+
172173## License
173174
174175MIT
You can’t perform that action at this time.
0 commit comments