All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
6.5.2 (2024-11-21)
Note: Version bump only for package csv-stringify
6.5.1 (2024-07-27)
Note: Version bump only for package csv-stringify
6.5.0 (2024-05-13)
6.4.6 (2024-02-27)
Note: Version bump only for package csv-stringify
6.4.5 (2023-12-08)
Note: Version bump only for package csv-stringify
6.4.4 (2023-10-09)
- csv-stringify: remove non-functional auto value (6e8a9ca)
6.4.3 (2023-10-05)
Note: Version bump only for package csv-stringify
6.4.2 (2023-08-25)
- csv-demo-ts-cjs-node16: upgrade module definition after latest typescript (87fe919)
6.4.1 (2023-08-24)
6.4.0 (2023-05-09)
6.3.4 (2023-05-04)
Note: Version bump only for package csv-stringify
6.3.3 (2023-04-30)
Note: Version bump only for package csv-stringify
6.3.2 (2023-04-16)
6.3.1 (2023-04-16)
6.3.0 (2023-03-03)
6.2.4 (2023-02-08)
6.2.3 (2022-11-30)
6.2.2 (2022-11-22)
6.2.1 (2022-11-08)
6.2.0 (2022-07-10)
6.1.3 (2022-06-16)
- csv-stringify: quote_match with empty string pattern quotes empty strings (#345) (1c22d2e), closes #344
6.1.2 (2022-06-14)
- csv-stringify: throw err with no records and header in sync mode (5c8ef2e)
6.1.1 (2022-06-14)
6.1.0 (2022-05-24)
- wg stream api (8a5eb7d)
6.0.5 (2021-12-29)
- correct exports in package.json with webpack (154eafb)
- csv-demo-webpack-ts: remove polyfill (47a99bd)
- csv-demo-webpack-ts: simplify export paths (8d63a14)
- esm exports in package.json files (c48fe47), closes #308
6.0.4 (2021-11-19)
- csv-stringify: catch error with sync api, fix #296 (e157f40)
- csv-stringify: node 12 compatibility in flush (9145b75)
6.0.3 (2021-11-19)
- expose browser esm modules (eb87355)
6.0.2 (2021-11-18)
6.0.1 (2021-11-15)
- remove samples from publicatgion (12c221d)
6.0.0 (2021-11-15)
- csv-stringify: use removeListener instead of off (2c2623f)
- export original lib esm modules (be25349)
- fallback to setTimeout is setImmediate is undefined (3d6a2d0)
- refer to esm files in dist (b780fbd)
- backport support for node 14 (dbfeb78)
- backward support for node 8 (496231d)
- csv-stringify: ts extends options with stream.TransformOptions (#301) (cc30d66)
- esm migration (b5c0d4b)
- export ts types in sync (890bf8d)
- replace ts types with typesVersions (acb41d5)
5.6.4 (2021-08-27)
Note: Version bump only for package csv-stringify
Note: Version bump only for package csv-stringify
- build: rename build commands
- fix: memory leak in sync
- refactor: remove unsused values
- fix: add browserify dev dep
- build: use browser compatible bundles, fix #122
- ts: callback argument simplification
- package: latest dependencies
- test: fix write null in node 14
- ts: enable strict mode
- package: mocha inside package declaration
Fix
- bom: work with sync module, fix #115
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
- bom: fix ts definition
- src: complete require in javascript
- bom: new option
- cast: fix header context property on first record
- stream: passing options to parent constructor, fix #104
- src: strengthen conditions
- test: ensure every sample is valid
- package: contributing
- package: code of conduct
- quoted_match: ts types string or RegExp
- columns: can still access fields with dots, fix #98
- columns: get on undefined objects, fix #97
- package: latest dependencies
- package: replace npm ignore with file field
- project: fix license in package.json
- package: simplify pretest command
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
: wasformatters
record_delimiter
: wasrow_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
- readme: fix links to project website
- package: move to csv.js.org
formatters
: new string formatter- stream: be a much better transform citizen
- package: upgrade to babel 7
columns
: support array with column definition objects- travis: support Node.js 10
- samples: new formatters script
- samples: update syntax
- package: improve ignore files
- typescript: reflect latest change in formatters
Backward incompatibilities:
formatters
: rename bool to boolean
New features:
formatters
: handle number
Cleanup
- src: cache call to
typeof
- package: latest dependencies
- typescript: sync API needs to return a string
- typescript: add typings
- Switch linebreak check for
rowDelimiter
check
- package: allow empty quote value
- package: add ascii option for
rowDelimiter
- package: move babel to dev dependencies
- package: es5 backward compatiblity
- package: ignore yarn lock file
- package: start running tests in preversion
- package: new release workflow
- formatters: validate returned value
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.
- package: use CoffeeScript 2
- test: should require handled by mocha
- package: CoffeeScript 2 and use of semver tilde