unstale

npm / csv-parse

csv-parse

What changed in csv-parse 5 to 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

2 breaking2 security3 new APIs and options4 behavior and defaults2 tooling11 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

csv-parse 710 changes

Breaking changes 1

  • Trim behavior now aligns with ECMAScript whitespace.

    7.0.0release notes

Security 1

New APIs and options 3

Behavior and default changes 1

  • Delimiter splitting is disabled when the delimiter is an empty array.

    7.0.0release notes

Fixes and other changes 4

csv-parse 66 changes

Security 1

  • Fixes prototype pollution associated with the objname option.

    6.2.1release notes

Fixes and other changes 5

  • Support is added for number columns with cast.

    6.2.0release notes

  • The inherited type for delimiter is fixed.

    6.2.0release notes

  • The error type no longer uses TypeScript all.

    6.2.0release notes

  • TypeScript info interfaces are aligned with the JavaScript API.

    6.2.0release notes

  • A declaration for a nonexistent TypeScript function is removed.

    6.2.0release notes

csv-parse 58 changes

Breaking changes 1

  • CommonJS consumers must change the sync parser import from csv-parse/lib/sync to csv-parse/sync after the ESM migration.

    5.0.0release notes

Behavior and default changes 3

  • Support for Node.js 14 was backported.

    5.0.0release notes

  • Backward support for Node.js 8 was added.

    5.0.0release notes

  • When skipping lines with errors while using raw, the current buffer is printed.

    5.0.0release notes

Tooling 2

  • The TypeScript encoding type now uses BufferEncoding.

    5.0.0release notes

  • TypeScript types are exported for the sync API.

    5.0.0release notes

Fixes and other changes 2

  • The TypeScript callback CsvError argument was fixed.

    5.0.0release notes

  • Validation of record_delimiter was improved.

    5.0.0release notes