{"ecosystem":"homebrew","package":"libcbor","from_version":null,"to_version":null,"changes":[{"from_version":"v0.8.0","to_version":"v0.9.0","change_type":"breaking","description":"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","migration_hint":null},{"from_version":"v0.8.0","to_version":"v0.9.0","change_type":"breaking","description":"Added a [Bazel](https://bazel.build/) build example [[#196]](https://github.com/PJK/libcbor/pull/196) (by [andyjgf@](https://github.com/andyjgf))","migration_hint":null},{"from_version":"v0.8.0","to_version":"v0.9.0","change_type":"breaking","description":"The change should be a noop for 64b systems","migration_hint":null},{"from_version":"v0.8.0","to_version":"v0.9.0","change_type":"breaking","description":"cbor_decode explicitly checks size to avoid overflows (previously broken, potentially resulting in erroneous decoding on affected systems)","migration_hint":null},{"from_version":"v0.7.0","to_version":"v0.8.0","change_type":"breaking","description":"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\"","migration_hint":null},{"from_version":"v0.7.0","to_version":"v0.8.0","change_type":"breaking","description":"Fixed several minor manpage issues [[#159]](https://github.com/PJK/libcbor/pull/159) (discovered by [kloczek@](https://github.com/kloczek))","migration_hint":null},{"from_version":"v0.7.0","to_version":"v0.8.0","change_type":"breaking","description":"[Fix `cbor_stream_decode`](https://github.com/PJK/libcbor/pull/156) 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](https://github.com/woefulwabbit))","migration_hint":null},{"from_version":"v0.7.0","to_version":"v0.8.0","change_type":"breaking","description":"`cbor_stream_decode` will set `CBOR_DECODER_NEDATA` instead if the input buffer is empty","migration_hint":null},{"from_version":"v0.7.0","to_version":"v0.8.0","change_type":"breaking","description":"BREAKING: [`CBOR_DECODER_EBUFFER` removed from `cbor_decoder_status`](https://github.com/PJK/libcbor/pull/156)","migration_hint":null},{"from_version":"v0.6.1","to_version":"v0.7.0","change_type":"breaking","description":"Fix memory_allocation_test breaking the build without CBOR_CUSTOM_ALLOC [[Fixes #128]](https://github.com/PJK/libcbor/issues/128) (by [panlinux](https://github.com/panlinux))","migration_hint":null},{"from_version":"v0.6.1","to_version":"v0.7.0","change_type":"breaking","description":"Rename `cbor_ctrl_is_bool` to `cbor_get_bool` and fix the behavior","migration_hint":null},{"from_version":"v0.6.1","to_version":"v0.7.0","change_type":"breaking","description":"[Fix a potential build issue where cJSON includes may be misconfigured](https://github.com/PJK/libcbor/pull/132)","migration_hint":null},{"from_version":"v0.6.1","to_version":"v0.7.0","change_type":"breaking","description":"Breaking: [Add a limit on the size of the decoding context stack](https://github.com/PJK/libcbor/pull/138) (by [James-ZHANG](https://github.com/James-ZHANG))","migration_hint":null},{"from_version":"v0.6.1","to_version":"v0.7.0","change_type":"breaking","description":"If your usecase requires parsing very deeply nested structures, you might need to increase the default 2k limit via `CBOR_MAX_STACK_SIZE`","migration_hint":null},{"from_version":"v0.5.0","to_version":"v0.6.0","change_type":"breaking","description":"Fix possibly misaligned reads and writes when endian.h is uses or when running on a big-endian machine [[Fixes #99](https://github.com/PJK/libcbor/issues/99), [#100](https://github.com/PJK/libcbor/issues/100)]","migration_hint":null},{"from_version":"v0.5.0","to_version":"v0.6.0","change_type":"breaking","description":"All cbor_new_ and cbor_build_ functions will now explicitly return NULL when memory allocation fails","migration_hint":null},{"from_version":"v0.5.0","to_version":"v0.6.0","change_type":"breaking","description":"It is up to the client to handle such cases","migration_hint":null},{"from_version":"v0.5.0","to_version":"v0.6.0","change_type":"breaking","description":"Globally enforced code style [[Fixes #83]](https://github.com/PJK/libcbor/issues/83)","migration_hint":null},{"from_version":"v0.5.0","to_version":"v0.6.0","change_type":"breaking","description":"Fix issue possible memory corruption bug on repeated cbor_(byte)string_add_chunk calls with intermittently failing realloc calls","migration_hint":null},{"from_version":"v0.10.2","to_version":"v0.11.0","change_type":"breaking","description":"BREAKING: [All decoders like `cbor_load` and `cbor_stream_decode` will accept all well-formed tag values](https://github.com/PJK/libcbor/pull/308) (bug discovered by [dskern-github](https://github.com/dskern-github))","migration_hint":null},{"from_version":"v0.10.2","to_version":"v0.11.0","change_type":"breaking","description":"If you were relying on the validation, please check the result using `cbor_string_codepoint_count` instead","migration_hint":null},{"from_version":"v0.10.2","to_version":"v0.11.0","change_type":"breaking","description":"This also makes decoding symmetrical with serialization, which already accepts all values","migration_hint":null},{"from_version":"v0.10.2","to_version":"v0.11.0","change_type":"breaking","description":"Previously, decoding of certain values would fail with `CBOR_ERR_MALFORMATED` or `CBOR_DECODER_ERROR`","migration_hint":null},{"from_version":"v0.9.0","to_version":"v0.10.0","change_type":"breaking","description":"Note: Half-float NaNs still lose data (https://github.com/PJK/libcbor/issues/215)","migration_hint":null},{"from_version":"v0.9.0","to_version":"v0.10.0","change_type":"breaking","description":"Fix a potential memory leak when the allocator fails during array or map decoding [[#224]](https://github.com/PJK/libcbor/pull/224) (by [James-ZHANG](https://github.com/James-ZHANG))","migration_hint":null},{"from_version":"v0.9.0","to_version":"v0.10.0","change_type":"breaking","description":"Denormalized half-floats will now preserve data in the mantissa","migration_hint":null},{"from_version":"v0.9.0","to_version":"v0.10.0","change_type":"breaking","description":"See https://repology.org/project/cmake/versions for support; the vast majority of users should not be affected.","migration_hint":null},{"from_version":"v0.9.0","to_version":"v0.10.0","change_type":"breaking","description":"BUILD BREAKING: Minimum CMake version is 3.0 [[#201]](https://github.com/PJK/libcbor/pull/201) (by [thewtex@](https://github.com/thewtex))","migration_hint":null}],"total":28,"note":"Curated major-version breaking changes. Always verify against the package's official changelog before migrating.","_cache":"hit"}