Feature:
* cast: support for BigInt
Fix:
* utils: wrongly declared variable in isSymbol
Fix:
* quoted_match: apply on all types and not just string
* cast: validate and normalize local options
Project management:
* samples: add quoted examples
New feature:
* quote: may be a boolean value
* delimiter: accept buffer and enforce validation
* delimiter: disabled if value is empty
* cast: overwrite options if value is an object
Fix:
* record_delimiter: enforce validation
Project management:
* package: latest dependencies
* ts: type tests
Fix:
* escape: enforce validation
Project management:
* babel: include .babelrc to git
* ts: rename RowDelimiter to RecordDelimiter
* ts: convert camel case to snake case
Fix:
* write: immutable input chunks
Fix:
* ts: add casting context missing type
Fix:
* header: ensure column definition
New features:
* cast: pass context to functions
Minor enhancements:
* write: validate written records
* src: extends stream class
Project management:
* package: latest dev dependencies
Breaking changes:
* cast
: was formatters
* record_delimiter
: was row_delimiter
* options: instance options stored in snake case
* nodejs: drop support for version 7, use './lib/es5'
New features:
* quoted_match
: new option
* options: accept snake case and camel case
Minor enhancements:
* stream: pass all options to the transform stream
* stream: use writableObjectMode
Project management:
* package: update license to MIT
* travis: test against Node.js 11
* samples: improve some scripts
formatters
: new string formattercolumns
: support array with column definition objectsBackward incompatibilities:
* formatters
: rename bool to boolean
New features:
* formatters
: handle number
Cleanup
* src: cache call to typeof
* package: latest dependencies
rowDelimiter
checkrowDelimiter
This major version use CoffeeScript 2 which produces a modern JavaScript syntax
(ES6, or ES2015 and later) and break the compatibility with versions of Node.js
lower than 7.6 as well as the browsers. It is however stable in term of API.