Skip to content

Latest commit

 

History

History
467 lines (261 loc) · 15.3 KB

CHANGELOG.md

File metadata and controls

467 lines (261 loc) · 15.3 KB

Change Log

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)

Features

  • csv-parse: set columns type as readonly (#358) (44f2e7c)

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)

Bug Fixes

  • 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)

Bug Fixes

  • csv-demo-ts-cjs-node16: upgrade module definition after latest typescript (87fe919)

6.4.1 (2023-08-24)

Bug Fixes

  • commonjs types, run tsc and lint to validate changes (#397) (e6870fe)

6.4.0 (2023-05-09)

Features

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)

Bug Fixes

  • uncaught errors with large stream chunks (fix #386) (1d500ed)

6.3.1 (2023-04-16)

Bug Fixes

  • uncaught errors with large stream chunks (fix #386) (1d500ed)

6.3.0 (2023-03-03)

Features

  • csv-stringify: Add escape_formulas to defend against injection attacks (#380) (47ac4bd)

6.2.4 (2023-02-08)

Bug Fixes

6.2.3 (2022-11-30)

Bug Fixes

  • csv-stringify: update quoted_match config option to accept arrays (#371) (42c468b)

6.2.2 (2022-11-22)

Bug Fixes

  • csv-stringify: add missing type definition for bigint cast option (#369) (764e748)

6.2.1 (2022-11-08)

Bug Fixes

  • support TypeScript moduleResolution node16 (#368) (f4d7c97)

6.2.0 (2022-07-10)

Features

  • ts module Node16 and type declaration to exports field (#341) (4b0283d)

6.1.3 (2022-06-16)

Bug Fixes

  • csv-stringify: quote_match with empty string pattern quotes empty strings (#345) (1c22d2e), closes #344

6.1.2 (2022-06-14)

Bug Fixes

  • csv-stringify: throw err with no records and header in sync mode (5c8ef2e)

6.1.1 (2022-06-14)

Bug Fixes

  • csv-stringify: bom and header in sync mode with no records (fix #343) (bff158f)

6.1.0 (2022-05-24)

Features

Bug Fixes

  • csv-stringify: update TS types to allow cast to return an object (#339) (60efa78)

6.0.5 (2021-12-29)

Bug Fixes

  • 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)

Bug Fixes

  • csv-stringify: catch error with sync api, fix #296 (e157f40)
  • csv-stringify: node 12 compatibility in flush (9145b75)

6.0.3 (2021-11-19)

Bug Fixes

  • expose browser esm modules (eb87355)

6.0.2 (2021-11-18)

Bug Fixes

6.0.1 (2021-11-15)

Bug Fixes

  • remove samples from publicatgion (12c221d)

6.0.0 (2021-11-15)

Bug Fixes

  • 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)

Features

  • 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

5.6.3 (2021-08-27)

Note: Version bump only for package csv-stringify

Version 5.6.2

  • build: rename build commands

Version 5.6.1

  • fix: memory leak in sync
  • refactor: remove unsused values
  • fix: add browserify dev dep

Version 5.6.0

  • build: use browser compatible bundles, fix #122

Version 5.5.3

  • ts: callback argument simplification

Version 5.5.2

  • package: latest dependencies
  • test: fix write null in node 14
  • ts: enable strict mode
  • package: mocha inside package declaration

Version 5.5.1

Fix

  • bom: work with sync module, fix #115

Version 5.5.0

Feature:

  • cast: support for BigInt

Version 5.4.3

Fix:

  • utils: wrongly declared variable in isSymbol

Version 5.4.2

Fix:

  • quoted_match: apply on all types and not just string
  • cast: validate and normalize local options

Project management:

  • samples: add quoted examples

Version 5.4.1

  • bom: fix ts definition

Version 5.4.0

  • src: complete require in javascript
  • bom: new option

Version 5.3.6

  • cast: fix header context property on first record

Version 5.3.5

  • stream: passing options to parent constructor, fix #104

Version 5.3.4

  • src: strengthen conditions
  • test: ensure every sample is valid
  • package: contributing
  • package: code of conduct
  • quoted_match: ts types string or RegExp

Version 5.3.3

  • columns: can still access fields with dots, fix #98

Version 5.3.2

  • columns: get on undefined objects, fix #97

Version 5.3.1

  • package: latest dependencies
  • package: replace npm ignore with file field
  • project: fix license in package.json
  • package: simplify pretest command

Version 5.3.0

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

Version 5.2.0

Fix:

  • escape: enforce validation

Project management:

  • babel: include .babelrc to git
  • ts: rename RowDelimiter to RecordDelimiter
  • ts: convert camel case to snake case

Version 5.1.2

Fix:

  • write: immutable input chunks

Version 5.1.1

Fix:

  • ts: add casting context missing type

Version 5.1.0

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

Version 5.0.0

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

Version 4.3.1

  • readme: fix links to project website

Version 4.3.0

  • package: move to csv.js.org

Version 4.2.0

  • formatters: new string formatter
  • stream: be a much better transform citizen
  • package: upgrade to babel 7

Version 4.1.0

  • columns: support array with column definition objects
  • travis: support Node.js 10
  • samples: new formatters script
  • samples: update syntax
  • package: improve ignore files

Version 4.0.1

  • typescript: reflect latest change in formatters

Version 4.0.0

Backward incompatibilities:

  • formatters: rename bool to boolean

New features:

  • formatters: handle number

Cleanup

  • src: cache call to typeof
  • package: latest dependencies

Version 3.1.1

  • typescript: sync API needs to return a string

Version 3.1.0

  • typescript: add typings

Version 3.0.0

  • Switch linebreak check for rowDelimiter check

Version 2.1.0

  • package: allow empty quote value
  • package: add ascii option for rowDelimiter

Version 2.0.4

  • package: move babel to dev dependencies

Version 2.0.3

  • package: es5 backward compatiblity
  • package: ignore yarn lock file

Version 2.0.2

  • package: start running tests in preversion

Version 2.0.1

  • package: new release workflow
  • formatters: validate returned value

2.0.0

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

v1.1.0

  • test: should require handled by mocha
  • package: CoffeeScript 2 and use of semver tilde