libbson breaking changes
libbson 2.2.0 is its newest release with breaking changes. The first: Drops Visual Studio 2015 support in libbson 2.2.0. Every breaking API change we have recorded in libbson on vcpkg: 18 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.6.0, released December 3, 2026. Source repository
libbson 2.2.0 breaking changes
- Removed
Use Visual Studio 2017 or newer. github.com
libbson 2.1.0 breaking changes
- Removed
Builds on Debian 9 and Debian 10 are no longer supported. github.com - Configuration changed
The CMake project now sets a policy max version of 4.0, which can change how builds configure. github.com
libbson 2.0.2 breaking changes
- Behavior changed
bson_validate
Invalid UTF-8 is now rejected with BSON_VALIDATE_UTF8, and nesting depth is limited during validation. github.com
libbson 2.0.0 breaking changes
- Removed
Use find_package(bson with a version range) instead. github.com - Removed
bson_array_as_json
Use bson_array_as_legacy_extended_json for legacy output, or Canonical or Relaxed Extended JSON for portable output. github.com - Removed
bson_as_json
Use bson_as_legacy_extended_json for legacy output, or Canonical or Relaxed Extended JSON for portable output. github.com - Removed
bson_atomic_*
The deprecated atomic and threading functions are gone. github.com - Removed
bson_cmp_*
The deprecated integral comparison functions are gone. github.com - Removed
bson_copy_to_excluding
Use bson_copy_to_excluding_noinit instead. github.com - Removed
bson_in_range_*
The deprecated integral range comparison functions are gone. github.com - Removed
bson_thrd_yield
The deprecated threading function is gone. github.com - Removed
ENABLE_EXTRA_ALIGNMENT
Builds that set this deprecated CMake option will no longer have it. github.com - Renamed
The libbson-1.0 pkg-config files are now bson2 and bson2-static, so build scripts must change. github.com
And 4 more in this version. Sign up to see every change
Related packages
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.