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

Comparing CBOR-XS/Changes (file contents):
Revision 1.65 by root, Tue Apr 26 16:07:04 2016 UTC vs.
Revision 1.96 by root, Thu Sep 7 23:52:24 2023 UTC

1Revision history for Perl extension CBOR::XS 1Revision history for Perl extension CBOR::XS
2 2
3TODO: pack_keys? 3TODO: pack_keys?
4TODO: document encode_cbor_sharing? 4TODO: document encode_cbor_sharing?
5TODO: weaken cyclic structures? 5TODO: weaken cyclic structures?
6TODO: allowed_classes or so? 6TODO: large negative integers
7TODO: type cast tests.
8TODO: round-tripping of types, such as float16 - maybe types::Serialiser support?
9TODO: possibly implement https://peteroupc.github.io/CBOR/extended.html, but NaNs are nonportable. rely on libecb?
10TODO: https://github.com/svaarala/cbor-specs/blob/master/cbor-nonutf8-string-tags.rst, but maybe that is overkill?
7 11
81.5 12TODO: as_object -> key value pair list to allow non-string hash keys
13TODO: sharefdref should not shar references, but copies of references to the same referent
14 - \0, \1, \undef do not work, and were not intended to ever work, as
15 special values, despite being mentioned in the documentation (reported
16 by nuclightq).
17
181.86 Thu 04 Nov 2021 17:48:16 CET
19 - fixed a wrong printf format specifier (reported by Petr Písař).
20
211.85 Sat 23 Oct 2021 04:59:56 CEST
22 - left debugging printf in code, need a test for that :(
23
241.84 Thu 21 Oct 2021 03:11:52 CEST
25 - fix a bug in validate_utf8 where we call perl's is_utf8_string with
26 a lenght of zero for empty strings, but perl interprets that as
27 "calculate length", causing spurious validation errors for
28 empty strings.
29 - include validate_utf8 in new_safe.
30 - avoid some warnings.
31
321.83 Tue Dec 8 09:27:06 CET 2020
33 - add CBOR::XS::as_map cast function.
34
351.82 Tue Dec 1 02:47:40 CET 2020
36 - add CBOR::XS::as_bool cast function.
37
381.81 Mon Nov 30 19:29:33 CET 2020
39 - cast functions were broken due to last-minute renaming. thats
40 what you get for not having a tessuite.
41 - Math::BigInt and Math::BigFloat are pretty broken (again),
42 so disable some tests. (try printing the bigfloat
43 799999999999999999998E99999999999999999998).
44
451.8 Sun Nov 29 22:35:13 CET 2020
46 - experimental support for some type casts, as well as embedding
47 raw cbor data.
48
491.71 Thu Nov 15 20:52:13 CET 2018
50 - work around what smells like a perl bug w.r.t. exceptions
51 thrown in callbacks.
52 - update libecb.
53
541.7 Tue Jun 27 04:02:23 CEST 2017
55 - SECURITY FIX: fix two bugs found by american fuzzy lop,
56 upgrade is advised if you accept data from untrusted
57 sources.
58 - an out-of bound sharedref or stringref index could cause an
59 out of bounds access - might be exploitable.
60 - a decoding error during indefinite array or hash decoding
61 could cause an endless loop.
62
631.6 Wed Dec 7 15:13:23 CET 2016
64 - greatly expand the SECURITY IMPLICATIONS and similar sections.
65 - new constructor new_safe, to create a secure CBOR::XS object.
66 - new option forbid_objects, to disallow serialisation.
67 - new CBOR::XS::safe_filter functionality.
68 - fix a crash when decoding a cyclic data structure using
69 stringref/pack_strings when allow_cycles is disabled.
70 - fix a crash when decoding hash keys with length >= 2**31.
71 - avoid unreasonably long decoding times for certain
72 types of (corrupt) cbor texts.
73 - support arrays and hashes with >= 2**31 members.
74 - avoid overflow on pointer arithmetic when checking whether enough
75 data is available.
76 - fix a memory leak that occured when decoding failed while decoding
77 a tagged value.
78 - do not leak the partially constructed result when stringifying
79 a hash key throws an exception.
80 - various code size and efficiency optimizations (reduced code
81 from 42 to 40kB on my system, despite the new features).
82
831.5 Wed Apr 27 11:38:39 CEST 2016
9 - Math::BigFloat madness workaround, see 84 - Math::BigFloat madness workaround, see
10 http://blog.schmorp.de/2016-04-23-mathbigfloat-maintainer-fail.html 85 http://blog.schmorp.de/2016-04-23-mathbigfloat-maintainer-fail.html
11 (bugreport by zdm@softvisio.net). 86 (bugreport by zdm@softvisio.net).
12 - add text_keys and text_strings options to force CBOR text encoding 87 - add text_keys and text_strings options to force CBOR text encoding
13 for perl hash keys or all strings, as a result of discussions 88 for perl hash keys or all strings, as a result of discussions
16 http://peteroupc.github.io/CBOR/bigfrac.html, tags 264 and 265) 91 http://peteroupc.github.io/CBOR/bigfrac.html, tags 264 and 265)
17 for both en- and decoding. 92 for both en- and decoding.
18 - implement support for rational numbers (see 93 - implement support for rational numbers (see
19 http://peteroupc.github.io/CBOR/rational.html, tag 30) for both 94 http://peteroupc.github.io/CBOR/rational.html, tag 30) for both
20 en- and decoding. 95 en- and decoding.
96 - the above effectively implements all registered CBOR extensions
97 in a sensible manner.
21 - remove some weird dead code that was duplication (%FILTER). 98 - remove some weird dead code that was duplicated (%FILTER).
22 - add t/58_hv.t, which tests hashes and the new text_* flags. 99 - add t/58_hv.t, which tests hashes and the new text_* flags.
23 hashes apparently were not encoded at all in any of the previous 100 hashes apparently were not encoded at all in any of the existing
24 tests. 101 tests.
25 - document base-2 Math::BigFloat performance/crash issues. 102 - document Math::BigFloat base-2 performance/crash issues.
26 - use stability canary. 103 - use stability canary.
27 104
281.41 Thu 25 Feb 15:22:03 CET 2016 1051.41 Thu 25 Feb 15:22:03 CET 2016
29 - avoid perl panics on nested FREEZE/THAW calls (testcase by 106 - avoid perl panics on nested FREEZE/THAW calls (testcase by
30 Victor Efimov). 107 Victor Efimov).

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines