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 | |
|
|
7 | TODO: how to cope with tagged values and standard json decoders |
5 | TODO: how to cope with tagged values and standard json decoders |
8 | TODO: work around <=5.16 bugs (Reini Urban) |
6 | TODO: investigate magic (Eric Brine) |
9 | TODO: decide what to do with RFC7158 incompatibilities. |
7 | TODO: [PATCH] Types::Serialiser: Inline true(), false() and error() functions |
|
|
8 | TODO: replace bool_stash by BOOL_STASH seems to work with mod_perl, make a compile time option? |
|
|
9 | |
|
|
10 | 4.03 Tue Oct 27 19:05:01 CET 2020 |
|
|
11 | - when parsing comments in relaxed mode, JSON::XS would detect garbage |
|
|
12 | after the JSON text if the comment is after the end and does not end in |
|
|
13 | a newline (reported by Felipe Gasper). |
|
|
14 | |
|
|
15 | 4.02 Wed Mar 6 08:31:24 CET 2019 |
|
|
16 | - undo the fix from 4.01, it breaks more things than it fixes |
|
|
17 | (another testcase by Wesley Schwengle). |
|
|
18 | - try a proper fix this time. |
|
|
19 | |
|
|
20 | 4.01 Sun Feb 24 05:03:30 CET 2019 |
|
|
21 | - fix some stack corruption caused mostly when calling methods |
|
|
22 | in list context (testcase by Wesley Schwengle). |
|
|
23 | |
|
|
24 | 4.0 Fri Nov 16 00:06:54 CET 2018 |
|
|
25 | - SECURITY IMPLICATION: this release enables allow_nonref by default |
|
|
26 | for compatibility with RFC 7159 and newer. See "old" vs. "new" |
|
|
27 | JSON under SECURITY CONSIDERATIONS. |
|
|
28 | - reworked the "old" vs. "new" JSON section. |
|
|
29 | - add ->boolean_values to provide the values to which booleans |
|
|
30 | decode (requested by Aristotle Pagaltzis). |
|
|
31 | - decode would wrongly accept ASCII NUL characters instead of |
|
|
32 | reporting them as trailing garbage. |
|
|
33 | - work around what smells like a perl bug w.r.t. exceptions |
|
|
34 | thrown in callbacks. |
|
|
35 | - incremental parser now more or less respects allow_nonref. |
|
|
36 | - json_xs json-pretty now enables canonical mode. |
|
|
37 | - add documentation section about I-JSON. |
|
|
38 | - minor documentation fixes/updates. |
|
|
39 | |
|
|
40 | 3.04 Thu Aug 17 04:30:47 CEST 2017 |
|
|
41 | - change exponential realloc algorithm on encoding and string decoding to be |
|
|
42 | really exponential (this helps slow/debugging allocators such as libumem) |
|
|
43 | (reported by Matthew Horsfall). |
|
|
44 | - string encoding would needlessly overallocate output space |
|
|
45 | (testcase by Matthew Horsfall). |
|
|
46 | - be very paranoid about extending buffer lengths and croak if buffers get too large, |
|
|
47 | which might (or might not) improve security. |
|
|
48 | - add cbor-packed type to json_xs. |
|
|
49 | - switch from YAML to YAML::XS in json_xs, as YAML is way too buggy and outdated. |
|
|
50 | |
|
|
51 | 3.03 Wed Nov 16 20:20:59 CET 2016 |
|
|
52 | - fix a bug introduced by a perl bug workaround that would cause |
|
|
53 | incremental parsing to fail with a sv_chop panic. |
|
|
54 | - json_xs: toformat failure error message fixed. |
|
|
55 | - json_xs: allow cyclic data structures in CBOR. |
|
|
56 | |
|
|
57 | 3.02 Fri Feb 26 22:45:20 CET 2016 |
|
|
58 | - allow_nonref now affects booleans (\1, $Types::Serialiser::Boolean) |
|
|
59 | as well (reported by Alex Efros). |
|
|
60 | - allow literal tabs in strings in relaxed mode (patch by |
|
|
61 | lubo.rintel@gooddata.com). |
|
|
62 | - support "cbor" format in json_xs tool. |
|
|
63 | - support (and fix) calling encode and decode in list context |
|
|
64 | (reported by Вадим Власов). |
|
|
65 | - work around a bug in older perls crashing when presented |
|
|
66 | with shared hash keys (Reini Urban). |
|
|
67 | - use stability canary. |
|
|
68 | |
10 | 3.01 Tue Oct 29 16:55:15 CET 2013 |
69 | 3.01 Tue Oct 29 16:55:15 CET 2013 |
11 | - backport to perls < 5.18 (reported by Paul Howarth). |
70 | - backport to perls < 5.18 (reported by Paul Howarth). |
12 | |
71 | |
13 | 3.0 Tue Oct 29 01:35:37 CET 2013 |
72 | 3.0 Tue Oct 29 01:35:37 CET 2013 |
14 | - implemented an object tagging extension (using the |
73 | - implemented an object tagging extension (using the |