Skip to content

CSV Interface v3.1.0

Choose a tag to compare

@ws-garcia ws-garcia released this 28 Jun 00:08
· 298 commits to master since this release

Bugs fixed:

  • Escaped fields could not be handled well. It is now expected that quoted fields will be as close as possible to the RFC-4180 specifications when writing this kind of fields on a CSV file.
  • Unable to guess delimiters.
  • Error alerts were not reset after attempting to guess the delimiters.
  • Unable to handle quoted fields with embedded line breaks.
  • Unable to stop the analysis when the user requests a number of records but the end of the file is reached.
  • Unable to detect the variation of the number of fields when the first record has more fields than the following ones.
  • Unable to adjust the buffer size when the specified record delimiter is missing.

Improvements:

  • A Test Driven Development (TDD) suite has been added.
  • Option added: user can instruct the parser to turn all the stream's record delimiters to LF.
  • Records are ignored only when they are empty or commented out, as specified in the skipCommentLines and skipEmptyLines options. This Closes #9.
  • Now the ImportFromCSVString method can guess the delimiters specified in the parseConfig.delimitersGuessing property.
  • More import and advanced examples have been added.
  • Added FAQ section.
  • Added error messages docs.
  • Added options: SkipCommentLines, SkipEmptyLines.
  • Updated ECPTextStream module.
  • Some lines in the import procedures have been refactored or rewritten.
  • Deprecated option: catchMeaninglessRecords.
  • The parser allows the following characters as comment tokens: [#](default) , [!], [$], [%], and [&].
  • Updated benchmarks.
  • Updated docs.