|
525
|
1 |
JSON Utility Change History |
|
|
2 |
=========================== |
|
|
3 |
|
|
|
4 |
3.10.3 |
|
|
5 |
------ |
|
|
6 |
|
|
|
7 |
* No changes. |
|
|
8 |
|
|
|
9 |
3.10.2 |
|
|
10 |
------ |
|
|
11 |
|
|
|
12 |
* No changes. |
|
|
13 |
|
|
|
14 |
3.10.1 |
|
|
15 |
------ |
|
|
16 |
|
|
|
17 |
* No changes. |
|
|
18 |
|
|
|
19 |
3.10.0 |
|
|
20 |
------ |
|
|
21 |
|
|
|
22 |
* No changes. |
|
|
23 |
|
|
|
24 |
3.9.1 |
|
|
25 |
----- |
|
|
26 |
|
|
|
27 |
* No changes. |
|
|
28 |
|
|
|
29 |
3.9.0 |
|
|
30 |
----- |
|
|
31 |
|
|
|
32 |
* The JavaScript fallback version is only loaded when the environment doesn't |
|
|
33 |
provide a native implementation. |
|
|
34 |
|
|
|
35 |
3.8.1 |
|
|
36 |
----- |
|
|
37 |
|
|
|
38 |
* No changes. |
|
|
39 |
|
|
|
40 |
3.8.0 |
|
|
41 |
----- |
|
|
42 |
|
|
|
43 |
* No changes. |
|
|
44 |
|
|
|
45 |
3.7.3 |
|
|
46 |
----- |
|
|
47 |
|
|
|
48 |
* Updated to use native JSON when in Node.js |
|
|
49 |
|
|
|
50 |
3.7.2 |
|
|
51 |
----- |
|
|
52 |
|
|
|
53 |
* No changes. |
|
|
54 |
|
|
|
55 |
3.7.1 |
|
|
56 |
----- |
|
|
57 |
|
|
|
58 |
* No changes. |
|
|
59 |
|
|
|
60 |
3.7.0 |
|
|
61 |
----- |
|
|
62 |
|
|
|
63 |
* No changes. |
|
|
64 |
|
|
|
65 |
3.6.0 |
|
|
66 |
----- |
|
|
67 |
|
|
|
68 |
* No changes. |
|
|
69 |
|
|
|
70 |
3.5.1 |
|
|
71 |
----- |
|
|
72 |
|
|
|
73 |
* No changes. |
|
|
74 |
|
|
|
75 |
3.5.0 |
|
|
76 |
----- |
|
|
77 |
|
|
|
78 |
* No changes. |
|
|
79 |
|
|
|
80 |
3.4.1 |
|
|
81 |
----- |
|
|
82 |
|
|
|
83 |
* No changes. |
|
|
84 |
|
|
|
85 |
3.4.0 |
|
|
86 |
----- |
|
|
87 |
|
|
|
88 |
* Remove indirect `eval()`. [Ticket #2530295] |
|
|
89 |
|
|
|
90 |
3.3.0 |
|
|
91 |
----- |
|
|
92 |
|
|
|
93 |
* No changes. |
|
|
94 |
|
|
|
95 |
3.2.0 |
|
|
96 |
----- |
|
|
97 |
|
|
|
98 |
* Convert parse input to a string before processing. |
|
|
99 |
|
|
|
100 |
* `eval()` now referenced indirectly to allow for better compression. |
|
|
101 |
|
|
|
102 |
* `dateToString` deprecated; use a `replacer`. A Date function extension is |
|
|
103 |
in the works. |
|
|
104 |
|
|
|
105 |
3.1.1 |
|
|
106 |
----- |
|
|
107 |
|
|
|
108 |
* No changes. |
|
|
109 |
|
|
|
110 |
3.1.0 |
|
|
111 |
----- |
|
|
112 |
|
|
|
113 |
* useNative___ disabled for browsers with *very* broken native APIs |
|
|
114 |
(FF3.1beta1-3). |
|
|
115 |
|
|
|
116 |
* Assumption of `window` removed to support browser-less environment. |
|
|
117 |
|
|
|
118 |
3.0.0 |
|
|
119 |
----- |
|
|
120 |
|
|
|
121 |
* Leverages native `JSON.stringify` if available. |
|
|
122 |
|
|
|
123 |
* Added `Y.JSON.useNativeParse` and `useNativeStringify` properties that can |
|
|
124 |
be set to `false` to use the JavaScript implementations. Use these if your |
|
|
125 |
use case triggers an edge-case bug in one of the native implementations. |
|
|
126 |
Hopefully these will be unnecessary in a few minor versions of the A-grade |
|
|
127 |
browsers. |
|
|
128 |
|
|
|
129 |
* Added support for `toJSON()` methods on objects being stringified. |
|
|
130 |
|
|
|
131 |
* Moved Date stringification before replacer to be in accordance with ES5. |
|
|
132 |
|
|
|
133 |
3.0.0beta1 |
|
|
134 |
---------- |
|
|
135 |
|
|
|
136 |
* Leverages native `JSON.parse` if available. |
|
|
137 |
|
|
|
138 |
* Stringify API change. Third argument changed from depth control to indent |
|
|
139 |
(Per the ECMA 5 spec). |
|
|
140 |
|
|
|
141 |
* Stringify now throws an `Error` if the object has cyclical references |
|
|
142 |
(Per the ECMA 5 spec). |
|
|
143 |
|
|
|
144 |
* Restructured `stringify()` to leverage `Y.Lang.type`. |
|
|
145 |
|
|
|
146 |
3.0.0pr2 |
|
|
147 |
-------- |
|
|
148 |
|
|
|
149 |
* No changes. |
|
|
150 |
|
|
|
151 |
3.0.0pr1 |
|
|
152 |
-------- |
|
|
153 |
|
|
|
154 |
* Initial release. |