Skip to content

Releases: uniVocity/univocity-parsers

Maintenance version 2.7.1 with bugfixes

11 Jul 08:31
Compare
Choose a tag to compare

Fixed a couple of bugs:

  • Annotated fields won't be processed when reading rows with less elements (#253)

  • Incorrect handling of columnReorderingEnabled = false ( #254)

Minor 2.7.0 released

10 Jul 02:39
001d3d6
Compare
Choose a tag to compare

Enhancements:

  • Introduce @Validate annotation and conversion to perform basic validations #251

Bugfixes:

  • Inconsistent result of parseLine on empty set of selected indexes #250

  • Fixed comments collecting on buffer update #252

Minor 2.6.4 release

10 Jul 02:37
Compare
Choose a tag to compare

Bugfixes:

  • Support Enum alternative values #240

  • better error message for more than max columns #247

Enhancements:

  • FixedWidthWriter does not honour FixedWidthWriterSettings.setNullValue #238

Minor 2.6.3 release - future proofing for new JDK versions

15 Apr 12:13
Compare
Choose a tag to compare

remove dependency on internal JDK's "memberValues" field used when processing @Copy annotations.

Minor version 2.6.2

04 Apr 08:59
Compare
Choose a tag to compare

Bug fixes

  • Concurrency issue when calling stopParsing() (#231)
  • Error deriving header names from annotated java beans when writing objects with meta-annotations.

Enhancements

  • Implemented trim quoted values support (#230)

Fixed bug in CSV parser

15 Mar 03:49
Compare
Choose a tag to compare

Issue #228 revealed a regression bug on the CSV parser which was introduced in version 2.6.0

The last column of a row would be ignored if it's empty and preceded by a quoted value, e.g.

A row such as "A", would be parsed as [A] instead of [A, null]

This new release fixes the bug.

Next minor version 2.6.0 with better performance

27 Feb 13:33
Compare
Choose a tag to compare

Enhacements:

  • CSV parser now parses quoted values ~30% faster

  • CSV format detection process has option provide a list of possible delimiters, in order of priority ( i.e. settings.detectFormatAutomatically( '-', '.');) (#214 )

  • CSV writer allows selecting columns that should always have quotes (i.e. writerSettings.quoteFields("C", "D"); or writerSettings.quoteIndexes(0, 1, 4, 5);) (#191)

  • Introduced support for selecting and aggregating values in lists of java beans when inputs have repeated header names (#188)

  • Context class has two new methods for facilitating the usage of Record inside RowProcessor (#211):

  • Adjusting method signatures of AbstractWriter to properly handle writing rows based on collections of objects of any type (from a StackOverflow complaint).

public Record toRecord(String[] row);

public RecordMetaData recordMetaData();

Bugfixes:

  • NullPointer when stopping parser when nothing is parsed (#219)

  • Reusing CsvRoutines object results in unexpected output (#224)

Bugfixes and minor enhanchements

21 Nov 03:38
Compare
Choose a tag to compare

Bugfixes

  • #205 OOM on skip lines. AbstractCharInputReader.skipLines

  • #212 Bad results if charset is null in beginParsing

  • #203 CsvRoutines generating empty output with keepResourcesOpen

  • Fixed incorrect behavior processing comment lines at the end of the input, when no line ending is present after the commented out line.

ENHANCEMENTS

  • Introduced the CompositeProcessor based on question raised in ticket #206

  • Adjustment on CsvFormatDetector to improve chances of detecting delimiters in small inputs.

  • Added expectedRowCount parameter to all methods that produce lists of rows, records or beans to prevent slow reallocation operations inside the resulting ArrayList. Useful when processing large inputs.

Minor bug fixes

16 Oct 03:25
Compare
Choose a tag to compare
  • Trailing spaces in csv line leads to null instead of empty String (#196)
  • On CSV, keepQuotes fail to print out closing quote if it's followed by a whitespace and a line ending (#197)
  • CsvParser does not properly detect delimiter (with setDelimiterDetectionEnabled) (#198)
  • Routines' keepResourcesOpen not respected with writeAll(list of objects) (#201)

Maintenance release to fix intermittent error

09 Oct 07:37
Compare
Choose a tag to compare

This version was released to bury the intermittent results produced by the parser when processing files and input streams without an explicit character encoding while readInputOnSeparateThread=true as reported on issue #194

This problem appeared on version 2.5.0 onward and has been plaguing users until version 2.5.6, and is finally gone for good.