unstale

npm / csv-stringify

csv-stringify

What changed in csv-stringify 2 to 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

2 breaking1 security3 new APIs and options2 behavior and defaults1 tooling17 fixes and other

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

npx @unstale/cli init

@unstale/cli on npm

csv-stringify 625 changes

Breaking changes 1

Security 1

  • Adds formula escaping to defend against injection attacks, including support for Unicode characters.

    6.8.0release notes

New APIs and options 3

Behavior and default changes 2

Tooling 1

  • TypeScript options now extend stream.TransformOptions.

    6.8.0release notes

Fixes and other changes 17

  • Fields containing a carriage return are quoted.

    6.9.0release notes

  • Header cast context is preserved when eof is false.

    6.9.0release notes

  • Negative numeric values are preserved.

    6.9.0release notes

  • Objects returned by cast functions are preserved.

    6.9.0release notes

  • The source record is no longer altered when columns is set.

    6.9.0release notes

  • A global quoted_match regexp now quotes every matching field.

    6.8.3release notes

  • Fixes quoting fields that fuse with a multi-character separator.

    6.8.1release notes

  • Regexp metacharacters in escape and quote characters are handled literally, fixing double escaping.

    6.8.1release notes

  • Adds the missing type definition for the bigint cast option.

    6.8.0release notes

  • TypeScript types now allow cast functions to return an object.

    6.8.0release notes

  • An empty string pattern now causes empty strings to be quoted.

    6.8.0release notes

  • The quoted_match configuration option now accepts arrays.

    6.8.0release notes

  • Fixes uncaught errors with large stream chunks.

    6.8.0release notes

  • Fixes BOM and header output when there are no records, and throws an error for a header with no records.

    6.8.0release notes

  • Fixes error handling in the sync API.

    6.8.0release notes

  • Type definitions now allow columns to mix strings and objects.

    6.7.0release notesrelease notes

  • A bug involving Infinity being undefined in get is fixed.

    6.7.0release notes

csv-stringify 21 changes

Breaking changes 1

  • CoffeeScript 2 produces modern JavaScript syntax and breaks compatibility with Node.js versions below 7.6 and with browsers.

    2.0.0release notes