version 8.1.2

@nyamsprod nyamsprod released this Oct 27, 2016 · 4 commits to master since this release

Added

  • None

Deprecated

  • None

Fixed

  • BOM filtering fix issue #184
  • AbstractCsv::BOM_UTF32_LE value fixed

Removed

  • None

Downloads

version 8.1.1

@nyamsprod nyamsprod released this Sep 5, 2016 · 6 commits to master since this release

Fixed

  • getInputBOM method name is now consistent everywhere in the API PR #171
  • preserve fileObject CSV controls commit #8a20c56
  • Change output method header content-type value to text/csv PR #175

Downloads

version 8.1.0

@nyamsprod nyamsprod released this May 30, 2016 · 22 commits to master since this release

Added

  • The package now includes its own autoloader.
  • Ouput::getInputEncoding
  • Ouput::setInputEncoding

Deprecated

  • Ouput::getEncodingFrom replaced by Ouput::getInputEncoding
  • Ouput::setEncodingFrom replaced by Ouput::setInputEncoding

Fixed

  • Stream Filters are now url encoded before usage issue #72
  • All internal parameters are now using the snake case format

Downloads

version 8.0.0

@nyamsprod nyamsprod released this Dec 11, 2015 · 31 commits to master since this release

Added

  • Reader::fetchPairs
  • Reader::fetchPairsWithoutDuplicates

Deprecated

  • None

Fixed

  • Reader::fetchColumn and Reader::fetchAssoc now return Iterator
  • Reader::fetchAssoc callable argument expects an indexed row using the submitted keys as its first argument
  • Reader::fetchColumn callable argument expects the selected column value as its first argument
  • Default value on setOutputBOM is removed
  • AbstractCsv::getOutputBOM always return a string
  • AbstractCsv::getInputBOM always return a string

Removed

  • Controls::setFlags
  • Controls::getFlags
  • Controls::detectDelimiterList
  • QueryFilter::removeFilter
  • QueryFilter::removeSortBy
  • QueryFilter::hasFilter
  • QueryFilter::hasSortBy
  • QueryFilter::clearFilter
  • QueryFilter::clearSortBy
  • Reader::query
  • The $newline argument from AbstractCsv::createFromString

Please refers to the documentation or the library CHANGELOG for more details and a complete list of changes

Downloads

version 7.2.0

@nyamsprod nyamsprod released this Nov 2, 2015 · 69 commits to master since this release

Added

  • Reader::fetch replaces League\Csv\Reader::query for naming consistency
  • Controls::fetchDelimitersOccurrence to replace Controls::detectDelimiterList the latter gives erronous results

Deprecated

  • Controls::detectDelimiterList
  • Reader::query
  • The $newline argument from AbstractCsv::createFromString is deprecated

Fixed

  • Streamming feature no longer trim filter name argument issue #122
  • Fix default SplFileObject flags usage PR #130
  • AbstractCsv::createFromString no longer trim the submitted string issue #132

Removed

  • Nothing

Please refers to the documentation or the library CHANGELOG for more details and a complete list of changes

Downloads

version 7.1.2

@nyamsprod nyamsprod released this Jun 10, 2015 · 100 commits to master since this release

Fixed

  • Enclosures should be removed when a BOM sequence is stripped bug fix #102

Please refers to the documentation or the library CHANGELOG for more details and a complete list of changes

Downloads

version 7.1.1

@nyamsprod nyamsprod released this May 20, 2015 · 111 commits to master since this release

Fixed

  • SplFileObject flags were not always applied using query filter bug fix #99

Please refers to the documentation or the library CHANGELOG for more details and a complete list of changes

Downloads

version 7.1.0

@nyamsprod nyamsprod released this May 6, 2015 · 113 commits to master since this release

Added

  • stripBOM query filtering method to ease removing the BOM sequence when querying the CSV document.
  • All query filters are now accessible in the Writer class for conversion methods.

Fixed

Please refers to the documentation or the library CHANGELOG for more details and a complete list of changes

Downloads

version 7.0.1

@nyamsprod nyamsprod released this Mar 23, 2015 · 128 commits to master since this release

Fixed

  • setFlags: SplFileObject::DROP_NEW_LINE can be remove using setFlags method.

Please refers to the documentation or the library CHANGELOG for more details and a complete list of changes

Downloads

version 7.0.0

@nyamsprod nyamsprod released this Feb 19, 2015 · 141 commits to master since this release

Added

  • A new flexible mechanism to format and validate a row before its insertion by adding

Fixed

  • jsonSerialize, toXML and toHTML output can be modified using Reader query options methods. #66
  • detectDelimiterList index keys now represents the occurrence of the found delimiter.
  • the named constructor createFromString now accepts the $newline sequence as a second argument.
  • Default SplFileObject flags value is now SplFileObject::READ_CSV|SplFileObject::DROP_NEW_LINE
  • All CSV properties are now copied when using newReader and newWriter methods

Removed

  • ini_set("auto_detect_line_endings", true); setting is no longer set in the class constructor. Mac OS X users must explicitly set this ini options in their script.
  • Writer and Reader default constructor are removed from public API in favor of the named constructors.
  • All Writer methods and constant related to CSV data validation and formatting before insertion.

Please refers to the documentation or the library CHANGELOG for more details and a complete list of changes

Downloads