changes.html 9.4 KB

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