hdr-histogram breaking changes
hdr-histogram 0.12.1 is its newest release with breaking changes, 7 of them. The first: Behavior changed hdr_mean. Every breaking API change we have recorded in hdr-histogram on vcpkg: 11 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.12.1. Source repository
hdr-histogram 0.12.1 breaking changes
- Behavior changed
hdr_mean
Code that checks isnan(hdr_mean(h)) to detect an empty histogram must switch to checking hdr_total_count(h) == 0. github.com - Behavior changed
hdr_min
Code that tests for an empty histogram with hdr_min == INT64_MAX must switch to hdr_total_count(h) == 0. github.com - Behavior changed
hdr_packed_min
Code that tests for an empty packed histogram with a minimum of INT64_MAX must switch to checking the total count. github.com - Behavior changed
hdr_stddev
Code that checks for NaN from hdr_stddev on an empty histogram must switch to checking hdr_total_count(h) == 0. github.com - Behavior changed
hdr_value_at_percentile
For an empty histogram with a lowest discernible value above 1, hdr_value_at_percentile now returns 0 instead of a value never recorded. github.com - Behavior changed
hdr_value_at_percentiles
For an empty histogram, every slot of hdr_value_at_percentiles is now 0 instead of the internal rank target 1. github.com - Configuration changed
On targets without native 64-bit atomics, users building the amalgamated file instead of CMake must add -latomic themselves. github.com
hdr-histogram 0.12.0 breaking changes
- Behavior changed
Decoding a V0 or V1 log with a negative bucket count now fails with HDR_NEGATIVE_COUNT_INVALID and returns no histogram. github.com - Behavior changed
counts[]
Code that writes counts[] directly must not store negative values, because the percentile scans rely on non-negative counts. github.com - Behavior changed
hdr_log_read_header
A non-finite or out-of-range StartTime now makes hdr_log_read_header return -EINVAL or -ERANGE instead of converting it. github.com - Behavior changed
hdr_record_values
Calling hdr_record_values with a negative value now returns false and leaves the histogram unchanged instead of succeeding. Check the return value and stop passing negative counts. github.com
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.