File tree 2 files changed +31
-7
lines changed 2 files changed +31
-7
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
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
+
3
26
## 0.3.0 (2015-09-04)
4
27
5
28
* 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 () {
159
159
160
160
## Install
161
161
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 )
163
164
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
170
169
```
171
170
171
+ See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
172
+
172
173
## License
173
174
174
175
MIT
You can’t perform that action at this time.
0 commit comments