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

Comparing JSON-XS/Changes (file contents):
Revision 1.149 by root, Wed Jul 27 15:53:39 2011 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: maybe detetc and croak on more invalid inputs (e.g. +-inf/nan) 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
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 ]);'
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.
4 74
52.31 Wed Jul 27 17:53:05 CEST 2011 752.31 Wed Jul 27 17:53:05 CEST 2011
6 - don't accumulate initial whitespace in the incremental buffer 76 - don't accumulate initial whitespace in the incremental buffer
7 (this can be useful to allow whitespace-keepalive on a tcp 77 (this can be useful to allow whitespace-keepalive on a tcp
8 connection without triggering the max_size limit). 78 connection without triggering the max_size limit).
9 - properly croak on some invalid inputs that are not strings 79 - properly croak on some invalid inputs that are not strings
10 (e.g. undef) when trying to decode a json text (reported 80 (e.g. undef) when trying to decode a json text (reported
11 and analyzed by Goro Fuji). 81 and analyzed by Goro Fuji).
106 176
1072.2 Wed Apr 16 20:37:25 CEST 2008 1772.2 Wed Apr 16 20:37:25 CEST 2008
108 - lifted the log2 rounding restriction of max_depth and max_size. 178 - lifted the log2 rounding restriction of max_depth and max_size.
109 - make booleans mutable by creating a copy instead of handing out 179 - make booleans mutable by creating a copy instead of handing out
110 the same scalar (reported by pasha sadri). 180 the same scalar (reported by pasha sadri).
111 - added support for incremental json parsing (still EXPERIMENTAL). 181 - added support for incremental json parsing (still EXPERIMENTAL).
112 - 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
113 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.
114 - implement allow_unknown/get_allow_unknown methods. 184 - implement allow_unknown/get_allow_unknown methods.
115 - fixed documentation of max_depth w.r.t. higher and equal. 185 - fixed documentation of max_depth w.r.t. higher and equal.
116 - 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