1 | # History
|
2 |
|
3 | ## v7.4.0 2020 May 21
|
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 |
|
7 | ## v7.3.0 2020 May 12
|
8 |
|
9 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
10 |
|
11 | ## v7.2.0 2020 May 11
|
12 |
|
13 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
14 |
|
15 | ## v7.1.0 2020 May 4
|
16 |
|
17 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
18 |
|
19 | ## v7.0.0 2020 March 26
|
20 |
|
21 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
22 | - Minimum required node version changed from `node: >=8` to `node: >=10` to keep up with mandatory ecosystem changes
|
23 |
|
24 | ## v6.9.0 2019 December 18
|
25 |
|
26 | - Fixed broken `json2cson` and `cson2json` executables (regression since v6.0.0)
|
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.8.0 2019 December 9
|
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.7.0 2019 December 1
|
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.6.0 2019 December 1
|
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.5.0 2019 December 1
|
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.4.0 2019 November 18
|
46 |
|
47 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
48 |
|
49 | ## v6.3.0 2019 November 18
|
50 |
|
51 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
52 |
|
53 | ## v6.2.0 2019 November 13
|
54 |
|
55 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
56 |
|
57 | ## v6.1.0 2019 November 13
|
58 |
|
59 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
60 |
|
61 | ## v6.0.0 2019 November 11
|
62 |
|
63 | - As node v4 is no longer LTS, CSON can now use CoffeeScript v2
|
64 | - Minimum supported node version changed from v0.8 to the lowest LTS at the time of this release which is version v8
|
65 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
66 |
|
67 | ## v5.1.0 2018 January 25
|
68 |
|
69 | - Revert CSON's use of CoffeeScript v2, as it [broke support for Node 4 and below](https://travis-ci.org/bevry/cson/builds/333130290)
|
70 | - Use of CoffeeScript v2 is now limited to compilation of this project only
|
71 |
|
72 | ## v5.0.0 2018 January 25
|
73 |
|
74 | - Now uses CoffeeScript v2
|
75 | - 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
|
76 | - Updated base files
|
77 |
|
78 | ## v4.1.0 2017 April 10
|
79 |
|
80 | - `cson2json` and `json2cson` will now output the error if the input file is invalid
|
81 | - Closes [issue #78](https://github.com/bevry/cson/issues/78)
|
82 | - Updated base files
|
83 |
|
84 | ## v4.0.0 2016 October 20
|
85 |
|
86 | - `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
|
87 | - Updated dependencies
|
88 | - Updated internal packing conventions
|
89 |
|
90 | ## v3.0.2 2015 September 18
|
91 |
|
92 | - Updated dependencies to avoid duplicate CoffeeScript installations
|
93 |
|
94 | ## v3.0.1 2015 March 16
|
95 |
|
96 | - Fixed stdin support on Node 0.8
|
97 |
|
98 | ## v3.0.0 2015 March 16
|
99 |
|
100 | - Every function now also supports callbacks (2nd or 3rd argument)
|
101 | - Errors will now always maintain their stacks where possible
|
102 | - 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`)
|
103 | - Updated dependencies
|
104 |
|
105 | ## v2.0.0 2015 February 6
|
106 |
|
107 | - API has been rewritten to be more robust and simple
|
108 | - CSON data is now parsed and stringified with the [cson-parser](https://www.npmjs.com/package/cson-parser) package
|
109 | - CLI now supports stdin input
|
110 | - Node v0.11 and IO.js support
|
111 |
|
112 | ## v1.6.2 2014 December 11
|
113 |
|
114 | - Updated dependencies
|
115 |
|
116 | ## v1.6.1 2014 August 3
|
117 |
|
118 | - Updated dependencies
|
119 |
|
120 | ## v1.6.0 2014 May 17
|
121 |
|
122 | - Updated dependencies
|
123 | - Fixed error handling in certain conditions
|
124 |
|
125 | ## v1.5.0 2014 February 8th
|
126 |
|
127 | - Updated dependencies
|
128 |
|
129 | ## v1.4.5 2013 October 31
|
130 |
|
131 | - Updated dependencies
|
132 |
|
133 | ## v1.4.4 2013 August 30
|
134 |
|
135 | - Updated dependencies
|
136 |
|
137 | ## v1.4.3 2013 August 30
|
138 |
|
139 | - Better error handling when requiring a file that has syntax errors
|
140 | - Fixed stringify of '{}' giving '{{}}' which is invalid - Closes [issue #21](https://github.com/bevry/cson/issues/21)
|
141 |
|
142 | ## v1.4.2 2013 June 7
|
143 |
|
144 | - Updated dependencies
|
145 |
|
146 | ## v1.4.1 2013 March 16
|
147 |
|
148 | - Added `npm-shrinkwrap.json` that ensures `js2coffee` uses `coffee-script` 1.4.0
|
149 | - Updated dependencies
|
150 |
|
151 | ## v1.4.0 2012 October 25
|
152 |
|
153 | - 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
|
154 | - Updated dependencies - coffee-script 1.3.x to 1.4.x
|
155 |
|
156 | ## v1.3.0 2012 September 1
|
157 |
|
158 | - 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)
|
159 | - Drops node v0.4 support, min supported version now v0.6
|
160 |
|
161 | ## v1.2.3 2012 September 1
|
162 |
|
163 | - Fixed `json2cson` and `cson2json` binaries - Thanks to [Zhang Cheng](https://github.com/zhangcheng) for [pull request #15](https://github.com/bevry/cson/pull/15)
|
164 |
|
165 | ## v1.2.2 2012 August 10
|
166 |
|
167 | - Re-added markdown files to npm distribution as they are required for the npm website
|
168 |
|
169 | ## v1.2.1 2012 July 16
|
170 |
|
171 | - Fixed try surrounding a next callback
|
172 |
|
173 | ## v1.2.0 2012 July 7
|
174 |
|
175 | - CSON files are now sandboxed by default, ensuring they can't do bad stuff to your global scope
|
176 | - 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
|
177 |
|
178 | ## v1.1.2 2012 June 22
|
179 |
|
180 | - We no longer have `require` cache our configuration files
|
181 |
|
182 | ## v1.1.1 2012 June 21
|
183 |
|
184 | - Fixed main file location
|
185 |
|
186 | ## v1.1.0 2012 June 21
|
187 |
|
188 | - 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
|
189 | - Moved tests from Mocha to [Joe](https://github.com/bevry/joe)
|
190 |
|
191 | ## v1.0.2 2012 May 04
|
192 |
|
193 | - Fixed some CSON use cases and added more unit tests
|
194 |
|
195 | ## v1.0.1 2012 May 04
|
196 |
|
197 | - Async calls now act asynchronously - Thanks to [Ryan LeFevre](https://github.com/meltingice) for [pull request #10](https://github.com/bevry/cson/pull/10) -
|
198 |
|
199 | ## v1.0.0 2012 April 23
|
200 |
|
201 | - Updated tests
|
202 | - Updated `package.json` for latest npm
|
203 | - Cleaned up the code
|
204 | - CoffeeScript dependency is now local
|
205 | - Added synchronous API calls to the README
|
206 | - Stringify functions now output CSON strings, instead of JSON strings - Use `JSON.stringify` if you want JSON strings
|
207 | - Added `json2cson` and `cson2json` bin tools
|
208 |
|
209 | ## v0.2 2011 August 10
|
210 |
|
211 | - 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)
|
212 |
|
213 | ## v0.1 2011 June 2
|
214 |
|
215 | - Initial commit
|