All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Support for multibyte characters
1.2.2 - 2019-02-26
- PHPStand composer command
- Bug when line endings were bigger than one byte
1.2.1 - 2019-02-26
- PHPStan (static code analysis)
- Mutation score badge
- Small documentation issues
- DocBlocks for several function parameters and private object properties
- stream helper function, when trying to open non-readable files
- Parsing of files in test cases (changed do/while to while)
- Index not resetting when iterating multiple times over the same parser
- Headers being parsed as values when iterating multiple times over the same parser
1.2.0 - 2019-01-24
- Possibility to define string delimiters
- Possibility to define the escape character
- Parsing strings enclosed in single or double quotes
- Issue with Iterator implementation, which sometimes ignored the last line in a csv
1.1.1 - 2018-10-15
- Errors in
README.md
- Typos in PHP docs
- Bug where invalid CSV item would be marked as valid
- Bug with multiple empty lines in stream
1.1.0 - 2018-10-15
ParserInterface
now implements theIterator
interface, for easy iterations over a CSV stream- New class
Item
which extends Laravel'sCollection
class, and adds anisValid
method, which returns a validation result if the parser was given a validator - New convenience helper function to create streams:
stream($input)
1.0.1 - 2018-10-14
- Support for PHP 7.1
1.0.0 - 2018-10-14
Initial release