All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fixed compilation error on MacOS
- Fixed string pointer for non trivial string sizes
- Fixed compilation warnings
- Fixed call to printf without format string
- Fixed hardcoded install locations in CMake
- Unit tests for encoder.
- APIs for retrieving encoded buffer size (
ecbor_get_encoded_buffer_size()
andECBOR_GET_ENCODED_BUFFER_SIZE
).
ecbor_uint()
API now receivesuint64_t
argument. This should be backwards compatible with old signature.ecbor_str()
andecbor_bstr()
APIs now takeconst
pointers.
- Fixed
ecbor_memcpy
routine. - Correctly updating item counter when encoding arrays and maps (thank you, ivan-baldin).
- Fix header encoding for FP64 values.
- Initialize
is_indefinite
flags for applicable item types in their builder functions. - Fix chaining of map children.