1 | Revision history for Perl extension JSON::XS |
1 | Revision history for Perl extension JSON::XS |
2 | |
2 | |
3 | TODO: maybe detetc and croak on more invalid inputs (e.g. +-inf/nan) |
3 | TODO: maybe detect and croak on more invalid inputs (e.g. +-inf/nan) |
4 | TODO: maybe avoid the reblessing and better support readonly objects. |
4 | TODO: maybe avoid the reblessing and better support readonly objects. |
5 | TODO: http://stevehanov.ca/blog/index.php?id=104 compression |
|
|
6 | TODO: how to cope with tagged values and standard json decoders |
5 | TODO: how to cope with tagged values and standard json decoders |
7 | TODO: investigate magic (Eric Brine) |
6 | TODO: investigate magic (Eric Brine) |
8 | TODO: rfc7464 |
7 | TODO: rfc7464 |
9 | TODO: Victor Efimov |
8 | TODO: [PATCH] Types::Serialiser: Inline true(), false() and error() functions |
10 | |
9 | |
|
|
10 | 4.0_00 Fri Nov 16 00:06:54 CET 2018 |
|
|
11 | - 4.0 pre-release, do not use other than for testing. |
|
|
12 | - SECURITY IMPLICATION: this release enables allow_nonref by default |
|
|
13 | for compatibnility with RFC 7159 and newer. See "old" vs. "new" |
|
|
14 | JSON under SECURITY CONSIDERATIONS. |
|
|
15 | - reworked the "old" vs. "new" JSON section. |
|
|
16 | - add ->boolean_values to provide the values to which booleans |
|
|
17 | decode (requested by Aristotle Pagaltzis). |
|
|
18 | - decode would wrongly accept ASCII NUL characters instead of |
|
|
19 | reporting them as trailing garbage. |
|
|
20 | - work around what smells like a perl bug w.r.t. exceptions |
|
|
21 | thrown in callbacks. |
|
|
22 | - incremental parser now more or less respects allow_nonref. |
|
|
23 | - json_xs json-pretty now enables canonical mode. |
|
|
24 | - add documentation section about I-JSON. |
|
|
25 | - minor documentation fixes/updates. |
|
|
26 | |
|
|
27 | 3.04 Thu Aug 17 04:30:47 CEST 2017 |
|
|
28 | - change exponential realloc algorithm on encoding and string decoding to be |
|
|
29 | really exponential (this helps slow/debugging allocators such as libumem) |
|
|
30 | (reported by Matthew Horsfall). |
|
|
31 | - string encoding would needlessly overallocate output space |
|
|
32 | (testcase by Matthew Horsfall). |
|
|
33 | - be very paranoid about extending buffer lengths and croak if buffers get too large, |
|
|
34 | which might (or might not) improve security. |
|
|
35 | - add cbor-packed type to json_xs. |
|
|
36 | - switch from YAML to YAML::XS in json_xs, as YAML is way too buggy and outdated. |
|
|
37 | |
|
|
38 | 3.03 Wed Nov 16 20:20:59 CET 2016 |
|
|
39 | - fix a bug introduced by a perl bug workaround that would cause |
|
|
40 | incremental parsing to fail with a sv_chop panic. |
11 | - json_xs: toformat failure error message fixed. |
41 | - json_xs: toformat failure error message fixed. |
12 | - json_xs: allow cyclic data structures in CBOR. |
42 | - json_xs: allow cyclic data structures in CBOR. |
13 | |
43 | |
14 | 3.02 Fri Feb 26 22:45:20 CET 2016 |
44 | 3.02 Fri Feb 26 22:45:20 CET 2016 |
15 | - allow_nonref now affects booleans (\1, $Types::Serialiser::Boolean) |
45 | - allow_nonref now affects booleans (\1, $Types::Serialiser::Boolean) |