Skip to content

Conversation

@BrewTestBot
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

release notes
Announcing 2.2.0 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.

libbson

Improvements

  • Increase resolution of bson_get_monotonic_time on Windows.

Deprecated

  • Support for macOS 11 (EOL since September 2023) and macOS 12 (EOL since September 2024).

Removed

  • Support for Visual Studio 2015 (EOL since October 2025). Use Visual Studio 2017 or newer.

libmongoc

New Features

  • MONGODB-OIDC authentication mechanism.
    • Support a custom callback with mongoc_client_set_oidc_callback and mongoc_client_pool_set_oidc_callback.
    • Support Azure environment with property environment:azure.
    • Support GCP environment with property environment:gcp.
    • Kubernetes environment is not-yet supported.
  • Add features to mongoc_bulkwrite_t:
    • Add mongoc_bulkwrite_is_acknowledged.
    • Add mongoc_bulkwriteresult_serverid.
    • Support Queryable Encryption.
  • Support text indexes for Queryable Encryption:
    • Add mongoc_client_encryption_encrypt_text_opts_t.
    • Substring, prefix and suffix search are in preview and should be used for experimental workloads only. These features are unstable and their security is not guaranteed until released as Generally Available (GA). The GA version of these features may not be backwards compatible with the preview version
  • Support TLS v1.3 with Windows Secure Channel.

Fixed

  • Do not try to resume when iterating a closed change stream.

Notes

  • Raise required version of libmongocrypt from 1.13.0 to 1.15.0 to support In-Use Encryption (corresponds to the CMake option: ENABLE_CLIENT_SIDE_ENCRYPTION).

Deprecated

  • Support for macOS 11 (EOL since September 2023) and macOS 12 (EOL since September 2024).

Removed

  • Support for Visual Studio 2015 (EOL since October 2025). Use Visual Studio 2017 or newer.

Links:

Thanks to everyone who contributed to this release.

  • Kevin Albertson
  • Connor MacDonald
  • Julia Garland
  • Ezra Chung
  • Adrian Dole
  • Colby Pike
  • Roberto C. Sánchez
  • shubhamhii

View the full release notes at https://github.com/mongodb/mongo-c-driver/releases/tag/2.2.0.


@github-actions github-actions bot added the bump-formula-pr PR was created using `brew bump-formula-pr` label Nov 25, 2025
@botantony botantony force-pushed the bump-mongo-c-driver-2.2.0 branch from ffa96e9 to 442b895 Compare November 25, 2025 14:31
@github-actions
Copy link
Contributor

🤖 An automated task has requested bottles to be published to this PR.

Caution

Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch.

@github-actions
Copy link
Contributor

⚠️ Bottle publish failed.

@chenrui333
Copy link
Member

/usr/bin/docker exec  0d8adea8d13ca7f8ff6be60988880aa7df1c7656988d26efe1d75942fda601e0 sh -c "cat /etc/*release | grep ^ID"
Error: connect ECONNREFUSED 140.82.112.5:443

@github-actions
Copy link
Contributor

🤖 An automated task has requested bottles to be published to this PR.

Caution

Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Nov 25, 2025
@BrewTestBot BrewTestBot added this pull request to the merge queue Nov 25, 2025
Merged via the queue into main with commit 35cfe41 Nov 25, 2025
22 checks passed
@BrewTestBot BrewTestBot deleted the bump-mongo-c-driver-2.2.0 branch November 25, 2025 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants