---
title: "mongo-c-driver 2.2.0 Breaking Changes on vcpkg | Since.dev"
description: "What each mongo-c-driver release removed, renamed or changed: 57 breaking changes in 5 versions on vcpkg, each with its source."
canonical_url: https://since.dev/packages/vcpkg/mongo-c-driver
last_updated: 2026-12-04
---

# mongo-c-driver breaking changes

mongo-c-driver 2.2.0 is its newest release with breaking changes. The first: Drops support for Visual Studio 2015 in mongo-c-driver 2.2.0. Every breaking API change we have recorded in mongo-c-driver on vcpkg: 57 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.6.0`, released December 3, 2026. [Source repository](https://github.com/mongodb/mongo-c-driver)

- From [1.30.15](#v-1-30-15) to [2.2.0](#v-2-2-0): 56 breaking changes in 4 versions.

## mongo-c-driver 2.2.0 breaking changes

mongo-c-driver 2.2.0: 1 breaking change.

- **Removed**  

Use Visual Studio 2017 or newer to build the library. [github.com](https://github.com/mongodb/mongo-c-driver/releases/tag/2.2.0)

## mongo-c-driver 2.1.0 breaking changes

mongo-c-driver 2.1.0: 2 breaking changes.

- **Removed**  

Builds on Debian 9 and 10 are no longer supported. [github.com](https://github.com/mongodb/mongo-c-driver/releases/tag/2.1.0)
- **Behavior changed**  

The driver no longer supports MongoDB Server 4.0; upgrade the server to 4.2 or newer. [github.com](https://github.com/mongodb/mongo-c-driver/releases/tag/2.1.0)

## mongo-c-driver 2.0.2 breaking changes

mongo-c-driver 2.0.2: 1 breaking change.

- **Behavior changed** `bson_validate`  

Previously accepted invalid UTF-8 is now rejected when BSON_VALIDATE_UTF8 is set, and a nesting limit is enforced. [github.com](https://github.com/mongodb/mongo-c-driver/releases/tag/2.0.2)

## mongo-c-driver 2.0.0 breaking changes

mongo-c-driver 2.0.0: 52 breaking changes.

- **Removed** `bson_array_as_json`  

Use Canonical or Relaxed Extended JSON instead, or bson_array_as_legacy_extended_json for the legacy format. [github.com](https://github.com/mongodb/mongo-c-driver/releases/tag/2.0.0)
- **Removed** `bson_as_json`  

Use Canonical or Relaxed Extended JSON instead, or bson_as_legacy_extended_json for the legacy format. [github.com](https://github.com/mongodb/mongo-c-driver/releases/tag/2.0.0)
- **Removed** `bson_atomic_*`  

The deprecated bson_atomic\_\* functions are gone. [github.com](https://github.com/mongodb/mongo-c-driver/releases/tag/2.0.0)
- **Removed** `bson_cmp_*`  

The deprecated bson_cmp\_\* functions are gone; remove calls to them. [github.com](https://github.com/mongodb/mongo-c-driver/releases/tag/2.0.0)
- **Removed** `bson_copy_to_excluding`  

Call bson_copy_to_excluding_noinit instead. [github.com](https://github.com/mongodb/mongo-c-driver/releases/tag/2.0.0)
- **Removed** `bson_in_range_*`  

The deprecated bson_in_range\_\* functions are gone; remove calls to them. [github.com](https://github.com/mongodb/mongo-c-driver/releases/tag/2.0.0)
- **Removed** `bson_md5_t`  

The MD5 struct and related functions are gone. [github.com](https://github.com/mongodb/mongo-c-driver/releases/tag/2.0.0)
- **Removed** `bson_oid_init_sequence`  

Use bson_oid_init instead. [github.com](https://github.com/mongodb/mongo-c-driver/releases/tag/2.0.0)
- **Removed** `bson_thrd_yield`  

The deprecated bson_thrd_yield function is gone. [github.com](https://github.com/mongodb/mongo-c-driver/releases/tag/2.0.0)
- **Removed** `bson-1.0`  

Use find_package(bson with a version range) instead. [github.com](https://github.com/mongodb/mongo-c-driver/releases/tag/2.0.0)

And 42 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## mongo-c-driver 1.30.15 breaking changes

mongo-c-driver 1.30.15: 1 breaking change.

- **Behavior changed**  

Write concern errors (writeConcernError) are now reported in every case the CRUD spec requires, so code that checks for them may see errors it previously missed. [github.com](https://github.com/mongodb/mongo-c-driver/releases/tag/1.30.15)

## Related packages

- [libbson](https://since.dev/packages/vcpkg/libbson.md)

## 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.
