CSV v9.1.0 Release Notes

Release Date: 2017-10-20 // over 6 years ago
  • โž• Added

    • ๐Ÿ‘Œ Support for non seekable stream. When seekable feature are required an exceptions will be thrown.
    • League\Csv\EncloseField to force enclosure insertion on every field. #269
    • League\Csv\EscapeFormula a League CSV formatter to prevent CSV Formula Injection in Spreadsheet programs.
    • League\Csv\RFC4180Field::addTo accept an option $replace_whitespace argument to improve RFC4180 compliance.
    • League\Csv\Abstract::getContent to replace League\Csv\Abstract:: __toString. The __ toString method may trigger a Fatal Error with non seekable stream, instead you are recommended to used the new getContent method which will trigger an exception instead.

    ๐Ÿ—„ Deprecated

    • League\Csv\Abstract:: __toString use League\Csv\Abstract::getContent instead. the __ toString triggers a Fatal Error when used on a non-seekable CSV document. use the getContent method instead which will trigger an exception instead.

    ๐Ÿ›  Fixed

    • ๐Ÿ› Bug fixes headers from AbstractCsv::output according to RFC6266 #250
    • ๐Ÿ‘‰ Make sure the internal source still exists before closing it #251
    • ๐Ÿ‘€ Make sure the Reader::createFromPath default open mode is r see #258 and #266

    โœ‚ Removed

    • Nothing