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