You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

160 lines
5.4 KiB

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