Skip to content

Commit 8e595e1

Browse files
committed
ref #11 Bump up version to v1.2.0
1 parent 47a925e commit 8e595e1

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [1.2.0] - 2018-08-22
9+
### Added
10+
- CSV records are now not limited to an array but can be an iterable object. Thanks to @pineapplemachine.
11+
[PR #11](https://github.com/ryu1kn/csv-writer/pull/11)
12+
813
## [1.1.0] - 2018-08-20
914
### Added
1015
- Allow semicolon as a field delimiter as it is commonly used in CSV in some regions. Thanks to @HKskn.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,10 @@ console.log(csvStringifier.stringifyRecords(records));
191191

192192
##### Parameters:
193193

194-
* records `<Array<Object|Array>>`
194+
* records `<Iterator<Object|Array>>`
195195

196196
Depending on which function was used to create a `csvWriter` (i.e. `createObjectCsvWriter` or `createArrayCsvWriter`),
197-
records will be either an array of objects or arrays
197+
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.
198198

199199
##### Returns:
200200

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "csv-writer",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"description": "Convert objects/arrays into a CSV string or write them into a CSV file",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)