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

Comparing JSON-XS/Changes (file contents):
Revision 1.124 by root, Thu Feb 19 01:13:46 2009 UTC vs.
Revision 1.171 by root, Thu Sep 1 11:38:58 2016 UTC

1Revision history for Perl extension JSON::XS 1Revision history for Perl extension JSON::XS
2
3TODO: maybe detetc and croak on more invalid inputs (e.g. +-inf/nan)
4TODO: maybe avoid the reblessing and better support readonly objects.
5TODO: http://stevehanov.ca/blog/index.php?id=104 compression
6TODO: how to cope with tagged values and standard json decoders
7TODO: investigate magic (Eric Brine)
8TODO: rfc7464
9TODO: Victor Efimov
10
11 - json_xs: toformat failure error message fixed.
12
133.02 Fri Feb 26 22:45:20 CET 2016
14 - allow_nonref now affects booleans (\1, $Types::Serialiser::Boolean)
15 as well (reported by Alex Efros).
16 - allow literal tabs in strings in relaxed mode (patch by
17 lubo.rintel@gooddata.com).
18 - support "cbor" format in json_xs tool.
19 - support (and fix) calling encode and decode in list context
20 (reported by Вадим Власов).
21 - work around a bug in older perls crashing when presented
22 with shared hash keys (Reini Urban).
23 - use stability canary.
24
253.01 Tue Oct 29 16:55:15 CET 2013
26 - backport to perls < 5.18 (reported by Paul Howarth).
27
283.0 Tue Oct 29 01:35:37 CET 2013
29 - implemented an object tagging extension (using the
30 Types::Serialiser serialisation protocol).
31 - reworked the documentation regarding object serialisation,
32 add a new OBJECT SERIALISATION section that explains th
33 whole process.
34 - new setting: allow_tags.
35 - switch to Types::Serialiser booleans.
36 - remove to_json/from_json.
37 - other minor improvements to the documentation.
38
392.34 Thu May 23 11:30:34 CEST 2013
40 - work around bugs in perl 5.18 breaking more than 100
41 widely used modules, without a fix in sight because
42 p5pers don't care about CPAN anymore.
43 - when canonicalising, only allocate up to 64 hash key
44 pointers on the stack. for larger hashes, use the heap,
45 to avoid using too much stackspace.
46 - discuss the problem with setlocale (reported by a few victims).
47
482.33 Wed Aug 1 21:03:52 CEST 2012
49 - internal encode/decode XS wrappers did not expect stack
50 moves caused by callbacks (analyzed and testcase by Jesse Luehrs).
51 - add bencode as to/from option in bin/json_xs.
52 - add -e option to json_xs, and none and string in/out formats.
53
542.32 Thu Aug 11 19:06:38 CEST 2011
55 - fix a bug in the initial whitespace accumulation.
56
572.31 Wed Jul 27 17:53:05 CEST 2011
58 - don't accumulate initial whitespace in the incremental buffer
59 (this can be useful to allow whitespace-keepalive on a tcp
60 connection without triggering the max_size limit).
61 - properly croak on some invalid inputs that are not strings
62 (e.g. undef) when trying to decode a json text (reported
63 and analyzed by Goro Fuji).
64
652.3 Wed Aug 18 01:26:47 CEST 2010
66 - make sure decoder doesn't change the decoding in the incremental
67 parser (testcase provided by Hendrik Schumacher).
68 - applied patch by DaTa for Data::Dumper support in json_xs.
69 - added -t dump support to json_xs, using Data::Dump.
70 - added -f eval support to json_xs.
71
722.29 Wed Mar 17 02:39:12 CET 2010
73 - fix a memory leak when callbacks set using filter_json_object
74 or filter_json_single_key_object were called (great testcase
75 by Eric Wilhelm).
76
772.28 Thu Mar 11 20:30:46 CET 2010
78 - implement our own atof function - perl's can be orders of
79 magnitudes slower than even the system one. on the positive
80 side, ours seems to be more exact in general than perl's.
81 (testcase provided by Tim Meadowcroft).
82 - clarify floating point conversion issues a bit.
83 - update jpsykes csrf article url.
84 - updated benchmark section - JSON::PP became much faster!
85
862.27 Thu Jan 7 07:35:08 CET 2010
87 - support relaxed option inside the incremental parser
88 (testcase provided by IKEGAMI via Makamaka).
89
902.26 Sat Oct 10 03:26:19 CEST 2009
91 - big integers could become truncated (based on patch
92 by Strobl Anton).
93 - output format change: indent now adds a final newline, which is
94 more expected and more true to the documentation.
95
962.25 Sat Aug 8 12:04:41 CEST 2009
97 - the perl debugger completely breaks lvalue subs - try to work
98 around the issue.
99 - ignore RMAGICAL hashes w.r.t. CANONICAL.
100 - try to work around a possible char signedness issue on aix.
101 - require common sense.
102
1032.24 Sat May 30 08:25:45 CEST 2009
104 - the incremental parser did not update its parse offset
105 pointer correctly when parsing utf8-strings (nicely
106 debugged by Martin Evans).
107 - appending a non-utf8-string to the incremental parser
108 in utf8 mode failed to upgrade the string.
109 - wording of parse error messages has been improved.
110
1112.232 Sun Feb 22 11:12:25 CET 2009
112 - use an exponential algorithm to extend strings, to
113 help platforms with bad or abysmal==windows memory
114 allocater performance, at the expense of some memory
115 wastage (use shrink to recover this extra memory).
116 (nicely analysed by Dmitry Karasik).
2 117
32.2311 Thu Feb 19 02:12:54 CET 2009 1182.2311 Thu Feb 19 02:12:54 CET 2009
4 - add a section "JSON and ECMAscript" to explain some 119 - add a section "JSON and ECMAscript" to explain some
5 incompatibilities between the two (problem was noted by 120 incompatibilities between the two (problem was noted by
6 various people). 121 various people).
92.231 Thu Nov 20 04:59:08 CET 2008 1242.231 Thu Nov 20 04:59:08 CET 2008
10 - work around 5.10.0 magic bugs where manipulating magic values 125 - work around 5.10.0 magic bugs where manipulating magic values
11 (such as $1) would permanently damage them as perl would 126 (such as $1) would permanently damage them as perl would
12 ignore the magicalness, by making a full copy of the string, 127 ignore the magicalness, by making a full copy of the string,
13 reported by Dmitry Karasik. 128 reported by Dmitry Karasik.
14 - work around spurious wanrings under older perl 5.8's. 129 - work around spurious warnings under older perl 5.8's.
15 130
162.23 Mon Sep 29 05:08:29 CEST 2008 1312.23 Mon Sep 29 05:08:29 CEST 2008
17 - fix a compilation problem when perl is not using char * as, well, 132 - fix a compilation problem when perl is not using char * as, well,
18 char *. 133 char *.
19 - use PL_hexdigit in favour of rolling our own. 134 - use PL_hexdigit in favour of rolling our own.
43 158
442.2 Wed Apr 16 20:37:25 CEST 2008 1592.2 Wed Apr 16 20:37:25 CEST 2008
45 - lifted the log2 rounding restriction of max_depth and max_size. 160 - lifted the log2 rounding restriction of max_depth and max_size.
46 - make booleans mutable by creating a copy instead of handing out 161 - make booleans mutable by creating a copy instead of handing out
47 the same scalar (reported by pasha sadri). 162 the same scalar (reported by pasha sadri).
48 - added support for incremental json parsing (still EXPERIMENTAL). 163 - added support for incremental json parsing (still EXPERIMENTAL).
49 - implemented and added a json_xs command line utility that can convert 164 - implemented and added a json_xs command line utility that can convert
50 from/to a number of serialisation formats - tell me if you need more. 165 from/to a number of serialisation formats - tell me if you need more.
51 - implement allow_unknown/get_allow_unknown methods. 166 - implement allow_unknown/get_allow_unknown methods.
52 - fixed documentation of max_depth w.r.t. higher and equal. 167 - fixed documentation of max_depth w.r.t. higher and equal.
53 - moved down =encoding directive a bit, too much breaks if it's the first 168 - moved down =encoding directive a bit, too much breaks if it's the first

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines