- 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