Skip to content

Commit

Permalink
ref #11 Bump up version to v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ryu1kn committed Aug 22, 2018
1 parent 47a925e commit 8e595e1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.2.0] - 2018-08-22
### Added
- CSV records are now not limited to an array but can be an iterable object. Thanks to @pineapplemachine.
[PR #11](https://github.com/ryu1kn/csv-writer/pull/11)

## [1.1.0] - 2018-08-20
### Added
- Allow semicolon as a field delimiter as it is commonly used in CSV in some regions. Thanks to @HKskn.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,10 @@ console.log(csvStringifier.stringifyRecords(records));

##### Parameters:

* records `<Array<Object|Array>>`
* records `<Iterator<Object|Array>>`

Depending on which function was used to create a `csvWriter` (i.e. `createObjectCsvWriter` or `createArrayCsvWriter`),
records will be either an array of objects or arrays
records will be either a collection of objects or arrays. As long as the collection is iterable, it doesn't need to be an array.

##### Returns:

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "csv-writer",
"version": "1.1.0",
"version": "1.2.0",
"description": "Convert objects/arrays into a CSV string or write them into a CSV file",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 8e595e1

Please sign in to comment.