UNPKG

8.57 kBMarkdownView Raw
1# History
2
3## v7.0.0 2020 March 26
4
5- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
6- Minimum required node version changed from `node: >=8` to `node: >=10` to keep up with mandatory ecosystem changes
7
8## v6.9.0 2019 December 18
9
10- Fixed broken `json2cson` and `cson2json` executables (regression since v6.0.0)
11- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
12
13## v6.8.0 2019 December 9
14
15- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
16
17## v6.7.0 2019 December 1
18
19- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
20
21## v6.6.0 2019 December 1
22
23- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
24
25## v6.5.0 2019 December 1
26
27- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
28
29## v6.4.0 2019 November 18
30
31- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
32
33## v6.3.0 2019 November 18
34
35- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
36
37## v6.2.0 2019 November 13
38
39- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
40
41## v6.1.0 2019 November 13
42
43- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
44
45## v6.0.0 2019 November 11
46
47- As node v4 is no longer LTS, CSON can now use CoffeeScript v2
48- Minimum supported node version changed from v0.8 to the lowest LTS at the time of this release which is version v8
49- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
50
51## v5.1.0 2018 January 25
52
53- Revert CSON's use of CoffeeScript v2, as it [broke support for Node 4 and below](https://travis-ci.org/bevry/cson/builds/333130290)
54- Use of CoffeeScript v2 is now limited to compilation of this project only
55
56## v5.0.0 2018 January 25
57
58- Now uses CoffeeScript v2
59- Now uses [editions](https://github.com/bevry/editions) to use the ESNext compiled edition for environments that support it, otherwise use the ES2015 compiled edition
60- Updated base files
61
62## v4.1.0 2017 April 10
63
64- `cson2json` and `json2cson` will now output the error if the input file is invalid
65 - Closes [issue #78](https://github.com/bevry/cson/issues/78)
66- Updated base files
67
68## v4.0.0 2016 October 20
69
70- `parseCSString` no longer creates the `sandbox` variable if it was missing, the responsibility of such things should be, and now is, handled via the eval function of coffeescript which is what that method uses - This is a major breaking change as parsing coffeescript files will now by default run still in a virtual machine but now in the global context rather than their own context - If you are parsing untrusted coffeescript files, you should now setup the `sandbox` option yourself with the appropriate values - If you are parsing trusted coffeescript files, or not parsing coffeescript files (e.g. only CSON files), then this change won't impact you - This change is done such that the result object from `parseCSString` passes `result.__proto__ === Object.prototype` which before it did not as the different context caused the prototype to point to a different contexts `Object` causing the assertion to fail
71- Updated dependencies
72- Updated internal packing conventions
73
74## v3.0.2 2015 September 18
75
76- Updated dependencies to avoid duplicate CoffeeScript installations
77
78## v3.0.1 2015 March 16
79
80- Fixed stdin support on Node 0.8
81
82## v3.0.0 2015 March 16
83
84- Every function now also supports callbacks (2nd or 3rd argument)
85- Errors will now always maintain their stacks where possible
86- Simplified some aliases (b/c break) - Changed `stringify` to now accept the arguments you would expect `stringify(data, replacer, indent)` - Changed `parse` to delegate to `parseCSONString` instead of `parseString` - Changed `load` to delegate to `parseCSONFile` instead of `parseFile` - Removed `require` (it use to delegate to `requireFile`)
87- Updated dependencies
88
89## v2.0.0 2015 February 6
90
91- API has been rewritten to be more robust and simple
92- CSON data is now parsed and stringified with the [cson-parser](https://www.npmjs.com/package/cson-parser) package
93- CLI now supports stdin input
94- Node v0.11 and IO.js support
95
96## v1.6.2 2014 December 11
97
98- Updated dependencies
99
100## v1.6.1 2014 August 3
101
102- Updated dependencies
103
104## v1.6.0 2014 May 17
105
106- Updated dependencies
107- Fixed error handling in certain conditions
108
109## v1.5.0 2014 February 8th
110
111- Updated dependencies
112
113## v1.4.5 2013 October 31
114
115- Updated dependencies
116
117## v1.4.4 2013 August 30
118
119- Updated dependencies
120
121## v1.4.3 2013 August 30
122
123- Better error handling when requiring a file that has syntax errors
124- Fixed stringify of '{}' giving '{{}}' which is invalid - Closes [issue #21](https://github.com/bevry/cson/issues/21)
125
126## v1.4.2 2013 June 7
127
128- Updated dependencies
129
130## v1.4.1 2013 March 16
131
132- Added `npm-shrinkwrap.json` that ensures `js2coffee` uses `coffee-script` 1.4.0
133- Updated dependencies
134
135## v1.4.0 2012 October 25
136
137- Dropped require extensions following [CoffeeScript's lead](https://github.com/jashkenas/coffee-script/issues/2441) - If you still want them, add them to your application manually
138- Updated dependencies - coffee-script 1.3.x to 1.4.x
139
140## v1.3.0 2012 September 1
141
142- You can now use `require` to require CSON files - Thanks to [Linus G Thiel](https://github.com/linus) for [pull request #16](https://github.com/bevry/cson/pull/16)
143- Drops node v0.4 support, min supported version now v0.6
144
145## v1.2.3 2012 September 1
146
147- Fixed `json2cson` and `cson2json` binaries - Thanks to [Zhang Cheng](https://github.com/zhangcheng) for [pull request #15](https://github.com/bevry/cson/pull/15)
148
149## v1.2.2 2012 August 10
150
151- Re-added markdown files to npm distribution as they are required for the npm website
152
153## v1.2.1 2012 July 16
154
155- Fixed try surrounding a next callback
156
157## v1.2.0 2012 July 7
158
159- CSON files are now sandboxed by default, ensuring they can't do bad stuff to your global scope
160- Added `opts` as the middle argument for `parseFile`, `parseFileSync`, `parse`, and `parseSync` functions - You can use this to specify `sandbox: false` if you do not want sandboxing on CSON files
161
162## v1.1.2 2012 June 22
163
164- We no longer have `require` cache our configuration files
165
166## v1.1.1 2012 June 21
167
168- Fixed main file location
169
170## v1.1.0 2012 June 21
171
172- Parsing file changes - If files have `js` or `coffee` extension, will try to require them - If files have `json` or `cson` extension, will try to read them - Otherwise will throw an unknown extension error
173- Moved tests from Mocha to [Joe](https://github.com/bevry/joe)
174
175## v1.0.2 2012 May 04
176
177- Fixed some CSON use cases and added more unit tests
178
179## v1.0.1 2012 May 04
180
181- Async calls now act asynchronously - Thanks to [Ryan LeFevre](https://github.com/meltingice) for [pull request #10](https://github.com/bevry/cson/pull/10) -
182
183## v1.0.0 2012 April 23
184
185- Updated tests
186- Updated `package.json` for latest npm
187- Cleaned up the code
188- CoffeeScript dependency is now local
189- Added synchronous API calls to the README
190- Stringify functions now output CSON strings, instead of JSON strings - Use `JSON.stringify` if you want JSON strings
191- Added `json2cson` and `cson2json` bin tools
192
193## v0.2 2011 August 10
194
195- Added synchronous interface thanks to [clyfe](https://github.com/clyfe) - closes issue [#1](https://github.com/balupton/cson.npm/issues/1) and [#3](https://github.com/balupton/cson.npm/pull/3)
196
197## v0.1 2011 June 2
198
199- Initial commit