Skip to content

Releases: clue/php-viewvc-api-react

v0.4.0

16 Apr 07:53
Compare
Choose a tag to compare
  • Feature: Add streaming API for fetching larger files
    (#20 by @clue)

    $stream = $client->fetchFileStream($path);
    
    $stream->on('data', function ($chunk) {
        echo $chunk;
    });
    
    $stream->on('error', function (Exception $error) {
        echo 'Error: ' . $error->getMessage() . PHP_EOL;
    });
    
    $stream->on('close', function () {
        echo '[DONE]' . PHP_EOL;
    });
  • Update dependencies, more SOLID code base

v0.3.0

04 Sep 20:42
Compare
Choose a tag to compare
  • Feature / BC break: Build properly escaped URIs via Browser
    (#17)

    // old
    $client = new Client($uri, $browser);
    
    // new
    $client = new Client($browser->withBase($uri));
  • Update dependencies, more SOLID code base

v0.2.0

10 Apr 09:24
Compare
Choose a tag to compare
  • Feature: Add Client::fetchLog() method
    (#14)
  • Feature: Support including deleted files (attic) in CVS directory listings
    (#11)
  • Feature: Support mixed UTF-8 and ISO-8859-1 (Latin1) encodings
    (#12)
  • Fix: Improve parsing broken XHTML structure
    (#10, #13)

v0.1.1

07 Apr 23:14
Compare
Choose a tag to compare
  • Fix: Accessing deleted files in older revisions now works
    (#6)
  • Fix: Improve parsing XHTML structure
    (#7)
  • Fix: Add trailing slash to base URL
    (#5)
  • Improve test suite and directory listing example
    (#8, #9)

v0.1.0

07 Apr 23:13
Compare
Choose a tag to compare
  • First tagged release