- A variety of fixes for read preference based node selection
- Avoided inclusion of getLastError in 2.6 writeConcern
- Correct handling of pass through params for collection_aggregate
- Improved error reporting in socket connect
- Public MONGOC_DEFAULT_CONNECTTIMEOUTMS
A new libmongoc-priv.so library is installed that does not have symbols
hidden. You can access private headers via the -private.h variants. This
means you will need to recompile your project every time the library is
changed (if you use those private headers, as they are subject to change).
For other minor changes, see commits made since 0.98.0:
https://github.com/mongodb/mongo-c-driver/compare/0.98.0...1.0.0
Changes in 0.98.0:
- This release is primarily a bugfix release and stabilization effort as we
approach 1.0 of the MongoDB C driver.
- This release requires 0.98.0 of Libbson for improvements to the memory
management system. You can now setup custom memory allocators at the
start of the process.
Changes in 0.96.4:
- build/mci.sh script for automatically building Debian packages, RPMs,
and Solaris packaging based on the host operating system.
- Various libbson improvements, now depending on 0.8.4.
- Alignment fixes for Solaris Studio C compiler via libbson.
- Addition of mongoc_gridfs_remove_by_filename() for removing a file from
gridfs by filename.
- client command functions can now take a fully qualified namespace.
- collections can now support names that indicate a command namespace.
- Commands will no longer fail if they do not contain an "ok" field.
- OP_QUERY will now set the slaveOk bit in the wire protocol if
readPreferences are set to non-PRIMARY.
- Various documentation and build fixes.
Changes in 0.96.2
-----------------
* Ensure batchSize is used in cursor GETMORE operations with `aggregate`.
* Ensure enough buffer space is allocated for incoming RPC when buffering
from a stream.
* Require libbson 0.8.2 for more robust `bson_next_power_of_two()` when
using `size_t` and BCON compilation fix with C++.
* Handle cursor id's that are not 64-bit values in response from
`aggregate` command.
* Handle upsert on MongoDB < 2.6 when _id does not contain an `ObjectId`.
* Use 100 for default batchSize in `aggregate` command.
Changes in 0.96.0
-----------------
This release includes much new documentation, which can be found at
http://docs.mongodb.org/ecosystem/drivers/c/.
Additionally, this release improves support for various exotic systems.
Solaris 10 is supported much better on SPARC and x86_64 based systems.
Some workarounds for mixed-mode sharded-clusters have been added to improve
resiliency when rolling upgrades are performed.
Build improvements have been added to help us detect SASL and SSL
implementations on platforms that do not support pkg-config. This should
simplify building for some of you.
We've added some more logging to SASL authentication to help debug
authentication failures.
A bug causing an abort() when SSL is used and a server is down has been fixed.
We've renamed various _delete() functions to _remove() to provide consistency
with other MongoDB drivers.
You can now specify SSL options for client pools.
-D_REENTRANT is always defined now on Solaris to help with errno detection.
This may not have been done before if using a non-GCC platform with pthreads.
A bug was fixed where timeouts could have been 1000x longer than expected
due to failure to convert from microseconds to milliseconds.
A bug was fixed with authentication in sharded cluster and replica set
scenarios.