Skip to content

Releases

v0.14.0

Choose a tag to compare

@PJK PJK released this 18 Jul 18:37
6730c20

What's Changed

  • CI: Bump FreeBSD to 13.5 and 14.3 by @emaste in #379
  • oss-fuzz: Add unit testing build to oss-fuzz build script by @arthurscchan in #380
  • Revert "oss-fuzz: Add unit testing build to oss-fuzz build script" by @PJK in #382
  • Update FreeBSD CI configuration by @PJK in #381
  • Only generate coverage targets if the COVERAGE option is enabled by @PJK in #384
  • cmake: fix macro names for nodiscard/unreachable feature flags by @huven in #385
  • Fix Bazel build for Bazel 9 compatibility by @PJK in #386
  • Fix integer overflow in cbor_copy_definite() chunk accumulation by @PJK in #387
  • Add bounds check in cbor_array_get() by @PJK in #388
  • Address potential unsigned underflow in streaming decoder claim_bytes() by @PJK in #389
  • CI: Temporarily disable FreeBSD 16.0-snap by @PJK in #390
  • Release previous item reference in cbor_tag_set_item() by @PJK in #391
  • Return NULL from cbor_tag_item() when no item is set by @PJK in #392
  • Fix undefined behavior in NaN encoding shift by @PJK in #393
  • Build system cleanup by @PJK in #394
  • Enable examples in Windows CI build by @PJK in #395
  • Fix sizeof in test allocator mock by @PJK in #396
  • Add serialization size overflow tests by @PJK in #397
  • Fix critical documentation errors by @PJK in #398
  • Smaller documentation fixes and updates by @PJK in #399
  • Fix typos and style issues in documentation by @PJK in #400
  • Fix bugs and cleanup in example code by @PJK in #401
  • Modernize CMake build system by @PJK in #402
  • Replace CMAKE_C_FLAGS with target_compile_options, simplify LTO by @PJK in #403
  • Fix Windows CI build failure and improve build speed by @PJK in #404
  • Speed up Windows CI: Ninja generator + cmocka caching by @PJK in #405
  • Fix macOS CI: set resource_class and bump Xcode to 16.4.0 by @PJK in #406
  • Fix bugs and improve robustness in example code by @PJK in #407
  • Add cbor_structurally_equal for encoding-level item comparison by @PJK in #408
  • Add cbor_map_get with parameterized equality function by @PJK in #409
  • test: cover remaining branches in cbor_structurally_equal by @PJK in #410
  • Enable LeakSanitizer (LSan) via -DSANITIZE=ON on Linux; add sanitized CI jobs by @PJK in #411
  • Preserve NaN sign+payload and tiny-float sign in cbor_encode_half by @PJK in #412
  • Add static and shared linkage test (closes #153) by @PJK in #413
  • Fix infinite loop in streaming_parser example on NEDATA; fix required doc by @PJK in #414
  • Fix NULL dereference in cbor_copy/cbor_copy_definite on allocation failure by @PJK in #419
  • Explicitly guard size * 2 overflow in cbor_builder_map_start_callback by @PJK in #421
  • Document large-allocation risk in cbor_load and clarify test-only CMake flags by @PJK in #422
  • Improve decoding API docs: Graphviz diagram, comparison table, capped_alloc example by @PJK in #423
  • Fix NULL dereference when serializing/measuring a tag with no item set by @PJK in #420
  • Fix release.sh CMakeLists version check by @PJK in #424
  • Bump version to 0.14.0 by @PJK in #425

New Contributors

Full Changelog: v0.13.0...v0.14.0

v0.13.0

Choose a tag to compare

@PJK PJK released this 30 Aug 14:39
9826a43

What's Changed

  • Fix small typo in release script by @PJK in #350
  • Fix failing 32 bit tests due to cmocka macro repeating stack pushes by @PJK in #354
  • Set cmake_minimum_required to 3.5 by @PJK in #355
  • Fix float_ctrl ctrl assertions failing in debug mode by @PJK in #353
  • Check in vscode setup by @PJK in #357
  • Add CBOR sequences example by @PJK in #358
  • Add riscv64 config to CircleCI by @PJK in #359
  • Add a test for malformed definite maps by @PJK in #360
  • Add [[nodiscard]] support and auto-update to C23 in cmake by @PJK in #361
  • Configure ctest on to export the test results to CircleCI by @PJK in #362
  • Revamp the introduction doc into a more useful crash course by @PJK in #363
  • Add OSX asan/lsan supression config by @PJK in #366
  • Add cbor_copy_definite by @PJK in #364
  • Improve handling and coverage reporting of exhaustive enum switches by @PJK in #367
  • Add references to readme by @PJK in #368
  • Update python deps and related docs by @PJK in #369
  • Link tutorial in readme (and fix embedded RST formatting) by @PJK in #370
  • Add a doc note on lto linking by @PJK in #373
  • Add a doc for the reference count in cbor_array_set(). by @hglee in #375
  • Add gh link to docs by @PJK in #374
  • Add #355 to changelog by @PJK in #376
  • Bump version to 0.13.0 by @PJK in #377

New Contributors

Full Changelog: v0.12.0...v0.13.0

v0.12.0

Choose a tag to compare

@PJK PJK released this 16 Mar 19:31
ae000f4

What's Changed

  • Tag documentation and general doxygen style improvements by @PJK in #309
  • Rename API docs to be more helpful by @PJK in #310
  • Make MSVC w/ /sdl work by @PJK in #312
  • Respect CMAKE_INTERPROCEDURAL_OPTIMIZATION by @PJK in #316
  • Nicer cmakes by @PJK in #317
  • Fixed code coverage option typo in CMakeLists.txt by @jonathanmarvens in #318
  • Bump jinja2 from 3.1.2 to 3.1.3 in /doc/source by @dependabot in #306
  • Update CI configs by @PJK in #332
  • Fix wrong fopen mode in fuzzer by @PJK in #331
  • Update OSX CI version by @PJK in #333
  • Fix NaN handling on mips/mipsel and Windows; disable value propagation for signaling NaNs; add mips CI by @PJK in #335
  • Export and install CMake targets by @dg0yt in #337
  • Update cirrus FreeBSD to 14.2 by @PJK in #339
  • Update Bazel setup to Bzlmod by @PJK in #340
  • In cbor2cjson.c example, add missing cbor_move to cbor_array_get call by @whitehse in #338
  • Update python requirements by @PJK in #343
  • Fix mips/el CI by @PJK in #342
  • include project directory with target instead of globally by @Jan200101 in #341
  • Update more python packages by @PJK in #344
  • Update example formatting (clang changed) by @PJK in #345
  • Remove no-op pragma clang lines by @brooksdavis in #321
  • Fix mutiple "pedantic" compiler warnings, mostly around unused parameters by @PJK in #347
  • Bump jinja2 from 3.1.5 to 3.1.6 in /doc/source by @dependabot in #346
  • Update changelog, improve release script to automate version bump PRs by @PJK in #348
  • Bump version to 0.12.0 by @PJK in #349

New Contributors

Full Changelog: v0.11.0...v0.12.0

0.11.0 (2024-02-04)

Choose a tag to compare

@PJK PJK released this 03 Feb 23:39
170bee2

0.11.0 (2024-02-04)

v0.10.2

Choose a tag to compare

@PJK PJK released this 31 Jan 21:22
efa6c08

0.10.2 (2023-01-31)

v0.10.1

Choose a tag to compare

@PJK PJK released this 30 Dec 21:43
5c1bb89

v0.10.0

Choose a tag to compare

@PJK PJK released this 29 Dec 17:41
997b877

0.10.0 (2022-12-29)

v0.9.0

Choose a tag to compare

@PJK PJK released this 14 Nov 21:44
58b3319

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

Choose a tag to compare

@PJK PJK released this 20 Sep 17:18
e9c4582
  • 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

Choose a tag to compare

@PJK PJK released this 25 Apr 12:08
97b865d
⌂ 换网址