CHANGELOG.md 14.1 KB

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

4.1.3 (2018-05-23)

Bug Fixes

4.1.2 (2018-04-16)

Bug Fixes

  • tests: Skip bogus pretty print tests only in old node versions (#290) (0f3b885)

4.1.1 (2018-04-16)

Bug Fixes

  • readme CLI's info (#289) (9fe65b3)
  • Add tests and docs to unwind-blank feature (#287) (e3d4a05)
  • perf: Improve unwind performance and maintainability (#288) (80e496d)

4.1.0 (2018-04-16)

Bug Fixes

  • Avoid redundant deep cloning when unwinding. (#286) (95a6ca9)

Features

  • Add ability to unwind by blanking out instead of repeating data (#285) (61d9808)

4.0.4 (2018-04-10)

Bug Fixes

4.0.3 (2018-04-09)

Bug Fixes

  • error when a field is null and flatten is used (#274) (1349a94)
  • throw error for empty dataset only if fields not specified (0d8534e)

4.0.2 (2018-03-09)

Bug Fixes

4.0.1 (2018-03-05)

Bug Fixes

  • double quote escaping before new line (#268) (fa991cf)

4.0.0 (2018-02-27)

Bug Fixes

  • Replace webpack with rollup packaging (#266) (a9f8020)

Features

4.0.0-alpha.2 (2018-02-25)

Bug Fixes

4.0.0-alpha.1 (2018-02-21)

Bug Fixes

4.0.0-alpha.0 (2018-02-21)

Bug Fixes

Chores

Features

  • add doubleQuote to cli, rename other options to line up with the cli (5e402dc)
  • Add fields config option to CLI (#245) (74ef666)
  • Add streaming API (#235) (01ca93e)
  • Split tests in multiple files (#246) (839de77)

BREAKING CHANGES

  • Replaces field-list with field-config
  • Remove preserveNewLinesInValues option, preserve by default

  • Refactor the entire library to ES6

  • Fix PR issues

  • Add strict mode for node 4.X

  • Remove fieldNames

  • Increase coverage back to 100%

  • callback is no longer available, just return the csv from the json2csv.

  • updated tests

  • updated readme

    • Rename unwindPath to unwind
  • Fix field-list in CLI

  • newLine removed, eol kept.

  • Rename del to delimiter to match the cli flag

  • Rename quotes to quote to match the cli flag

  • Remove unused double quotes comment

  • Fix noHeader in CLI

  • Revert "Remove unused double quotes comment"

This reverts commit 250d3e6ddf3062cbdc1e0174493a37fa21197d8e.

  • Add doubleQuote to CLI
  • Rename hasCSVColumnTitle to noHeader to keep in line with the CLI

3.11.5 (2017-10-23)

Bug Fixes

3.11.4 (2017-10-09)

Bug Fixes

  • security: Update debug to 3.1.0 for security reasons (9c7cfaa)

3.11.3 (2017-10-09)

3.11.2 (2017-09-13)

Bug Fixes

3.11.1 (2017-08-11)

Bug Fixes

  • cli: pass BOM cli option to function (#193) (70cfdfe)

3.11.0 (2017-08-02)

Bug Fixes

  • Handle dates without double-escaping (#189) (ff514ba)
  • unwind parameter in command line mode (#191) (e706c25)

Features

  • Added flag to signal if resulting function value should be stringified or not (#192) (aaa6b05)

3.10.0 (2017-07-24)

Features

3.9.1 (2017-07-14)

3.9.0 (2017-07-11)

Features

3.8.0 (2017-07-03)

Bug Fixes

  • docs: Add a coma in the ReadMe example (#181) (abeb820)

Features

  • Preserve new lines in cells with option preserveNewLinesInCells (#91) (#171) (187b701)

3.7.3 (2016-12-08)

Bug Fixes

3.6.3 / 2016-08-17

  • Fix crashing on EPIPE error #134
  • Add UMD build for browser usage #136
  • Add docs during prepublish

3.6.2 / 2016-07-22

  • Remove debugger, see #132
  • Fix changelog typo

3.6.1 / 2016-07-12

  • Fix auto-fields returning all available fields, even if not available on the first object, see #104

3.6.0 / 2016-07-07

  • Make callback optional
  • Make callback use process.nextTick, so it's not sync

Thanks @STRML!

3.5.1 / 2016-06-29

  • Revert #114, due to more issues
  • Update npmignore
  • Add a changelog
  • Updatee readme

3.5.0 / 2016-06-21

  • includeEmptyRows options added, see #122 (Thanks @glutentag)
  • -a or --include-empty-rows added for the CLI.

2.2.1 / 2013-11-10

  • mainly for development e.g. adding code format, update readme..

2.2.0 / 2013-11-08

  • not create CSV column title by passing hasCSVColumnTitle: false, into params.
  • if field is not exist in object then the field value in CSV will be empty.
  • fix data in object format - {...}

2.1.0 / 2013-06-11

  • quote titles in the first row

2.0.0 / 2013-03-04

  • err in callback function

1.3.1 / 2013-02-20

  • fix stdin encoding

1.3.0 / 2013-02-20

  • support reading from stdin #9

1.2.0 / 2013-02-20

  • support custom field names #8

1.1.0 / 2013-01-19

  • add optional custom delimiter