freebsd-src/contrib/libcbor/CHANGELOG.md
Ed Maste abd872540f libcbor: vendor update to 0.11.0
Sponsored by:	The FreeBSD Foundation
2024-05-03 19:33:50 -04:00

12 KiB

Template:

Next

0.11.0 (2024-02-04)

0.10.2 (2023-01-31)

0.10.1 (2022-12-30)

0.10.0 (2022-12-29)

0.9.0 (2021-11-14)

  • Improved pkg-config paths handling [#164] (by jtojnar@)
  • Use explicit math.h linkage [#170]
  • BREAKING: Fixed handling of items that exceed the host size_t range [#186]
    • Callbacks for bytestrings, strings, arrays, and maps use uint64_t instead of size_t to allow handling of large items that exceed size_t even if size_t < uint64_t
    • cbor_decode explicitly checks size to avoid overflows (previously broken, potentially resulting in erroneous decoding on affected systems)
    • The change should be a noop for 64b systems
  • Added a Bazel build example [#196] (by andyjgf@)

0.8.0 (2020-09-20)

  • BUILD BREAKING: Use BUILD_SHARED_LIBS to determine how to build libraries (fixed Windows linkage) [#148] (by intelligide@)
  • BREAKING: Fix cbor_tag_item not increasing the reference count on the tagged item reference it returns [Fixes #109] (discovered bt JohnGilmour)
    • If you have previously relied on the broken behavior, you can use cbor_move to emulate as long as the returned handle is an "rvalue"
  • 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) (discovered by woefulwabbit)
  • Fixed several minor manpage issues [#159] (discovered by kloczek@)

0.7.0 (2020-04-25)

0.6.1 (2020-03-26)

  • Fix bad shared library version number
    • Warning: Shared library built from the 0.6.0 release is erroneously marked as version "0.6.0", which makes it incompatible with future releases including the v0.6.X line even though they may be compatible API/ABI-wise. Refer to the documentation for the new SO versioning scheme.

0.6.0 (2020-03-15)

0.5.0 (2017-02-06)

  • Remove cmocka from the subtree (always rely on system or user-provided version)
  • Windows CI
  • Only build tests if explicitly enabled (-DWITH_TESTS=ON)
  • Fixed static header declarations (by cedric-d)
  • Improved documentation (by Michael Richardson)
  • Improved examples/readfile.c
  • Reworked (re)allocation to handle huge inputs and overflows in size_t [Fixes #16]
  • Improvements to C++ linkage (corrected cbor_empty_callbacks, fixed restrict pointers) (by Dennis Bijwaard)
  • Fixed Linux installation directory depending on architecture [Fixes #34] (by jvymazal)
  • Improved 32-bit support [Fixes #35]
  • Fixed MSVC compatibility [Fixes #31]
  • Fixed and improved half-float encoding [Fixes #5, #11]

0.4.0 (2015-12-25)

Breaks build & header compatibility due to:

  • Improved build configuration and feature check macros
  • Endianness configuration fixes (by Erwin Kroon and David Grigsby)
  • pkg-config compatibility (by Vincent Bernat)
  • enable use of versioned SONAME (by Vincent Bernat)
  • better fuzzer (wasn't random until now, ooops)

0.3.1 (2015-05-21)

  • documentation and comments improvements, mostly for the API reference

0.3.0 (2015-05-21)

  • Fixes, polishing, niceties across the code base
  • Updated examples
  • cbor_copy
  • cbor_build_negint8, 16, 32, 64, matching asserts
  • cbor_build_stringn
  • cbor_build_tag
  • cbor_build_float2, ...

0.2.1 (2015-05-17)

  • C99 support

0.2.0 (2015-05-17)

  • cbor_ctrl_bool -> cbor_ctrl_is_bool
  • Added cbor_array_allocated & map equivalent
  • Overhauled endianess conversion - ARM now works as expected
  • 'sort.c' example added
  • Significantly improved and doxyfied documentation

0.1.0 (2015-05-06)

The initial release, yay!