Skip to content

Releases: FourierTransformer/ftcsv

1.4.0

14 Aug 15:51
e6324c4
Compare
Choose a tag to compare

Features

  • Make delimiter optional while staying backwards compatible (#42 and #45)

Bufixes

  • Fixes a bug if you reuse the options table where the bufferSize can only be specified using 'parseLine' would pop up.

New Contributors

Full Changelog: 1.3.0...1.4.0

1.3.0

20 Feb 17:06
6238c5a
Compare
Choose a tag to compare

Features

  • Added ability to encode with onlyRequiredQuotes to reduce the number of quotes in the output

Bugfixes

  • Fix bug with encoding options when parsing header-less files

Thanks to @agladysh for the bug report and feature suggestion!

1.2.2

04 Jan 02:26
c858f99
Compare
Choose a tag to compare

Bugfixes

  • Fixed bufferSize default value not being set with options present #29 as reported in #28

1.2.1

29 Oct 02:47
697856f
Compare
Choose a tag to compare

Updated the rockspec to be installable with lua 5.4.

1.2.0

04 Apr 18:50
8668631
Compare
Choose a tag to compare

Features

  • Can now parse files line by line in a fixed-size reading mode
  • Now has an option to ignore quotes when parsing

Improvements

  • Speed increases in vanilla Lua and LuaJIT
  • Refactored code for easier maintenance

Bugfixes

  • Better handling of multiple escaped quotes in vanilla lua (thanks @fredrikj83 #25)

1.1.6

31 May 03:35
Compare
Choose a tag to compare
  • Major speed improvements for LuaJIT (and good improvements for Lua as well!)
  • the returned headers are now always correct when mapping
  • BOM is properly stripped for headerless files

1.1.5

27 May 17:25
Compare
Choose a tag to compare
  • fixed bug with one-line headerless files
  • fixed bug with escaping quotes at beginning of fields
  • improved vanilla lua parsing speed
  • put workaround in place so it can run tests on travis-ci

Mac OS9 Line Endings and BOM removal

02 Dec 04:59
Compare
Choose a tag to compare

ftcsv can now handle Mac OS9 line endings ("\r") and will strip out BOM if it exists.

Quotes in Field Bug Fix

12 Nov 23:53
Compare
Choose a tag to compare

The error handling uncovered a bug with quotes in fields that aren't in a quoted field. It would throw an error that there are too few columns in row due to how quote handling works.

This release fixes that issue.

Better Error Handling!

06 Nov 17:45
Compare
Choose a tag to compare

Can now do some error handling for bad csvs!