metaforecast/node_modules/json2csv/CHANGELOG.md
2021-01-12 13:43:41 +01:00

23 KiB

Changelog

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

5.0.5 (2020-11-16)

Bug Fixes

  • don't mutate original object in unset (#499) (6e4ea5e)

5.0.4 (2020-11-10)

Bug Fixes

  • Fix issue with unwind and empty arrays creating an extra column (#496) (0b331fc)

5.0.3 (2020-09-24)

Bug Fixes

5.0.2 (2020-09-24)

Bug Fixes

  • cli: fix relative paths issue in CLI when not streaming (#488) (06079e8)

5.0.1 (2020-04-28)

Bug Fixes

5.0.0 (2020-03-15)

⚠ BREAKING CHANGES

  • Node 8 and 9 no longer supported, use Node 10 or greater. It might still work, but it has reached End-Of-Life.

  • module no longer takes unwind, unwindBlank, flatten or the flattenSeparator options, instead see the new transforms option. CLI options are unchanged from the callers side, but use the built in transforms under the hood.

  • Add support for transforms

  • Add documentation about transforms

  • remove extra commonjs build, use starting point in package.json main field.

  • Renamed doubleQuote to escapedQuote

  • remove stringify option

  • --fields-config option has been removed, use the new --config option for all configuration, not just fields.

  • Drop node 6 and 7, and add node 11 and 12

Bug Fixes

Features

  • Add support for flattening arrays and change transforms arguments to an object. (#432) (916e448)
  • Add support for transforms (#431) (f1d04d0)
  • Improve async promise to optionally not return (#421) (3e296f6)
  • Improves the unwind transform so it unwinds all unwindable fields if … (#434) (ec1f301)
  • replace fields config by a global config (#338) (d6c1c5f)

4.5.2 (2019-07-05)

Bug Fixes

  • Improve the inference of the header name when using function as value (#395) (590d19a)

4.4.0 (2019-03-25)

Features

  • Performance improvements and new async api (#360) (d59dea1)

4.3.5 (2019-02-22)

Bug Fixes

4.3.4 (2019-02-11)

Bug Fixes

  • issue with fields.value function not receiving correct fields (#353) (851c02f)

4.3.3 (2019-01-11)

Bug Fixes

4.3.2 (2018-12-08)

Bug Fixes

4.3.1 (2018-11-17)

Bug Fixes

4.3.0 (2018-11-05)

Bug Fixes

Features

  • Add support for objectMode in the stream API (#325) (8f0ae55)

4.2.1 (2018-08-06)

Bug Fixes

  • bug that modifies opts after parsing an object/stream (#318) (f0a4830)
  • Clean up the flattening separator feature (#315) (ee3d181)

4.2.0 (2018-07-31)

Features

4.1.6 (2018-07-12)

Bug Fixes

  • Update dependencies and remove cli-table2 dependency (#312) (5981ba3)

4.1.5 (2018-06-26)

Bug Fixes

4.1.4 (2018-06-23)

Bug Fixes

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 preserveNewLinesInValues (#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