CSV v9.7.1 Release Notes

Release Date: 2021-04-17 // 6 months ago
  • โž• Added

    • None

    ๐Ÿ—„ Deprecated

    • None

    ๐Ÿ›  Fixed

    โœ‚ Removed

    • None

Previous changes from v9.7.0

  • โž• Added

    • League\Csv\SyntaxError::duplicateColumnNames to expose column name duplicates during header usage
    • ๐Ÿ‘ป League\Csv\UnableToProcessCsv as the new Exception Marker Interface
    • ๐Ÿ‘ป League\Csv\UnavailableStream as the new Exception
    • League\Csv\Info::getDelimiterStats to replace the namespace function delimiter_detect
    • League\Csv\Info::fetchBOMSequence to replace the namespace function bom_match
    • League\Csv\AbstractCsv::toString to replace League\Csv\AbstractCsv::getContent and League\Csv\AbstractCsv::__toString
    • League\Csv\XMLConverter::create to replace League\Csv\XMLConverter::__construct
    • League\Csv\HTMLConverter::create to replace League\Csv\HTMLConverter::__construct
    • ๐Ÿ‘ League\Csv\AbstractCsv::supportsStreamFilterOnRead and League\Csv\AbstractCsv::supportsStreamFilterOnWrite to replace League\Csv\AbstractCsv::supportsStreamFilter and League\Csv\AbstractCsv::getStreamFilterMode

    ๐Ÿ—„ Deprecated

    • League\Csv\delimiter_detect use League\Csv\Info::getDelimiterStats
    • League\Csv\bom_match use League\Csv\Info::fetchBOMSequence
    • League\Csv\AbstractCsv::getContent use League\Csv\AbstractCsv::toString
    • ๐Ÿ‘ League\Csv\AbstractCsv::getStreamFilterMode use League\Csv\AbstractCsv::supportsStreamFilterOnRead or League\Csv\AbstractCsv::supportsStreamFilterOnWrite
    • ๐Ÿ‘ League\Csv\AbstractCsv::supportsStreamFilter use League\Csv\AbstractCsv::supportsStreamFilterOnRead or League\Csv\AbstractCsv::supportsStreamFilterOnWrite
    • Calling exceptions constructor, use named constructors instead.
    • League\Csv\XMLConverter::__construct use League\Csv\XMLConverter::create
    • League\Csv\HTMLConverter::__construct use League\Csv\HTMLConverter::create

    ๐Ÿ›  Fixed

    • ๐Ÿšš Move tests into the src directory
    • ๐Ÿ›  Fixed encoder method resolver implementation
    • all classes marked as @internal are now final
    • League\Csv\AbstractCsv::STREAM_FILTER_MODE constant replaces League\Csv\AbstractCsv::$stream_filter_mode

    โœ‚ Removed

    • ๐Ÿ‘ PHP7.2 support
    • League\Csv\AbstractCsv::$stream_filter_mode