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
5.0.4 (2020-11-10)
Bug Fixes
5.0.3 (2020-09-24)
Bug Fixes
5.0.2 (2020-09-24)
Bug Fixes
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 theflattenSeparator
options, instead see the newtransforms
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
toescapedQuote
-
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
- Always error asynchronously from parseAsync method (#412) (16cc044)
- audit deps (15992cf)
- drop Node 8 and 9 (7295465)
- Make some CLI options mandatory (#433) (bd51527)
- Remove CommonJS build (#422) (5ce0089)
- Remove stringify option (#419) (39f303d)
- Rename doubleQuote to escapedQuote (#418) (f99408c)
- update CI node versions (#413) (6fd6c09)
- update commander cli dep (74aa40a)
- update commander dep (272675b)
- deps: audit dependencies (bf9877a)
- deps: update commander (3f099f2)
- security: fix audit vulnerabilities (b57715b)
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
4.4.0 (2019-03-25)
Features
4.3.5 (2019-02-22)
Bug Fixes
4.3.4 (2019-02-11)
Bug Fixes
4.3.3 (2019-01-11)
Bug Fixes
- audit dep fix (1ef4bcd)
- Remove invalid reference to flat (#347) (130ef7d)
- Remove preferGlobal from package.json (#346) (2b6ad3a)
4.3.2 (2018-12-08)
Bug Fixes
4.3.1 (2018-11-17)
Bug Fixes
4.3.0 (2018-11-05)
Bug Fixes
- Optimize performance around the usage of fields (#328) (d9e4463)
- Remove wrong submodule (#326) (6486bb0)
Features
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
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
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
Features
4.0.4 (2018-04-10)
Bug Fixes
- comment out failing tests (#283) (5b25eaa)
- Support empty array with opts.fields (#281) (eccca89)
- tests: emit correct lines from transform (#282) (2322ddf)
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
4.0.0 (2018-02-27)
Bug Fixes
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
- Add CLI tests (#247) (bb8126f)
- Add excel string to cli and standardize (#231) (421baad)
- Allow passing ldjson input files (#220) (9c861ed)
- Avoid throwing an error on elements that can't be stringified (like functions) (#223) (679c687)
- backslash logic (#222) (29e9445)
- broken stdin input (#241) (6cb407c)
- Combine EOL and newLine parameters (#219) (4668a8b)
- header flag (#221) (7f7338f)
- outdated jsdoc (#243) (efe9888)
- pretty print issues (#242) (3bd9655)
- Process header cells as any other cell (#244) (1fcde13)
- Remove callback support (2096ade)
- Remove fieldNames (#232) (6cc74b2)
- Remove path-is-absolute dependency (#225) (f71a3df)
- Rename hasCSVColumnTitle to noHeader (#216) (f053c8b)
- Rename ld-json to ndjson (#240) (24a7893)
- Rename unwindPath to unwind (#230) (7143bc7)
- Streamify pretty print (#248) (fb7ad53)
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
3.11.0 (2017-08-02)
Bug Fixes
- Handle dates without double-escaping (#189) (ff514ba)
- unwind parameter in command line mode (#191) (e706c25)
Features
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
Features
3.7.3 (2016-12-08)
Bug Fixes
3.6.3 / 2016-08-17
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