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

Comparing JSON-XS/Changes (file contents):
Revision 1.134 by root, Tue Sep 8 00:37:43 2009 UTC vs.
Revision 1.177 by root, Thu Aug 17 01:42:19 2017 UTC

1Revision history for Perl extension JSON::XS 1Revision history for Perl extension JSON::XS
2 2
3TODO: configurable booleans 3TODO: maybe detetc and croak on more invalid inputs (e.g. +-inf/nan)
4TODO: JSON-VT 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
10TODO: move json_xs to types::serialiser
11TODO: Matthew Horsfall slow performance with libumem due to many need reallocs: perl -MJSON::XS -e 'my $x = join q{}, map { chr rand 256 } (0 ..1e6); $j = encode_json([ $x ]);'
5 12
13TODO: fix overruns in json_sv_grow
14TODO: change threading doc wording
15 - change exponential realloc algorithm on encoding and string decoding to be
16 really exponential (this helps slow/debugging allocators such as libumem)
17 (reported by Matthew Horsfall).
18 - string encoding would needlessly overallocate output space
19 (testcase by Matthew Horsfall).
20 - be very paranoid about extending buffer lengths and croak if buffers get too large,
21 which might (or might not) improve security.
22 - add cbor-packed type to json_xs.
23 - switch from YAML to YAML::XS in json_xs, as YAML is way too buggy and outdated.
24
253.03 Wed Nov 16 20:20:59 CET 2016
26 - fix a bug introduced by a perl bug workaround that would cause
27 incremental parsing to fail with a sv_chop panic.
28 - json_xs: toformat failure error message fixed.
29 - json_xs: allow cyclic data structures in CBOR.
30
313.02 Fri Feb 26 22:45:20 CET 2016
32 - allow_nonref now affects booleans (\1, $Types::Serialiser::Boolean)
33 as well (reported by Alex Efros).
34 - allow literal tabs in strings in relaxed mode (patch by
35 lubo.rintel@gooddata.com).
36 - support "cbor" format in json_xs tool.
37 - support (and fix) calling encode and decode in list context
38 (reported by Вадим Власов).
39 - work around a bug in older perls crashing when presented
40 with shared hash keys (Reini Urban).
41 - use stability canary.
42
433.01 Tue Oct 29 16:55:15 CET 2013
44 - backport to perls < 5.18 (reported by Paul Howarth).
45
463.0 Tue Oct 29 01:35:37 CET 2013
47 - implemented an object tagging extension (using the
48 Types::Serialiser serialisation protocol).
49 - reworked the documentation regarding object serialisation,
50 add a new OBJECT SERIALISATION section that explains th
51 whole process.
52 - new setting: allow_tags.
53 - switch to Types::Serialiser booleans.
54 - remove to_json/from_json.
55 - other minor improvements to the documentation.
56
572.34 Thu May 23 11:30:34 CEST 2013
58 - work around bugs in perl 5.18 breaking more than 100
59 widely used modules, without a fix in sight because
60 p5pers don't care about CPAN anymore.
61 - when canonicalising, only allocate up to 64 hash key
62 pointers on the stack. for larger hashes, use the heap,
63 to avoid using too much stackspace.
64 - discuss the problem with setlocale (reported by a few victims).
65
662.33 Wed Aug 1 21:03:52 CEST 2012
67 - internal encode/decode XS wrappers did not expect stack
68 moves caused by callbacks (analyzed and testcase by Jesse Luehrs).
69 - add bencode as to/from option in bin/json_xs.
70 - add -e option to json_xs, and none and string in/out formats.
71
722.32 Thu Aug 11 19:06:38 CEST 2011
73 - fix a bug in the initial whitespace accumulation.
74
752.31 Wed Jul 27 17:53:05 CEST 2011
76 - don't accumulate initial whitespace in the incremental buffer
77 (this can be useful to allow whitespace-keepalive on a tcp
78 connection without triggering the max_size limit).
79 - properly croak on some invalid inputs that are not strings
80 (e.g. undef) when trying to decode a json text (reported
81 and analyzed by Goro Fuji).
82
832.3 Wed Aug 18 01:26:47 CEST 2010
84 - make sure decoder doesn't change the decoding in the incremental
85 parser (testcase provided by Hendrik Schumacher).
86 - applied patch by DaTa for Data::Dumper support in json_xs.
87 - added -t dump support to json_xs, using Data::Dump.
88 - added -f eval support to json_xs.
89
902.29 Wed Mar 17 02:39:12 CET 2010
91 - fix a memory leak when callbacks set using filter_json_object
92 or filter_json_single_key_object were called (great testcase
93 by Eric Wilhelm).
94
952.28 Thu Mar 11 20:30:46 CET 2010
96 - implement our own atof function - perl's can be orders of
97 magnitudes slower than even the system one. on the positive
98 side, ours seems to be more exact in general than perl's.
99 (testcase provided by Tim Meadowcroft).
100 - clarify floating point conversion issues a bit.
101 - update jpsykes csrf article url.
102 - updated benchmark section - JSON::PP became much faster!
103
1042.27 Thu Jan 7 07:35:08 CET 2010
105 - support relaxed option inside the incremental parser
106 (testcase provided by IKEGAMI via Makamaka).
107
1082.26 Sat Oct 10 03:26:19 CEST 2009
109 - big integers could become truncated (based on patch
110 by Strobl Anton).
6 - output format change: indent now adds a final newline, which is 111 - output format change: indent now adds a final newline, which is
7 more expected and more true to the documentation. 112 more expected and more true to the documentation.
8 113
92.25 Sat Aug 8 12:04:41 CEST 2009 1142.25 Sat Aug 8 12:04:41 CEST 2009
10 - the perl debugger completely breaks lvalue subs - try to work 115 - the perl debugger completely breaks lvalue subs - try to work
71 176
722.2 Wed Apr 16 20:37:25 CEST 2008 1772.2 Wed Apr 16 20:37:25 CEST 2008
73 - lifted the log2 rounding restriction of max_depth and max_size. 178 - lifted the log2 rounding restriction of max_depth and max_size.
74 - make booleans mutable by creating a copy instead of handing out 179 - make booleans mutable by creating a copy instead of handing out
75 the same scalar (reported by pasha sadri). 180 the same scalar (reported by pasha sadri).
76 - added support for incremental json parsing (still EXPERIMENTAL). 181 - added support for incremental json parsing (still EXPERIMENTAL).
77 - implemented and added a json_xs command line utility that can convert 182 - implemented and added a json_xs command line utility that can convert
78 from/to a number of serialisation formats - tell me if you need more. 183 from/to a number of serialisation formats - tell me if you need more.
79 - implement allow_unknown/get_allow_unknown methods. 184 - implement allow_unknown/get_allow_unknown methods.
80 - fixed documentation of max_depth w.r.t. higher and equal. 185 - fixed documentation of max_depth w.r.t. higher and equal.
81 - moved down =encoding directive a bit, too much breaks if it's the first 186 - moved down =encoding directive a bit, too much breaks if it's the first

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines