source: node_modules/jsonfile/CHANGELOG.md

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 8.9 KB
RevLine 
[d24f17c]16.1.0 / 2020-10-31
2------------------
3
4- Add `finalEOL` option to disable writing final EOL ([#115](https://github.com/jprichardson/node-jsonfile/issues/115), [#137](https://github.com/jprichardson/node-jsonfile/pull/137))
5- Update dependency ([#138](https://github.com/jprichardson/node-jsonfile/pull/138))
6
76.0.1 / 2020-03-07
8------------------
9
10- Update dependency ([#130](https://github.com/jprichardson/node-jsonfile/pull/130))
11- Fix code style ([#129](https://github.com/jprichardson/node-jsonfile/pull/129))
12
136.0.0 / 2020-02-24
14------------------
15
16- **BREAKING:** Drop support for Node 6 & 8 ([#128](https://github.com/jprichardson/node-jsonfile/pull/128))
17- **BREAKING:** Do not allow passing `null` as options to `readFile()` or `writeFile()` ([#128](https://github.com/jprichardson/node-jsonfile/pull/128))
18- Refactor internals ([#128](https://github.com/jprichardson/node-jsonfile/pull/128))
19
205.0.0 / 2018-09-08
21------------------
22
23- **BREAKING:** Drop Node 4 support
24- **BREAKING:** If no callback is passed to an asynchronous method, a promise is now returned ([#109](https://github.com/jprichardson/node-jsonfile/pull/109))
25- Cleanup docs
26
274.0.0 / 2017-07-12
28------------------
29
30- **BREAKING:** Remove global `spaces` option.
31- **BREAKING:** Drop support for Node 0.10, 0.12, and io.js.
32- Remove undocumented `passParsingErrors` option.
33- Added `EOL` override option to `writeFile` when using `spaces`. [#89]
34
353.0.1 / 2017-07-05
36------------------
37
38- Fixed bug in `writeFile` when there was a serialization error & no callback was passed. In previous versions, an empty file would be written; now no file is written.
39
403.0.0 / 2017-04-25
41------------------
42
43- Changed behavior of `throws` option for `readFileSync`; now does not throw filesystem errors when `throws` is `false`
44
452.4.0 / 2016-09-15
46------------------
47### Changed
48- added optional support for `graceful-fs` [#62]
49
502.3.1 / 2016-05-13
51------------------
52- fix to support BOM. [#45][#45]
53
542.3.0 / 2016-04-16
55------------------
56- add `throws` to `readFile()`. See [#39][#39]
57- add support for any arbitrary `fs` module. Useful with [mock-fs](https://www.npmjs.com/package/mock-fs)
58
592.2.3 / 2015-10-14
60------------------
61- include file name in parse error. See: https://github.com/jprichardson/node-jsonfile/pull/34
62
632.2.2 / 2015-09-16
64------------------
65- split out tests into separate files
66- fixed `throws` when set to `true` in `readFileSync()`. See: https://github.com/jprichardson/node-jsonfile/pull/33
67
682.2.1 / 2015-06-25
69------------------
70- fixed regression when passing in string as encoding for options in `writeFile()` and `writeFileSync()`. See: https://github.com/jprichardson/node-jsonfile/issues/28
71
722.2.0 / 2015-06-25
73------------------
74- added `options.spaces` to `writeFile()` and `writeFileSync()`
75
762.1.2 / 2015-06-22
77------------------
78- fixed if passed `readFileSync(file, 'utf8')`. See: https://github.com/jprichardson/node-jsonfile/issues/25
79
802.1.1 / 2015-06-19
81------------------
82- fixed regressions if `null` is passed for options. See: https://github.com/jprichardson/node-jsonfile/issues/24
83
842.1.0 / 2015-06-19
85------------------
86- cleanup: JavaScript Standard Style, rename files, dropped terst for assert
87- methods now support JSON revivers/replacers
88
892.0.1 / 2015-05-24
90------------------
91- update license attribute https://github.com/jprichardson/node-jsonfile/pull/21
92
932.0.0 / 2014-07-28
94------------------
95* added `\n` to end of file on write. [#14](https://github.com/jprichardson/node-jsonfile/pull/14)
96* added `options.throws` to `readFileSync()`
97* dropped support for Node v0.8
98
991.2.0 / 2014-06-29
100------------------
101* removed semicolons
102* bugfix: passed `options` to `fs.readFile` and `fs.readFileSync`. This technically changes behavior, but
103changes it according to docs. [#12][#12]
104
1051.1.1 / 2013-11-11
106------------------
107* fixed catching of callback bug (ffissore / #5)
108
1091.1.0 / 2013-10-11
110------------------
111* added `options` param to methods, (seanodell / #4)
112
1131.0.1 / 2013-09-05
114------------------
115* removed `homepage` field from package.json to remove NPM warning
116
1171.0.0 / 2013-06-28
118------------------
119* added `.npmignore`, #1
120* changed spacing default from `4` to `2` to follow Node conventions
121
1220.0.1 / 2012-09-10
123------------------
124* Initial release.
125
126[#89]: https://github.com/jprichardson/node-jsonfile/pull/89
127[#45]: https://github.com/jprichardson/node-jsonfile/issues/45 "Reading of UTF8-encoded (w/ BOM) files fails"
128[#44]: https://github.com/jprichardson/node-jsonfile/issues/44 "Extra characters in written file"
129[#43]: https://github.com/jprichardson/node-jsonfile/issues/43 "Prettyfy json when written to file"
130[#42]: https://github.com/jprichardson/node-jsonfile/pull/42 "Moved fs.readFileSync within the try/catch"
131[#41]: https://github.com/jprichardson/node-jsonfile/issues/41 "Linux: Hidden file not working"
132[#40]: https://github.com/jprichardson/node-jsonfile/issues/40 "autocreate folder doesn't work from Path-value"
133[#39]: https://github.com/jprichardson/node-jsonfile/pull/39 "Add `throws` option for readFile (async)"
134[#38]: https://github.com/jprichardson/node-jsonfile/pull/38 "Update README.md writeFile[Sync] signature"
135[#37]: https://github.com/jprichardson/node-jsonfile/pull/37 "support append file"
136[#36]: https://github.com/jprichardson/node-jsonfile/pull/36 "Add typescript definition file."
137[#35]: https://github.com/jprichardson/node-jsonfile/pull/35 "Add typescript definition file."
138[#34]: https://github.com/jprichardson/node-jsonfile/pull/34 "readFile JSON parse error includes filename"
139[#33]: https://github.com/jprichardson/node-jsonfile/pull/33 "fix throw->throws typo in readFileSync()"
140[#32]: https://github.com/jprichardson/node-jsonfile/issues/32 "readFile & readFileSync can possible have strip-comments as an option?"
141[#31]: https://github.com/jprichardson/node-jsonfile/pull/31 "[Modify] Support string include is unicode escape string"
142[#30]: https://github.com/jprichardson/node-jsonfile/issues/30 "How to use Jsonfile package in Meteor.js App?"
143[#29]: https://github.com/jprichardson/node-jsonfile/issues/29 "writefile callback if no error?"
144[#28]: https://github.com/jprichardson/node-jsonfile/issues/28 "writeFile options argument broken "
145[#27]: https://github.com/jprichardson/node-jsonfile/pull/27 "Use svg instead of png to get better image quality"
146[#26]: https://github.com/jprichardson/node-jsonfile/issues/26 "Breaking change to fs-extra"
147[#25]: https://github.com/jprichardson/node-jsonfile/issues/25 "support string encoding param for read methods"
148[#24]: https://github.com/jprichardson/node-jsonfile/issues/24 "readFile: Passing in null options with a callback throws an error"
149[#23]: https://github.com/jprichardson/node-jsonfile/pull/23 "Add appendFile and appendFileSync"
150[#22]: https://github.com/jprichardson/node-jsonfile/issues/22 "Default value for spaces in readme.md is outdated"
151[#21]: https://github.com/jprichardson/node-jsonfile/pull/21 "Update license attribute"
152[#20]: https://github.com/jprichardson/node-jsonfile/issues/20 "Add simple caching functionallity"
153[#19]: https://github.com/jprichardson/node-jsonfile/pull/19 "Add appendFileSync method"
154[#18]: https://github.com/jprichardson/node-jsonfile/issues/18 "Add updateFile and updateFileSync methods"
155[#17]: https://github.com/jprichardson/node-jsonfile/issues/17 "seem read & write sync has sequentially problem"
156[#16]: https://github.com/jprichardson/node-jsonfile/pull/16 "export spaces defaulted to null"
157[#15]: https://github.com/jprichardson/node-jsonfile/issues/15 "`jsonfile.spaces` should default to `null`"
158[#14]: https://github.com/jprichardson/node-jsonfile/pull/14 "Add EOL at EOF"
159[#13]: https://github.com/jprichardson/node-jsonfile/issues/13 "Add a final newline"
160[#12]: https://github.com/jprichardson/node-jsonfile/issues/12 "readFile doesn't accept options"
161[#11]: https://github.com/jprichardson/node-jsonfile/pull/11 "Added try,catch to readFileSync"
162[#10]: https://github.com/jprichardson/node-jsonfile/issues/10 "No output or error from writeFile"
163[#9]: https://github.com/jprichardson/node-jsonfile/pull/9 "Change 'js' to 'jf' in example."
164[#8]: https://github.com/jprichardson/node-jsonfile/pull/8 "Updated forgotten module.exports to me."
165[#7]: https://github.com/jprichardson/node-jsonfile/pull/7 "Add file name in error message"
166[#6]: https://github.com/jprichardson/node-jsonfile/pull/6 "Use graceful-fs when possible"
167[#5]: https://github.com/jprichardson/node-jsonfile/pull/5 "Jsonfile doesn't behave nicely when used inside a test suite."
168[#4]: https://github.com/jprichardson/node-jsonfile/pull/4 "Added options parameter to writeFile and writeFileSync"
169[#3]: https://github.com/jprichardson/node-jsonfile/issues/3 "test2"
170[#2]: https://github.com/jprichardson/node-jsonfile/issues/2 "homepage field must be a string url. Deleted."
171[#1]: https://github.com/jprichardson/node-jsonfile/pull/1 "adding an `.npmignore` file"
Note: See TracBrowser for help on using the repository browser.