Skip to content

Releases: mongodb/mongo-c-driver

mongo-c-driver 1.24.1

21 Jun 12:36
1.24.1
4845bcb
Compare
Choose a tag to compare

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

libbson

No changes since 1.24.0. Version incremented to match the libmongoc version.

libmongoc

Fixes:

* Remove unnecessary assert in bulk API. May result in an abort when creating bulk operations with the `mongoc_bulk_operation_new` API intended for wrapping drivers.

Links:

Thanks to everyone who contributed to this release.

  • Kevin Albertson

mongo-c-driver 1.24.0

20 Jun 13:10
1.24.0
c31219e
Compare
Choose a tag to compare

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

libbson

New Features:

  • Add extended JSON helpers for top-level BSON arrays bson_array_as_canonical_extended_json and bson_array_as_relaxed_extended_json.

Language Standard Support:

  • C89 support has been dropped. C99 is the default tested C standard.

Platform Support:

  • Support for macOS 10.14 will be dropped in an upcoming release.
  • Support for Ubuntu 14.04 will be dropped in an upcoming release.
  • Support for Debian 8.1 will be dropped in an upcoming release.

libmongoc

New Features:

  • Support MongoDB server version 7.0.
  • Support updated Queryable Encryption protocol.
    • Introduces backwards breaking changes to the Queryable Encryption protocol. Using Queryable Encryption now requires MongoDB server version 7.0+.
  • Support new Queryable Encryption features.
    • Add mongoc_client_encryption_create_encrypted_collection to automatically create data encryption keys when creating a new encrypted collection.
  • Support new security features.
    • Add ability to fetch KMS credentials automatically from Azure, GCP, and AWS environments.
    • Support authentication with KMS AWS temporary credentials.
    • Cache fetched AWS credentials.
    • Support AWS IAM Roles for service accounts, EKS in particular.
  • Retry operations if the connection handshake fails.
  • Add index creation helper: mongoc_collection_create_indexes_with_opts.

Fixes:

  • Fix default applied credentials for Kerberos with SSPI on Windows.
  • Fix possible overcounting in Performance Counters used by mongoc-stat.

Language Standard Support:

  • C89 support has been dropped. C99 is the default tested C standard.

Platform Support:

  • Support for macOS 10.14 will be dropped in an upcoming release.
  • Support for Ubuntu 14.04 will be dropped in an upcoming release.
  • Support for Debian 8.1 will be dropped in an upcoming release.

Build Configuration:

  • The ENABLE_BSON configure-time option has been removed. Build scripts that
    used ENABLE_BSON=SYSTEM should be updated to use USE_SYSTEM_LIBBSON=TRUE.
    If the build script needs to support building arbitrary versions of the C
    driver, add both ENABLE_BSON=SYSTEM and USE_SYSTEM_LIBBSON=TRUE.

Links:

Thanks to everyone who contributed to this release.

  • Kevin Albertson
  • Ezra Chung
  • Colby Pike
  • Gil Alon
  • Kyle Kloberdanz
  • Jeremy Mikola
  • Andreas Braun
  • Kondaiah Valagonda
  • Joshua Siegel
  • Roberto C. Sánchez
  • Romain Geissler @ Amadeus
  • bisht2050
  • Adrian Dole
  • Jeroen Ooms
  • Jean-Marc Le Roux
  • gopukrishnasIBM
  • Charles Pritchard

mongo-c-driver 1.23.5

06 Jun 18:15
1.23.5
59cb247
Compare
Choose a tag to compare

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

libbson

No changes since 1.23.3. Version incremented to match the libmongoc version.

libmongoc

Fixes:

  • Fix potential crash due to insufficient memory when allocating performance counters.
  • Fix compilation error on Android platforms due to missing aligned_alloc.
  • Return an error if RewrapManyDataKey is invoked without a provider when a masterKey is given.

Links:

Thanks to everyone who contributed to this release.

  • Kevin Albertson
  • Romain Geissler @ Amadeus

mongo-c-driver 1.23.4

08 May 12:40
1.23.4
ef4a9a0
Compare
Choose a tag to compare

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

libbson

No changes since 1.23.3. Version incremented to match the libmongoc version.

libmongoc

Fixes:

  • Fix possible failure to authenticate with MONGODB-X509 after network error.

Links:

Thanks to everyone who contributed to this release.

  • Andreas Braun
  • Kevin Albertson
  • Kyle Kloberdanz

mongo-c-driver 1.23.3

04 Apr 21:49
Compare
Choose a tag to compare

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

libbson

Fix:

  • Don't use aligned_alloc() on Windows

libmongoc

Fixes:

  • Better handle malformed hello responses
  • Handle connectionId of type double.

Links:

Thanks to everyone who contributed to this release.

  • Kevin Albertson
  • Gil Alon
  • Kondaiah Valagonda
  • Jeroen Ooms

mongo-c-driver 1.23.2

03 Jan 16:01
1.23.2
5f1abae
Compare
Choose a tag to compare

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

libbson

No changes since 1.23.1. Version incremented to match the libmongoc version.

libmongoc

Bug fixes:

  • Fix compile on M1 macOS fails due to undeclared function (getpagesize)

Links:

Thanks to everyone who contributed to this release.

  • Kevin Albertson
  • Kyle Kloberdanz

mongo-c-driver 1.23.1

19 Oct 19:07
Compare
Choose a tag to compare

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

libbson

No changes since 1.23.0. Version incremented to match the libmongoc version.

libmongoc

Bug fixes:

  • Fix connectivity to Atlas Data Lake
  • Fix crash when dropping a malformed Queryable Encryption collection.

Links:

Thanks to everyone who contributed to this release.

  • Andreas Braun
  • Kevin Albertson

mongo-c-driver 1.22.2

19 Oct 23:32
Compare
Choose a tag to compare

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

libbson

Bug fixes:

  • Fix link errors related to atomic operations on RISC-V
  • Fix compile-time errors due to type conflicts on some platforms.

libmongoc

  • Fix connectivity to Atlas Data Lake
    • Additional bugfixes from libbson 1.22.2

Links:

Thanks to everyone who contributed to this release.

  • Andreas Braun
  • Kevin Albertson
  • Roberto C. Sánchez
  • Ezra Chung

mongo-c-driver 1.23.0

31 Aug 13:54
1.23.0
186e39b
Compare
Choose a tag to compare

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

libbson

Improvements:

  • Reducing Warnings of Misaligned Address of Over-Aligned Types

libmongoc

Features:

  • Add on-demand Credentials Callback for CSFLE
  • Support obtaining AWS credentials for CSFLE in the same way as for MONGODB-AWS

Improvements:

  • Reducing Warnings of Misaligned Address of Over-Aligned Types

Bug fixes:

  • Do not spawn mongocryptd if mongo_shared shared library is loaded.

Links:

Thanks to everyone who contributed to this release.

  • Ezra Chung
  • Colby Pike
  • Kevin Albertson
  • Roberto C. Sánchez

mongo-c-driver 1.22.1

02 Aug 18:29
Compare
Choose a tag to compare

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

libbson

No changes since 1.22.0. Version incremented to match the libmongoc version.

libmongoc

Bug fixes:

  • Fix documentation build when using Sphinx 5.0 or newer

  • Update patch release of libmongocrypt to 1.5.2: Fix a potential data
    corruption bug in RewrapManyDataKey when rotating encrypted data encryption
    keys backed by GCP or Azure key services.

    The following conditions will trigger this bug:

    A GCP-backed or Azure-backed data encryption key being rewrapped requires
    fetching an access token for decryption of the data encryption key.

    The result of this bug is that the key material for all data encryption keys
    being rewrapped is replaced by new randomly generated material, destroying
    the original key material.

    To mitigate potential data corruption, upgrade to this version or higher
    before using RewrapManyDataKey to rotate Azure-backed or GCP-backed data
    encryption keys. A backup of the key vault collection should always be taken
    before key rotation.

Other:

  • Update to Fedora 37 for RPM builds
  • Dependency build of libmongocrypt re-uses the libbson of the depending
    libmongoc

Links:

Thanks to everyone who contributed to this release.

  • Ezra Chung
  • Roberto C. Sánchez
  • Kevin Albertson