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: [PATCH] Types::Serialiser: Inline true(), false() and error() functions |
9 | TODO: Victor Efimov |
8 | |
|
|
9 | 4.01 Sun Feb 24 05:03:30 CET 2019 |
|
|
10 | - fix some stack corruption caused mostly when calling methods |
|
|
11 | in list context (tewstcase by Wesley Schwengle). |
|
|
12 | |
|
|
13 | 4.0 Fri Nov 16 00:06:54 CET 2018 |
|
|
14 | - SECURITY IMPLICATION: this release enables allow_nonref by default |
|
|
15 | for compatibnility with RFC 7159 and newer. See "old" vs. "new" |
|
|
16 | JSON under SECURITY CONSIDERATIONS. |
|
|
17 | - reworked the "old" vs. "new" JSON section. |
|
|
18 | - add ->boolean_values to provide the values to which booleans |
|
|
19 | decode (requested by Aristotle Pagaltzis). |
|
|
20 | - decode would wrongly accept ASCII NUL characters instead of |
|
|
21 | reporting them as trailing garbage. |
|
|
22 | - work around what smells like a perl bug w.r.t. exceptions |
|
|
23 | thrown in callbacks. |
|
|
24 | - incremental parser now more or less respects allow_nonref. |
|
|
25 | - json_xs json-pretty now enables canonical mode. |
|
|
26 | - add documentation section about I-JSON. |
|
|
27 | - minor documentation fixes/updates. |
|
|
28 | |
|
|
29 | 3.04 Thu Aug 17 04:30:47 CEST 2017 |
|
|
30 | - change exponential realloc algorithm on encoding and string decoding to be |
|
|
31 | really exponential (this helps slow/debugging allocators such as libumem) |
|
|
32 | (reported by Matthew Horsfall). |
|
|
33 | - string encoding would needlessly overallocate output space |
|
|
34 | (testcase by Matthew Horsfall). |
|
|
35 | - be very paranoid about extending buffer lengths and croak if buffers get too large, |
|
|
36 | which might (or might not) improve security. |
|
|
37 | - add cbor-packed type to json_xs. |
|
|
38 | - switch from YAML to YAML::XS in json_xs, as YAML is way too buggy and outdated. |
|
|
39 | |
|
|
40 | 3.03 Wed Nov 16 20:20:59 CET 2016 |
|
|
41 | - fix a bug introduced by a perl bug workaround that would cause |
|
|
42 | incremental parsing to fail with a sv_chop panic. |
|
|
43 | - json_xs: toformat failure error message fixed. |
|
|
44 | - json_xs: allow cyclic data structures in CBOR. |
10 | |
45 | |
11 | 3.02 Fri Feb 26 22:45:20 CET 2016 |
46 | 3.02 Fri Feb 26 22:45:20 CET 2016 |
12 | - allow_nonref now affects booleans (\1, $Types::Serialiser::Boolean) |
47 | - allow_nonref now affects booleans (\1, $Types::Serialiser::Boolean) |
13 | as well (reported by Alex Efros). |
48 | as well (reported by Alex Efros). |
14 | - allow literal tabs in strings in relaxed mode (patch by |
49 | - allow literal tabs in strings in relaxed mode (patch by |