Libcbor Versions Save

CBOR protocol implementation for C

v0.11.0

3 months ago

0.11.0 (2024-02-04)

v0.10.2

1 year ago

0.10.2 (2023-01-31)

v0.10.0

1 year ago

0.10.0 (2022-12-29)

v0.9.0

2 years ago

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@)

v0.8.0

3 years ago
  • 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@)

v0.7.0

4 years ago

v0.6.1

4 years ago

v0.6.0

4 years ago

v0.5.0

7 years ago

This release addresses several long-outstanding issues regarding compatibility, portability, and correctness.

  • 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 [#16]
  • Improvements to C++ linkage (corrected cbor_empty_callbacks, fixed restrict pointers) (by Dennis Bijwaard)
  • Fixed Linux installation directory depending on architecture [#34](by jvymazal)
  • Improved 32-bit support [#35]
  • Fixed MSVC compatibility [#31]
  • Fixed and improved half-float encoding [#5] [#11]