Skip to content

v4.0.3

Choose a tag to compare

@JoernBerkefeld JoernBerkefeld released this 23 Oct 12:11
· 30 commits to master since this release

Bugfixes

  • Reject duplicate retained header names by default instead of silently overwriting earlier column values. Explicit header arrays fail when the parser is created; inferred headers fail after mapping and sanitization, before the first data row is emitted, so no import row is produced from that parser stream.
  • This is an intentional duplicate-input behavior correction in the 4.0.3 patch. Empty names are checked; removed columns and headers: false retain their behavior. The fork rejects ambiguous input rather than renaming columns, collecting arrays or keeping the last value.
  • Valid CSV/TSV values, native ESM API and streaming behavior are unchanged. This parser validation does not guarantee transaction or pre-clear safety in importing consumers. Consumer adoption is not part of this release.

Related original upstream reports, addressed independently in this fork; no upstream closure is claimed:

mafintosh#224
mafintosh#218

Full Changelog: v4.0.2...v4.0.3