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