Announcing 1.30.3 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
Fixes:
- Fix CMake configure error on macOS with CMake 4.
New Features:
-
In anticipation of the 2.0 release of mongo-c-driver, new CMake packages and
imported targets have been defined (for bothbsonandmongoc). To import
bsonwith the new names, callfind_packagefor thebsonpackage. The new
imported targets are namedbson::static,bson::shared, andbson::bson
(which points to either the static or the shared library, depending on an
import-time configuration option).The new package and target names will remain unchanged when upgrading to the
2.0 release, allowing consumers to support both major versions without
modifying their CMake project. The current imported target names will be
removed from the 2.0 release, and should not be used for
forward-compatibility.
libmongoc
New Features:
-
In anticipation of the 2.0 release of mongo-c-driver, new CMake packages and
imported targets have been defined (for bothbsonandmongoc). To import
mongocwith the new names, callfind_packagefor themongocpackage. The
new imported targets are namedmongoc::static,mongoc::shared, and
mongoc::mongoc(which points to either the static or the shared library,
depending on an import-time configuration option).The new package and target names will remain unchanged when upgrading to the
2.0 release, allowing consumers to support both major versions without
modifying their CMake project. The current imported target names will be
removed from the 2.0 release, and should not be used for
forward-compatibility.Programs that link to BSON libraries directly should also use the new target
namesbson::static,bson::shared, orbson::bson.
Links:
Thanks to everyone who contributed to this release.
- Kevin Albertson
- Ezra Chung
- Colby Pike