Skip to content

v5.7.1 - Preserve lone empty CSV fields when writing

Choose a tag to compare

@vincentlaucsb vincentlaucsb released this 01 Nov 18:35
· 18 commits to master since this release
86f1cab

Fixes a bug where writing rows with a single empty field would produce a blank line, instead of a line containing a quoted empty row.

The result was that when reading CSVs emitted with csv-parser with other CSV libraries, it was not possible to distinguish truly empty rows from rows with an empty field.

See #350 for more details. Thanks to @emincan2000 for the fix.