MongoDB C Driver 1.22.0 Released

Announcing 1.22.0 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.


Bug fixes:

  • Fix BSON_ASSERT triggered by invalid JavaScript/JSON.


Bug fixes:

  • Do not auto decrypt before emitting CommandSucceeded events.


  • Use OP_MSG if a server API version is requested.


  • Add server connectionId to command monitoring events.
  • Add support for the comment field to all helpers.
  • Support mongo_shared shared library.
  • Support pre-point-in-time change stream events.
  • Support Queryable Encryption.
  • Support ‘let’ option for multiple CRUD commands.
  • Add Key Management API functions.


Thanks to everyone who contributed to this release.

  • Kevin Albertson
  • Jeremy Mikola
  • Colby Pike
  • Ezra Chung
  • Roberto C. Sánchez
  • Jake Molnar
  • Jesse Williamson
  • Remi Collet
  • MonkeybreadSoftware
1 Like

The C driver 1.22.0 release has a known possible data corruption bug in mongoc_client_encryption_rewrap_many_datakey when using libmongocrypt versions less than 1.5.2. Please upgrade version 1.22.1 or higher.

1 Like

This topic was automatically closed after 90 days. New replies are no longer allowed.