- version update to 0.11.0
* Updated documentation to refer to RFC 8949
* Improvements to cbor_describe
Bytestring data will now be printed as well by akallabeth
Formatting consistency and clarity improvements
* Fix cbor_string_set_handle not setting the codepoint count
* BREAKING: cbor_load will no longer fail on input strings that are
well-formed but not valid UTF-8
If you were relying on the validation, please check the result
using cbor_string_codepoint_count instead
* BREAKING: All decoders like cbor_load and cbor_stream_decode will
accept all well-formed tag values (bug discovered by dskern-github)
Previously, decoding of certain values would fail with
CBOR_ERR_MALFORMATED or CBOR_DECODER_ERROR
This also makes decoding symmetrical with serialization, which
already accepts all values
OBS-URL: https://build.opensuse.org/request/show/1164152
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcbor?expand=0&rev=24
- Update to 0.10.1:
* BREAKING: Fix cbor_copy leaking memory and creating invalid items when the allocator fails.
* BREAKING: Improved half-float encoding for denormalized numbers. [#208]
* Make the buffer_size optional in cbor_serialize_alloc [#205]
* Fix a potential memory leak when the allocator fails during array or map decoding [#224]
* Fix a memory leak when the allocator fails when adding chunks to indefinite bytestrings.
* Fix a memory leak when the allocator fails when adding chunks to indefinite strings
* Fix cbor_build_tag illegal memory behavior when the allocator fails
* Add a new cbor_serialized_size API
* Reworked cbor_serialize_alloc to allocate the exact amount of memory necessary upfront
OBS-URL: https://build.opensuse.org/request/show/1058735
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcbor?expand=0&rev=18
- Update to version 0.8.0
* BREAKING: Fix cbor_tag_item not increasing the reference count
on the tagged item reference it returns
* BREAKING: CBOR_DECODER_EBUFFER removed from cbor_decoder_status
+ cbor_stream_decode will set CBOR_DECODER_NEDATA instead if the
input buffer is empty
* Fix cbor_stream_decode to set cbor_decoder_result.required to
the minimum number of input bytes necessary to receive the next
callback (as long as at least one byte was passed)
* Fixed several minor manpage issue
OBS-URL: https://build.opensuse.org/request/show/836081
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcbor?expand=0&rev=12