MongoDB C Driver 1.18.0 Released

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

libbson

Features:

  • Add BSON to JSON encoder that limits encoded string length.
  • Support parsing $uuid into a binary UUID.
  • Relax validation for insert and replace documents to support fields containing dots and dollars.

Improvements:

  • Add trailing space after base64 JSON field for consistency.

libmongoc

Features:

  • Introduces support to select an API version when connecting to a MongoDB instance.
  • Supports Azure and Google Cloud Platform as Key Management Service (KMS) providers in Client-Side Field Level Encryption (CSFLE).
  • Support “let” option in aggregate command.
  • Support time series collections.
  • Relax validation for insert and replace documents to support fields containing dots and dollars.
  • Expose the reason operations fail document validation.

Bug fixes:

  • Forward opts from mongoc_gridfs_bucket_find to underlying find operation.
  • Fixes a possible hang when a limited size client pool is waiting for a client to become available in mongoc_client_pool_pop.

Improvements

  • Deprecate API containing deprecated terminology.
  • Use “hello” command for monitoring servers.

Links:

Thanks to everyone who contributed to this release.

  • Kevin Albertson
  • Roberto C. Sánchez
  • Andreas Braun
  • Clyde Bazile
  • Benjamin Rewis
  • Jeremy Mikola
  • Andrew Witten
  • Samantha Ritter
  • Fermín Galán Márquez
  • David Carlier
  • Colby Pike
  • Josh Weinstein
  • Pierre Mickael Gonzalo
  • Richard Donkin
  • David Korczynski
  • Tim Gates
2 Likes