github mongodb/mongo-c-driver 1.29.0
mongo-c-driver 1.29.0

20 hours ago

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

libbson

Deprecated:

  • bson_string_t and associated functions are deprecated and planned for removal in a future major release.
  • Compiling with BSON_MEMCHECK defined is deprecated.
  • bson_in_range_* and bson_cmp_* functions.
  • bson_atomic_* and bson_thrd_yield functions.
  • bson_as_json and bson_array_as_json are deprecated due to producing non-portable Legacy Extended JSON. Prefer Canonical Extended JSON or Relaxed Extended JSON for portability. To continue using Legacy Extended JSON, use bson_as_legacy_extended_json and bson_array_as_legacy_extended_json.

Fixes:

  • Fix Relaxed Extended JSON encoding of dates after year 9999.

Improvements:

  • Improve performance of bson_utf8_escape_for_json

libmongoc

Improvements:

  • Retry KMS requests on transient errors.

Platform Support:

  • Support for Visual Studio 2013 is dropped.

Deprecated:

  • mongoc_client_command is deprecated and planned for removal in a future release. Use mongoc_client_command_simple instead.
  • mongoc_database_command is deprecated and planned for removal in a future release. Use mongoc_database_command_simple instead.
  • mongoc_collection_command is deprecated and planned for removal in a future release. Use mongoc_collection_command_simple instead.

Notes:

  • Raise required version of libmongocrypt to 1.12.0 to support In-Use Encryption (corresponds to the CMake option: ENABLE_CLIENT_SIDE_ENCRYPTION).
  • A future minor release will raise the minimum supported MongoDB Server version from 4.0 to 4.2. This is in accordance with MongoDB Software Lifecycle Schedules. Support for MongoDB Server 4.0 will be dropped in a future release!

Links:

Thanks to everyone who contributed to this release.

  • Kevin Albertson
  • Ezra Chung
  • Micah Scott
  • Adrian Dole
  • Andreas Braun
  • Joshua Siegel

Don't miss a new mongo-c-driver release

NewReleases is sending notifications on new releases.