All Versions
52
Latest Version
Avg Release Cycle
91 days
Latest Release
21 days ago

Changelog History
Page 1

  • v9.6.0

    March 17, 2020

    ➕ Added

    • 👍 More return types and type parameters as supported in PHP7.2+
    • 🏗 League\Csv\Statement::create named constructor to ease constraint builder instantiation
    • League\Csv\Statement can now also process League\Csv\ResultSet instances.
    • League\Csv\TabularDataReader interface to represent how to read tabular data
    • League\Csv\ResultSet::getRecords has an optional $header second argument to make the method works like League\Csv\Reader::getRecords
    • League\Csv\ResultSet::createFromTabularDataReader create a new instance from League\Csv\TabularDataReader implementing class.

    🗄 Deprecated

    • Nothing

    🛠 Fixed

    • League\Csv\Reader no longer uses __call to implement fetchOne, fetchPairs and fetchColumn methods.

    ✂ Removed

    • Internal polyfill for is_iterable
    • Internal polyfill for is_nullable_int
    • 👌 Support for PHP7.0 and PHP7.1
  • v9.5.0

    December 15, 2019

    ➕ Added

    • 👌 Improve package exception throwing by adding new exceptions classes that extends 👻 the League\Csv\Exception exception marker class #360, #361 🔋 feature proposed and developed by Darren Miller
      • League\Csv\UnavailableFeature
      • League\Csv\InvalidArgument
      • League\Csv\SyntaxError

    🗄 Deprecated

    • Nothing

    🛠 Fixed

    • 🐛 bug fix bom_match function see issue #363 resolved based on PR from Jerry Martinez
    • 🐛 bug fix delemiter_detect function see issue #366

    ✂ Removed

    • Nothing
  • v9.4.1

    October 17, 2019

    ➕ Added

    • Nothing

    🗄 Deprecated

    • Nothing

    🛠 Fixed

    • 🐛 bug fix the escape mechanism polyfill #358 fix provided by on2

    ✂ Removed

    • Nothing
  • v9.4.0

    October 02, 2019

    ➕ Added

    • ➕ Adding support for controlling empty record presence in Reader::getRecords return value.

      • Reader::includeEmptyRecords
      • Reader::skipEmptyRecords
      • Reader::isEmptyRecordsIncluded
    • ➕ Adding support for controlling Input BOM usage in the library:

      • AbstractCsv::skipInputBOM
      • AbstractCsv::includeInputBOM
      • AbstractCsv::isInputBOMIncluded

    🗄 Deprecated

    • Nothing

    🛠 Fixed

    • 📜 EmptyEscapeParser::parse no longer auto skip empty records

    ✂ Removed

    • Nothing
  • v9.3.0

    July 30, 2019

    ➕ Added

    • 👀 XMLConverter::import see #348 thanks @kusabi
    • 👌 Support for thead, tfoot and tbody in HTMLConverter::convert via the addition of
      protected methods HTMLConverter::addHTMLAttributes and HTMLConverter::appendHeaderSection #348 thanks @kusabi

    🗄 Deprecated

    • Nothing

    🛠 Fixed

    • Internal improvement in Reader dockblock thanks @ghobaty.
    • 👌 Improve strict comparison when using preg_match.
    • 👌 Improve CSV control in Stream.

    ✂ Removed

    • Nothing
  • v9.2.1

    June 08, 2019

    ➕ Added

    • Nothing

    🛠 Fixed

    • 👀 AbstractCSV::chunk see #325 remove CSV flags from the Stream class to avoid infinite loop.
    • Internal improve HTMLConverter.

    🗄 Deprecated

    • Nothing

    ✂ Removed

    • Nothing
  • v9.2.0

    March 08, 2019

    ➕ Added

    • 👌 Supports for PHP7.4 empty string for the escape character.
    • 👌 Supports for empty string for the escape character with a polyfill for PHP7.4- versions.
    • 👀 AbstractCSV::getPathname see #321 thanks @tomkyle

    🗄 Deprecated

    • League\Csv\RFC4180Field use AbstractCSV::setEscape method with an empty string instead.

    🛠 Fixed

    AbstractCSV::__construct correctly initializes properties

    0️⃣ AbstractCSV::createFromString named constructor default argument is now the empty string

    AbstractCSV::setEscape now accepts the empty string like fputcsv and fgetcsv

    🛠 Writer::insertOne fixes throwing exception when record can not be inserted

    XMLConverter convert to string the record value to avoid PHP warning on null value

    0️⃣ Internal Stream::createFromString named constructor default argument is now the empty string

    Internal Stream::fwrite improved

    ⚠ Internal Stream::__destruct no longer emit warning on invalid stream filter removal.

    👀 Internal Stream::seek returns 0 if the seeked position 0 is valid see #321 thanks @HaozhouChen

    Reader:getHeader when the record is an empty line.

    ✂ Removed

    • Nothing
  • v9.1.4

    May 01, 2018

    ➕ Added

    • Nothing

    🗄 Deprecated

    • Nothing

    🛠 Fixed

    Writer::setFlushThreshold should accept 1 as an argument #289

    CharsetConverter::convert should not try to convert numeric value #287

    ✂ Removed

    • Nothing
  • v9.1.3

    March 12, 2018

    ➕ Added

    • Nothing

    🗄 Deprecated

    • Nothing

    🛠 Fixed

    • Writer::insertOne allow empty array to be added to the CSV (allow inserting empty row)
    • ✂ Removed all return type from named constructor see #285
    • ➕ Added PHPStan for static code analysis

    ✂ Removed

    • Nothing
  • v9.1.2

    February 05, 2018

    ➕ Added

    • Nothing

    🗄 Deprecated

    • Nothing

    🛠 Fixed

    • is_iterable polyfill for PHP7.0
    • 👻 Reader::getHeader no longer throws exception because of a bug in PHP7.2+ issue #279

    ✂ Removed

    • Nothing