Changelog History
Page 4
-
v1.12.0 Changes
July 18, 2018I'm pleased to announce version 1.12.0 of libbson and libmongoc,
the libraries constituting the MongoDB C Driver.libbson
π It is my pleasure to announce libbson 1.12.0. This release deprecates all
π MD5-related public APIs; they will be removed in the next major release.π Bug fixes:
- Properly handle zero-length BSON binary values
- π Fix crash parsing Base64-encoded data in JSON when using libbson without
libmongoc
libmongoc
It is my pleasure to announce the MongoDB C Driver 1.12.0.
π Features:
- New function mongoc_client_session_in_transaction to check if a multi-
document transaction is started. - π New examples for change streams and transactions, improved guide for
migrating from mongoc_collection_count to mongoc_collection_count_documents
π Bug fixes:
- π Fix occasional crash in sharded queries
- Retry all retryable write concern errors
- mongoc_client_session_commit_transaction sets the correct error label when
the primary is unavailable - mongoc_collection_find_with_opts had prohibited read preference "primary"
in a transaction - mongoc_collection_aggregate had not inherited its mongoc_collection_t's
read preference; only an explicitly provided read preference was used. - π Allow unencoded delimiters in username/password if unambiguous
π Links:
π Thanks to everyone who contributed to this release.
- Roberto C. SΓ‘nchez
- A. Jesse Jiryu Davis
- Kevin Albertson
- Spencer McKenney
- Evgeni Dobranov
- Jeremy Mikola
- εΉ³ζ°Β·ε―»ζ’¦(Pingmin Fenlly Liu)
-
v1.11.0 Changes
June 22, 2018I'm pleased to announce version 1.11.0 of libbson and libmongoc,
the libraries constituting the MongoDB C Driver.libbson
It is my pleasure to announce libbson 1.11.0. This version adds the following
π features and improvements:- All "destroy" functions such as bson_destroy or bson_reader_destroy now
ignore a NULL argument. - Replace MD5 with FNV-1a hash to generate ObjectIds (for FIPs compliance).
π Bug fixes:
- Functions incorrectly marked with the "const" compiler attribute are now
π marked as "pure", fixes build error when link-time optimization is enabled.
libmongoc
π It is my pleasure to announce the MongoDB C Driver 1.11.0. This release adds
π support for MongoDB 4.0 features. It includes the following additions and
π improvements:- Multi-document transactions, see mongoc_client_session_start_transaction
- New function mongoc_error_has_label to check for specific error labels such
as "TransientTransactionError" or "UnknownTransactionCommitResult" in
error replies. - π New functions to subscribe to changes on an entire client or database:
- mongoc_client_watch
- mongoc_database_watch
- π New option for change streams, "startAtOperationTime".
- mongoc_collection_count_with_opts is deprecated for two new functions:
- mongoc_collection_count_documents
- mongoc_collection_estimated_document_count
- π Support for SCRAM-SHA-256 authentication, including support for non-ASCII
passwords using libicu is an optional dependency. - Faster mongoc_database_get_collection_names_with_opts fetches only names,
π not the entire collection metadata.
β Additional changes not specific to MongoDB 4.0:
- All "destroy" functions such as mongoc_collection_destroy now ignore a NULL
argument. - The driver now returns an error if you attempt to use "arrayFilters" in an
β‘οΈ update with a MongoDB server older than 3.6. - β‘οΈ Update functions include a new "upsertedCount" field in the reply document.
- Replace MD5 with FNV-1a hash to generate ObjectIds (for FIPs compliance).
π Bug fixes:
- Functions incorrectly marked with the "const" compiler attribute are now
π marked as "pure", fixes build error when link-time optimization is enabled.
π Links:
π Thanks to everyone who contributed to this release.
- A. Jesse Jiryu Davis
- Kevin Albertson
- Evgeni Dobranov
- Spencer McKenney
- Jeremy Mikola
- Roberto C. SΓ‘nchez
- Remi Collet
- All "destroy" functions such as bson_destroy or bson_reader_destroy now
-
v1.11.0-1
June 26, 2018 -
v1.10.3 Changes
June 19, 2018I'm pleased to announce version 1.10.3 of libbson and libmongoc,
the libraries constituting the MongoDB C Driver.libbson
π No change since 1.10.2; released to keep pace with libmongoc's version.
libmongoc
π It is my pleasure to announce the MongoDB C Driver 1.10.3. This release fixes
π a crash when parsing binary data from JSON if mongoc_init isn't called.π Links: