All Versions
50
Latest Version
Avg Release Cycle
73 days
Latest Release
599 days ago

Changelog History
Page 1

  • v1.7.2 Changes

    August 29, 2022
    • new option :with_line_numbers; if set to true, it adds :csv_line_number to each data hash (issue #130)
  • v1.7.1 Changes

    July 31, 2022
    • bugfix for issue #195 #197 #200 which only appeared when called from Rails (thanks to Viacheslav Markin, Nicolas Rodriguez)
  • v1.7.0 Changes

    June 26, 2022
    • added native code to accellerate line parsing by >10x over 1.6.0
    • added option acceleration, defaulting to true, to enable native code. Disable this option to use the ruby code for line parsing.
    • increased test coverage to 100%
    • rubocop changes
  • v1.7.0.pre5 Changes

    June 20, 2022
    • fixed compiling
    • rubocop changes
    • published pre-release
  • v1.7.0.pre1 Changes

    May 23, 2022
    • added native code to accellerate line parsing by >10x over 1.6.0
    • added option acceleration, defaulting to true, to enable native code. Disable this option to use the ruby code for line parsing.
    • increased test coverage to 100%
  • v1.6.1 Changes

    May 06, 2022
    • unused keys in key_mapping now generate a warning, no longer raise an exception This is preferable when key_mapping is done defensively for variabilities in the CSV files.
  • v1.6.0 Changes

    May 03, 2022
    • completely rewrote line parser
    • added methods SmarterCSV.raw_headers and SmarterCSV.headers to allow easy examination of how the headers are processed.
  • v1.5.2 Changes

    April 29, 2022
    • added missing keys to the SmarterCSV::KeyMappingError exception message #189 (thanks to John Dell)
  • v1.5.1 Changes

    April 27, 2022
    • added raising of KeyMappingError if key_mapping refers to a non-existent key
    • added option duplicate_header_suffix (thanks to Skye Shaw) When given a non-nil string, it uses the suffix to append numbering 2..n to duplicate headers. If your code will need to process arbitrary CSV files, please set duplicate_header_suffix.
  • v1.5.0 Changes

    April 25, 2022
    • fixed bug with trailing col_sep characters, introduced in 1.4.0
    • Fix deprecation warning in Ruby 3.0.3 / $INPUT_RECORD_SEPARATOR (thanks to Joel Fouse )

    • changed default for comment_regexp to be nil for a safer default behavior (thanks to David Lazar) Note This no longer assumes that lines starting with # are comments. If you want to treat lines starting with '#' as comments, use comment_regexp: /\A#/