Skip to content

Commit

Permalink
Prepare v1.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonFrings committed May 13, 2022
1 parent 952539b commit 5d4aa1a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Changelog

## 1.2.0 (2022-05-13)

* Feature: Support custom EOL character when encoding CSV.
(#26 by @clue)

```php
$csv = new Clue\React\Csv\Encoder($stdout, ',', '"', '\\', "\r\n");
```

* Feature: Add `headers` event to `AssocDecoder` class.
(#29 by @SimonFrings)

```php
$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)

## 1.1.0 (2020-12-10)

* Feature: Add decoding benchmark plus benchmark for GZIP-compressed CSV files.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ This project follows [SemVer](https://semver.org/).
This will install the latest supported version:

```bash
$ composer require clue/reactphp-csv:^1.1
$ composer require clue/reactphp-csv:^1.2
```

See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.
Expand Down

0 comments on commit 5d4aa1a

Please sign in to comment.