ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/JSON-XS/Changes
(Generate patch)

Comparing JSON-XS/Changes (file contents):
Revision 1.52 by root, Thu Jun 14 23:58:57 2007 UTC vs.
Revision 1.93 by root, Sun Jan 20 19:19:07 2008 UTC

1Revision history for Perl extension JSON::XS 1Revision history for Perl extension JSON::XS
2 2
3TODO: maybe use some overload magic to decode true and false into something 3 - extend and clarify the section on incompatibilities
4 not 0 or 1 in perl. or use attached magic? 4 between YAML and JSON.
5 - update documentation here and there.
5 6
72.01 Wed Dec 5 11:40:28 CET 2007
8 - INCOMPATIBLE API CHANGE: to_json and from_json have been
9 renamed to encode_json/decode_json for JSON.pm compatibility.
10 The old functions croak and might be replaced by JSON.pm
11 comaptible versions in some later release.
12
132.0 Tue Dec 4 11:30:46 CET 2007
14 - this is supposed to be the first version of JSON::XS
15 compatible with version 2.0+ of the JSON module.
16 Using the JSON module as frontend to JSON::XS should be
17 as fast as using JSON::XS directly, so consider using it
18 instead.
19 - added get_* methods for all "simple" options.
20 - make JSON::XS subclassable.
21
221.53 Tue Nov 13 23:58:33 CET 2007
23 - minor doc clarifications.
24 - fixed many doc typos (patch by Thomas L. Shinnick).
25
261.52 Mon Oct 15 03:22:06 CEST 2007
27 - remove =encoding pod directive again, it confuses too many pod
28 parsers :/.
29
301.51 Sat Oct 13 03:55:56 CEST 2007
31 - encode empty arrays/hashes in a compact way when pretty is enabled.
32 - apparently JSON::XS was used to find some bugs in the
33 JSON_checker testsuite, so add (the corrected) JSON_checker tests to
34 the testsuite.
35 - quite a bit of doc updates/extension.
36 - require 5.8.2, as this seems to be the first unicode-stable version.
37
381.5 Tue Aug 28 04:05:38 CEST 2007
39 - add support for tied hashes, based on ideas and testcase by
40 Marcus Holland-Moritz.
41 - implemented relaxed parsing mode where some extensions are being
42 accepted. generation is still JSON-only.
43
441.44 Wed Aug 22 01:02:44 CEST 2007
45 - very experimental process-emulation support, slowing everything down.
46 the horribly broken perl threads are still not supported - YMMV.
47
481.43 Thu Jul 26 13:26:37 CEST 2007
49 - convert big json numbers exclusively consisting of digits to NV
50 only when there is no loss of precision, otherwise to string.
51
521.42 Tue Jul 24 00:51:18 CEST 2007
53 - fix a crash caused by not handling missing array elements
54 (report and testcase by Jay Kuri).
55
561.41 Tue Jul 10 18:21:44 CEST 2007
57 - fix compilation with NDEBUG (assert side-effect),
58 affects convert_blessed only.
59 - fix a bug in decode filters calling ENTER; SAVETMPS;
60 one time too often.
61 - catch a typical error in TO_JSON methods.
62 - antique-ised XS.xs again to work with outdated
63 C compilers (windows...).
64
651.4 Mon Jul 2 10:06:30 CEST 2007
66 - add convert_blessed setting.
67 - encode did not catch all blessed objects, encoding their
68 contents in most cases. This has been fixed by introducing
69 the allow_blessed setting.
70 - added filter_json_object and filter_json_single_key_object
71 settings that specify a callback to be called when
72 all/specific json objects are encountered.
73 - assume that most object keys are simple ascii words and
74 optimise this case, penalising the general case. This can
75 speed up decoding by 30% in typical cases and gives
76 a smaller and faster perl hash.
77 - implemented simpleminded, optional resource size checking
78 in decode_json.
79 - remove objToJson/jsonToObj aliases, as the next version
80 of JSON will not have them either.
81 - bit the bullet and converted the very simple json object
82 into a more complex one.
83 - work around a bug where perl wrongly claims an integer
84 is not an integer.
85 - unbundle JSON::XS::Boolean into own pm file so Storable
86 and similar modules can resolve the overloading when thawing.
87
881.3 Sun Jun 24 01:55:02 CEST 2007
89 - make JSON::XS::true and false special overloaded objects
90 and return those instead of 1 and 0 for those json atoms
91 (JSON::PP compatibility is NOT achieved yet).
92 - add JSON::XS::is_bool predicate to test for those special
93 values.
6 - add a reference to 94 - add a reference to
7 http://jpsykes.com/47/practical-csrf-and-json-security. 95 http://jpsykes.com/47/practical-csrf-and-json-security.
96 - removed require 5.8.8 again, it is just not very expert-friendly.
97 Also try to be more compatible with slightly older versions,
98 which are not recommended (because they are buggy).
8 99
91.24 Mon Jun 11 05:40:49 CEST 2007 1001.24 Mon Jun 11 05:40:49 CEST 2007
10 - added informative section on JSON-as-YAML. 101 - added informative section on JSON-as-YAML.
11 - get rid of some c99-isms again. 102 - get rid of some c99-isms again.
12 - localise dec->cur in decode_str, speeding up 103 - localise dec->cur in decode_str, speeding up

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines