Skip to content

Releases: intel/tinycbor

TinyCBOR release 0.6.1

12 Mar 02:13
Compare
Choose a tag to compare

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 use cbor_ntohl instead of ntohl 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

Full Changelog: v0.6.0...v0.6.1

TinyCBOR release 0.6

29 Oct 16:08
Compare
Choose a tag to compare

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 and cbor_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 and cbor_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]