1
|
<!DOCTYPE html>
|
2
|
<html lang="en">
|
3
|
<head>
|
4
|
<meta charset="utf-8">
|
5
|
<title>Releases | JSON 3</title>
|
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
7
|
<link rel="stylesheet" href="page/style.css" media="screen">
|
8
|
</head>
|
9
|
<body>
|
10
|
<ul id="navigation">
|
11
|
|
12
|
</ul>
|
13
|
<div id="content">
|
14
|
<h1 id="json-3-releases">JSON 3 Releases</h1>
|
15
|
<h2 id="3-3-2">3.3.2</h2>
|
16
|
<h3 id="2014-06-22">2014-06-22</h3>
|
17
|
<ul>
|
18
|
<li>Test the minified version on Travis [<a href="https://github.com/bestiejs/json3/issues/35">#35</a>].</li>
|
19
|
<li>Add a change log and contribution guidelines [<a href="https://github.com/bestiejs/json3/issues/55">#55</a>].</li>
|
20
|
<li>Include the minified version in the npm package [<a href="https://github.com/bestiejs/json3/issues/59">#59</a>].</li>
|
21
|
<li>Simplify <code>bower.json</code>.</li>
|
22
|
</ul>
|
23
|
<h2 id="3-3-1">3.3.1</h2>
|
24
|
<h3 id="2014-04-08">2014-04-08</h3>
|
25
|
<ul>
|
26
|
<li>Reduce the Bower package size by lazily downloading the Closure Compiler [<a href="https://github.com/bestiejs/json3/issues/54">#54</a>].</li>
|
27
|
<li>Make <code>JSON3.noConflict()</code> idempotent [<a href="https://github.com/bestiejs/json3/issues/56">#56</a>].</li>
|
28
|
<li>Improve AMD <code>define</code> pragma detection before minifying.</li>
|
29
|
<li>Support <a href="https://github.com/rogerwang/node-webkit"><code>node-webkit</code></a> and web workers.</li>
|
30
|
</ul>
|
31
|
<h2 id="3-3-0">3.3.0</h2>
|
32
|
<h3 id="2014-01-20">2014-01-20</h3>
|
33
|
<ul>
|
34
|
<li>Export a <code>JSON3</code> global in browsers and JavaScript engines.</li>
|
35
|
<li>Add <code>JSON3.noConflict()</code> and <code>JSON3.runInContext()</code> [<a href="https://github.com/bestiejs/json3/issues/50">#50</a>].</li>
|
36
|
<li>Add a post-minification step to remove multiple IIFE wrappers.</li>
|
37
|
<li>Optimize <code>quote</code>.</li>
|
38
|
</ul>
|
39
|
<h2 id="3-2-6">3.2.6</h2>
|
40
|
<h3 id="2013-10-25">2013-10-25</h3>
|
41
|
<ul>
|
42
|
<li>Add Travis CI integration.</li>
|
43
|
<li>Support <a href="http://bower.io/">Bower</a>, <a href="https://component.github.io/">Component</a>, <a href="http://jamjs.org/">Jam</a>, and <a href="http://volojs.org/">Volo</a>.</li>
|
44
|
<li>Test with Node, PhantomJS, RingoJS, Rhino, and Narwhal on Travis.</li>
|
45
|
<li>Simplify exports.</li>
|
46
|
<li><code>stringify()</code> optimizations.</li>
|
47
|
<li>Add a <code>?minified</code> query parameter to the browser harness for testing the minified version [<a href="https://github.com/bestiejs/json3/issues/35">#35</a>].</li>
|
48
|
<li>Detect trailing comma and trailing decimal extensions in Rhino 1.7R3-R4 [<a href="https://github.com/bestiejs/json3/issues/46">#46</a>].</li>
|
49
|
</ul>
|
50
|
<h2 id="3-2-5">3.2.5</h2>
|
51
|
<h3 id="2013-06-14">2013-06-14</h3>
|
52
|
<ul>
|
53
|
<li>Use <code>object.hasOwnProperty(prop)</code> instead of <code>Object#hasOwnProperty.call(object, prop)</code> when iterating over host objects [<a href="https://github.com/bestiejs/json3/issues/18">#18</a>].</li>
|
54
|
<li>Minification improvements; avoid munging the AMD <code>define</code> pragma [<a href="https://github.com/bestiejs/json3/issues/22">#22</a>; <a href="https://github.com/bestiejs/json3/pull/25">#25</a>].</li>
|
55
|
<li>Use character codes instead of strings in <code>lex()</code>. Optimize for valid source strings [<a href="https://github.com/bestiejs/json3/issues/23">#23</a>; <a href="https://github.com/bestiejs/json3/pull/27">#27</a>].</li>
|
56
|
<li>Support Adobe ExtendScript [<a href="https://github.com/bestiejs/json3/issues/29">#29</a>].</li>
|
57
|
<li>Handle serializing ExtendScript host objects that throw exceptions [<a href="https://github.com/bestiejs/json3/issues/30">#30</a>; <a href="https://github.com/bestiejs/json3/pull/31">#31</a>].</li>
|
58
|
<li>Support Browserify and RequireJS by exporting for CommonJS and AMD [<a href="https://github.com/bestiejs/json3/pull/33">#33</a>].</li>
|
59
|
<li>Use square bracket character access in <code>parse</code>. Add a <code>charIndexBuggy</code> flag.</li>
|
60
|
<li>Add a benchmark suite.</li>
|
61
|
</ul>
|
62
|
<h2 id="3-2-4">3.2.4</h2>
|
63
|
<h3 id="2012-10-11">2012-10-11</h3>
|
64
|
<ul>
|
65
|
<li>Change the export order to prefer <code>module.exports</code>, <code>exports</code>, and then <code>define</code> [<a href="https://github.com/bestiejs/json3/pull/14">#14</a>].</li>
|
66
|
<li>Avoid conflating duplicate properties and circular references [<a href="https://github.com/bestiejs/json3/issues/15">#15</a>].</li>
|
67
|
<li>Export <code>parse</code> and <code>stringify</code> globally even if an AMD loader is present [<a href="https://github.com/bestiejs/json3/pull/17">#17</a>].</li>
|
68
|
<li>Isolate the feature tests into a <code>has()</code> function for <a href="https://github.com/phiggins42/has.js"><code>has.js</code></a> compatibility [<a href="https://github.com/bestiejs/json3/issues/19">#19</a>].</li>
|
69
|
</ul>
|
70
|
<h2 id="3-2-3">3.2.3</h2>
|
71
|
<h3 id="2012-07-13">2012-07-13</h3>
|
72
|
<ul>
|
73
|
<li>Prototype <= 1.6.1 compatibility [<a href="https://github.com/bestiejs/json3/issues/8">#8</a>].</li>
|
74
|
<li><code>stringify()</code>: Iterate over whitelisted properties in order [<a href="https://github.com/bestiejs/json3/issues/12">#12</a>].</li>
|
75
|
<li>Correctly detect trailing commas in array literals.</li>
|
76
|
</ul>
|
77
|
<h2 id="3-2-2">3.2.2</h2>
|
78
|
<h3 id="2012-05-05">2012-05-05</h3>
|
79
|
<ul>
|
80
|
<li>Correctly detect native <code>parse()</code> implementations in AMD loaders and CommonJS environments [<a href="https://github.com/bestiejs/json3/issues/9">#9</a>].</li>
|
81
|
<li><code>parse()</code>: Use <code>delete</code> instead of <code>Array#splice()</code> when removing elements from traversed arrays [<a href="https://github.com/bestiejs/json3/issues/10">#10</a>].</li>
|
82
|
<li>Detect <code>parse()</code> number grammar extensions in IE 9 [<a href="https://github.com/bestiejs/json3/issues/11">#11</a>].</li>
|
83
|
</ul>
|
84
|
<h2 id="3-2-1">3.2.1</h2>
|
85
|
<h3 id="2012-04-26">2012-04-26</h3>
|
86
|
<ul>
|
87
|
<li>Reduce the file size by removing parse error strings [<a href="https://github.com/bestiejs/json3/issues/5">#5</a>].</li>
|
88
|
<li>Fall back to the native <code>stringify()</code> and <code>parse()</code> implementations in AMD loaders and CommonJS environments [<a href="https://github.com/bestiejs/json3/issues/6">#6</a>].</li>
|
89
|
<li>Use the correct global object when exporting for browsers and JavaScript engines.</li>
|
90
|
<li>Support building on Windows by using <code>zlib</code> instead of shelling out to <code>gzip</code>.</li>
|
91
|
<li>Switch to the Closure Compiler for generating the minified version.</li>
|
92
|
<li><a href="http://requirejs.org/docs/optimization.html"><code>r.js</code></a> compatibility.</li>
|
93
|
<li>Safari < 2.0.2 and Opera >= 10.53 support.</li>
|
94
|
</ul>
|
95
|
<h2 id="3-2-0">3.2.0</h2>
|
96
|
<h3 id="2012-04-15">2012-04-15</h3>
|
97
|
<ul>
|
98
|
<li>Override native <code>stringify()</code> implementations to work around date serialization bugs.</li>
|
99
|
<li>Ensure the date serialization tests pass in all time zones [<a href="https://github.com/bestiejs/json3/issues/3">#3</a>].</li>
|
100
|
<li>Add a workaround for buggy <code>Date#getUTC{FullYear, Month, Date}</code> implementations in Opera > 9.64 [<a href="https://github.com/bestiejs/json3/issues/4">#4</a>].</li>
|
101
|
<li>Ensure Firefox <= 11.0 serializes negative years as six-digit extended years.</li>
|
102
|
<li>Ensure Safari <= 5.1.5 serializes milliseconds correctly.</li>
|
103
|
<li>Add a Node-based build script.</li>
|
104
|
<li>Vendor all dependencies.</li>
|
105
|
<li>Opera 7.54u2 support.</li>
|
106
|
</ul>
|
107
|
<h2 id="3-1-0">3.1.0</h2>
|
108
|
<h3 id="2012-03-22">2012-03-22</h3>
|
109
|
<ul>
|
110
|
<li>Switched to <code>bestiejs</code> organisation</li>
|
111
|
<li>Added support for a list of properties as the <code>filter</code> argument for <code>JSON.stringify</code></li>
|
112
|
<li>Fixed Firefox 4 and 4.0.1 allowing non-standard extensions to <code>JSON.parse</code></li>
|
113
|
</ul>
|
114
|
<h2 id="3-0-0">3.0.0</h2>
|
115
|
<h3 id="2012-03-20">2012-03-20</h3>
|
116
|
<ul>
|
117
|
<li>Renamed <code>JSON3</code> to <code>JSON</code></li>
|
118
|
<li>Removed <code>JSON3.Version</code></li>
|
119
|
<li>Added minified version of library</li>
|
120
|
<li>Created a <a href="http://bestiejs.github.io/json3">GitHub Project Page</a></li>
|
121
|
<li>Preserved alphanumeric order when iterating over shadowed properties on objects</li>
|
122
|
</ul>
|
123
|
<h2 id="0-8-5">0.8.5</h2>
|
124
|
<h3 id="2012-03-16">2012-03-16</h3>
|
125
|
<ul>
|
126
|
<li>Avoided relying on native functions <code>Math.abs</code>, and <code>isFinite</code>, and native constructors <code>String</code>, <code>Number</code>, <code>Object</code>, and <code>Array</code></li>
|
127
|
<li>Fixed AMD export logic</li>
|
128
|
</ul>
|
129
|
<h2 id="0-8-0">0.8.0</h2>
|
130
|
<h3 id="2012-03-15">2012-03-15</h3>
|
131
|
<ul>
|
132
|
<li>Renamed <code>Prim</code> to <code>JSON3</code></li>
|
133
|
<li>Added <code>JSON3.Version</code></li>
|
134
|
<li>Added support for AMD lodaers as the <code>"json"</code> module</li>
|
135
|
<li>Added feature tests for native <code>JSON</code> implementations</li>
|
136
|
<li>Added string coercion for the <code>source</code> argument in <code>JSON3.parse</code></li>
|
137
|
<li>Fixed the date serialization routine in <code>JSON3.stringify</code></li>
|
138
|
</ul>
|
139
|
<h2 id="0-5-0">0.5.0</h2>
|
140
|
<h3 id="2012-02-18">2012-02-18</h3>
|
141
|
<ul>
|
142
|
<li>Fixed <code>Prim.stringify</code>’s handling of the <code>width</code> argument</li>
|
143
|
<li>Added Microsoft’s <a href="https://es5conform.codeplex.com/">ES5 Conformance Tests</a> to the test suite</li>
|
144
|
</ul>
|
145
|
<h2 id="0-2-0">0.2.0</h2>
|
146
|
<h3 id="2012-02-17">2012-02-17</h3>
|
147
|
<ul>
|
148
|
<li>Added <code>Prim.stringify</code> for serializing values</li>
|
149
|
<li>Renamed <code>Prim.Escapes</code> to <code>Prim.Unescapes</code></li>
|
150
|
<li>Disallowed unescaped tab characters in strings passed to <code>Prim.parse</code></li>
|
151
|
</ul>
|
152
|
<h2 id="0-1-0">0.1.0</h2>
|
153
|
<h3 id="2012-02-16">2012-02-16</h3>
|
154
|
<ul>
|
155
|
<li>Initial release of Prim</li>
|
156
|
</ul>
|
157
|
|
158
|
</div>
|
159
|
<div id="footer">
|
160
|
<p>© 2012-2015 <a href="http://kitcambridge.be/">Kit Cambridge</a>, <a href="https://d10.github.io/">Benjamin Tan</a>.</p>
|
161
|
</div>
|
162
|
</body>
|
163
|
</html>
|