Releases: intel/tinycbor
TinyCBOR release 0.6.1
Release 0.6.1 is a bugfix release, accumulated over several years.
What's Changed
- Fixed a bug that performed arithmetic on null pointers, which is Undefined Behaviour (by @hamchapman in #217)
- Updated the
ntohll
macro to usecbor_ntohl
instead ofntohl
directly (by @mkm85 in #218) - Removed
_POSIX_C_SOURCE
defines where_GNU_SOURCE
was also defined, as_GNU_SOURCE
implicitly defines_POSIX_C_SOURCE
(by @kkysen in #221) - Made it easier to replace the standard library memory management functions (by @huffman-coder in #224)
- Added support for ICCARM (by @inf265 in #226)
- Fixed a bug that would cause an assertion failure if recursion limit was hit during the creation of the CBOR pretty output (in #230)
- Added support for
_Float16
for half-precision conversions if available (by @kalcutter in #231) - Added possibility to include external config file (by @piotreklc60 in #234)
- Removed use of
Q_FOREACH
(by @marcmutz in #238) - Disable cJSON support when building without math support (by @thiagomacieira in #253)
- Corrected syntax error in
examples/simplereader.c
(by @LinRaymond2006 in #264) - Fixed a Coverity Scan warning about
CborEncoder::data
not being initialized (by @marcmutz in https://github.com/intel/tinycbor/pull/2750 - Added a recursion limit for nested containers in the CBOR-to-JSON conversion code (by @thiagomacieira in #273)
- Fixed a problem escaping strings in the CBOR-to-JSON conversion code (by @thiagomacieira in #274)
New Contributors
- @AlfioEmanueleFresta made their first contribution in #210
- @mkm85 made their first contribution in #218
- @kkysen made their first contribution in #221
- @huffman-coder made their first contribution in #224
- @inf265 made their first contribution in #226
- @niooss-ledger made their first contribution in #229
- @kalcutter made their first contribution in #231
- @piotreklc60 made their first contribution in #234
- @marcmutz made their first contribution in #238
- @laminowany made their first contribution in #239
- @mofosyne made their first contribution in #244
- @pjonsson made their first contribution in #246
- @lightyear15 made their first contribution in #251
- @rdower made their first contribution in #254
- @dangelog made their first contribution in #263
- @LinRaymond2006 made their first contribution in #264
Full Changelog: v0.6.0...v0.6.1
TinyCBOR release 0.6
TinyCBOR 0.6 contains many changes developed over the past four years,
which have been included in Qt releases.
Notable new API:
- Support for encoding and decoding half-precision floating points (
cbor_encode_float_as_half_float
andcbor_value_get_half_float_as_float
) which convert to and from a single-precision float to the correct 16-bit representation. - Ability to restart parsing (
cbor_value_reparse
)
And some experimental API:
- Parsing and encoding using delegated functions, not just a buffer (
cbor_encoder_init_writer
andcbor_parser_init_reader
) - Parser support for iterating over string chunks
The project maintainer would like to thank the following people for contributing to this release and to bugfixes in the 0.5 branch:
Alexander Richardson
Andreas Zisowsky
Dan Church
Dmitry Shachnev
elie-elkhoury
Fabrice Fontaine
Hamilton Chapman
Koen Zandberg
Konstantin Yegupov
Maciej Jurczak
Mahavir Jain
Mårten Nordheim
Mathieu
Michael Richardson
Pedro Oliveira
Ricardo Crudo
Sergio Martins
Shubham Patil
Stewart Gebbie
Svyatoslav Phirsov
Full Changelog: v0.5.0...v0.6.0
Signed-off-by: Thiago Macieira [email protected]