libcbor breaking changes
libcbor 0.15.0 is its newest release with breaking changes, 16 of them. The first: Removed _cbor_map_add_key. Every breaking API change we have recorded in libcbor on Homebrew: 16 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.15.1, released December 2, 2026. MIT license. Source repository
libcbor 0.15.0 breaking changes
- Removed
_cbor_map_add_key
The internal _cbor_map_add_key is no longer exported. Use cbor_map_add instead. github.com - Removed
_cbor_map_add_value
The internal _cbor_map_add_value is no longer exported. Use cbor_map_add instead. github.com - Removed
cbor_decref
cbor_decref is now static inline in the headers, so binaries relying on its exported symbol or dlsym must be rebuilt against the new headers. github.com - Removed
cbor_incref
cbor_incref is now static inline in the headers, so binaries relying on its exported symbol must be rebuilt against the new headers. github.com - Removed
SANE_MALLOC
The SANE_MALLOC CMake option was removed. It only affected the test suite. github.com - Behavior changed
The build no longer links libm. Code that relied on libcbor to pull in libm must link it itself. github.com - Behavior changed
cbor_array_handle
Empty definite arrays return NULL from cbor_array_handle on all platforms. Code that asserted a non-NULL pointer or passed it to memcpy must be adjusted. github.com - Behavior changed
cbor_bytestring_handle
Empty definite bytestrings return NULL from cbor_bytestring_handle on all platforms. Code that asserted a non-NULL pointer or passed it to memcpy must be adjusted. github.com - Behavior changed
cbor_encode_double
NaN values are now encoded with their original bit pattern instead of the canonical quiet NaN. Code that expects normalized NaN output will see different bytes. github.com - Behavior changed
cbor_encode_single
NaN values are now encoded with their original bit pattern instead of the canonical quiet NaN. Code that expects normalized NaN output will see different bytes. github.com - Behavior changed
cbor_load
Definite arrays and maps that declare more items than the input can hold are no longer preallocated up front. Clients that keep reading on CBOR_ERR_NOTENOUGHDATA need their own input size limit. github.com - Behavior changed
cbor_map_handle
Empty definite maps return NULL from cbor_map_handle on all platforms. Code that asserted a non-NULL pointer or passed it to memcpy must be adjusted. github.com - Behavior changed
cbor_set_allocs
Custom free functions installed via cbor_set_allocs are now called with NULL for empty items and must accept it. github.com - Behavior changed
cbor_stream_decode
Simple values 0 to 19 and 32 to 255 are now decoded as ctrl items instead of being rejected as malformed. Code that relied on rejecting them will behave differently. github.com - Behavior changed
cbor_string_handle
Empty definite strings return NULL from cbor_string_handle on all platforms. Code that asserted a non-NULL pointer or passed it to memcpy must be adjusted. github.com - Signature changed
cbor_callbacks
struct cbor_callbacks has a new simple_value member that must be set. Use cbor_null_simple_value_callback or start from cbor_empty_callbacks. github.com
Related packages
- libcbor on vcpkg
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.