- Fix bad encoding of NaN half-floats [Fixes #53] (discovered by BSipos-RKF)
- Warning: Previous versions encoded NaNs as
0xf9e700
instead of0xf97e00
; if you rely on the broken behavior, this will be a breaking change
- Warning: Previous versions encoded NaNs as
- Fix potentially bad encoding of negative half-float with exponent < -14 [Fixes #112] (discovered by yami36)
- BREAKING: Improved bool support [Fixes #63]
- Rename
cbor_ctrl_is_bool
tocbor_get_bool
and fix the behavior - Add
cbor_set_bool
- Rename
- Fix memory_allocation_test breaking the build without CBOR_CUSTOM_ALLOC [Fixes #128] (by panlinux)
- Fix a potential build issue where cJSON includes may be misconfigured
- Breaking: Add a limit on the size of the decoding context stack (by James-ZHANG)
- If your usecase requires parsing very deeply nested structures, you might need to increase the default 2k limit via
CBOR_MAX_STACK_SIZE
- If your usecase requires parsing very deeply nested structures, you might need to increase the default 2k limit via
- Enable LTO/IPO based on CheckIPOSupported [#143] (by xanderlent)
- If you rely on LTO being enabled and use CMake version older than 3.9, you will need to re-enable it manually or upgrade your CMake