---
title: "hdr-histogram 0.12.1 Breaking Changes on vcpkg | Since.dev"
description: "What each hdr-histogram release removed, renamed or changed: 11 breaking changes in 2 versions on vcpkg, each with its source."
canonical_url: https://since.dev/packages/vcpkg/hdr-histogram
last_updated: 2026-12-04
---

# 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

Latest version `0.12.1`. [Source repository](https://github.com/HdrHistogram/HdrHistogram%5Fc)

- From [0.12.0](#v-0-12-0) to [0.12.1](#v-0-12-1): 7 breaking changes in 1 version.

## hdr-histogram 0.12.1 breaking changes

hdr-histogram 0.12.1: 7 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](https://github.com/HdrHistogram/HdrHistogram%5Fc/releases/tag/0.12.1)
- **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](https://github.com/HdrHistogram/HdrHistogram%5Fc/releases/tag/0.12.1)
- **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](https://github.com/HdrHistogram/HdrHistogram%5Fc/releases/tag/0.12.1)
- **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](https://github.com/HdrHistogram/HdrHistogram%5Fc/releases/tag/0.12.1)
- **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](https://github.com/HdrHistogram/HdrHistogram%5Fc/releases/tag/0.12.1)
- **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](https://github.com/HdrHistogram/HdrHistogram%5Fc/releases/tag/0.12.1)
- **Configuration changed**  

On targets without native 64-bit atomics, users building the amalgamated file instead of CMake must add -latomic themselves. [github.com](https://github.com/HdrHistogram/HdrHistogram%5Fc/releases/tag/0.12.1)

## hdr-histogram 0.12.0 breaking changes

hdr-histogram 0.12.0: 4 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](https://github.com/HdrHistogram/HdrHistogram%5Fc/releases/tag/0.12.0)
- **Behavior changed** `counts[]`  

Code that writes counts\[\] directly must not store negative values, because the percentile scans rely on non-negative counts. [github.com](https://github.com/HdrHistogram/HdrHistogram%5Fc/releases/tag/0.12.0)
- **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](https://github.com/HdrHistogram/HdrHistogram%5Fc/releases/tag/0.12.0)
- **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](https://github.com/HdrHistogram/HdrHistogram%5Fc/releases/tag/0.12.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
