Skip to content

Commit fe2d229

Browse files
committed
Prepare v0.4.0 release
1 parent 6a2a96c commit fe2d229

File tree

2 files changed

+31
-7
lines changed

2 files changed

+31
-7
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
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

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff 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

174175
MIT

0 commit comments

Comments
 (0)