Skip to content

v1.2.0

Latest
Compare
Choose a tag to compare
@SimonFrings SimonFrings released this 13 May 11:37
  • 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)