Skip to content

Releases: clue/reactphp-csv

v1.2.0

13 May 11:37
Compare
Choose a tag to compare
  • Feature: Support custom EOL character when encoding CSV.
    (#26 by @clue)

    $csv = new Clue\React\Csv\Encoder($stdout, ',', '"', '\\', "\r\n");
  • Feature: Add headers event to AssocDecoder class.
    (#29 by @SimonFrings)

    $csv->on('headers', function (array $headers) {
        var_dump($headers); // e.g. $headers = ['name','age'];
    });
  • Feature: Check type of incoming data before trying to decode CSV.
    (#27 by @clue)

  • Feature: Support parsing multiline values starting with quoted newline.
    (#25 by @KamilBalwierz)

  • Improve documentation and examples.
    (#30 and #28 by @SimonFrings, #22 and #24 by @clue and #23 by @PaulRotmann)

v1.1.0

10 Dec 13:32
8b98da2
Compare
Choose a tag to compare
  • Feature: Add decoding benchmark plus benchmark for GZIP-compressed CSV files.
    (#15 by @clue)

  • Improve test suite and add .gitattributes to exclude dev files from exports.
    Add PHP 8 support, update to PHPUnit 9 and simplify test setup.
    (#13 and #14 by @clue and #16, #18, #19 and #20 by @SimonFrings)

  • Improve documentation wording/typos and examples.
    (#9 by @loilo and #10 by @clue)

v1.0.0

14 Aug 12:51
Compare
Choose a tag to compare
  • First stable release, following SemVer