Skip to content

Releases: mongodb/mongo-c-driver

mongo-c-driver 0.96.4

20 Jun 21:53
Compare
Choose a tag to compare

Another incremental feature update and bugfix release!

In this release, you will find the following changes:

  • 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.

Thanks again to all the contributors, and happy hacking!

You will find RPMs for RHEL 6.5 and 7.0 below. Debian packages have been provided for Ubuntu 12.04 LTS.

Solaris SVR4 packages have been provided for Solaris 10 on SPARC.

Update

I've spun up a new version of the tarball to fix building on CentOS 5.

mongo-c-driver 0.96.2

06 Jun 14:17
Compare
Choose a tag to compare

Hot on the heels of 0.96.0 we would like to present mongo-c-driver 0.96.2!

This is primarily a bugfix release. Included in this release are:

  • 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.

Happy Hacking!

Solaris 10 on SPARC

For users of Solaris 10 on SPARC, you can find a SVR4 package below that can be installed with pkgadd.

gunzip -c MONGOmongo-c-driver.0.96.2.sparc.pkg.tar.gz | tar xf -
pkgadd -d . MONGOmongo-c-driver

mongo-c-driver 0.96.0

30 May 22:46
Compare
Choose a tag to compare

It's that time again, time for another mongo-c-driver release!

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.

Happy Hacking!

Solaris 10 on SPARC

For users of Solaris 10 on SPARC, you can find a SVR4 package below that can be installed with pkgadd.

gunzip -c MONGOmongo-c-driver.0.96.0.sparc.pkg.tar.gz | tar xf -
pkgadd -d . MONGOmongo-c-driver

mongo-c-driver 0.94.2

14 Apr 21:12
Compare
Choose a tag to compare

Hot on the heels of 0.94.0 is 0.94.2, a bugfix release.

A bug has been fixed when using TLS streams and large result sets.

In this release, we added support for Sun's C compiler (Sun Pro C) on Solaris. This allows for builds on Solaris 10 with SPARC using the native toolchain.

This release contains a couple of fixes in libbson as well.

Keep those bug reports coming, and as always, Happy Hacking!

mongo-c-driver 0.94.0

04 Apr 20:46
Compare
Choose a tag to compare

The mongo-c-driver team is proud to announce the release of 0.94.0. This release is a followup to the previous release adding more features to be found in MongoDB 2.6.

You will find some new API's, bug fixes, and more documentation.

Under the hood, 0.94.0 uses the new write-commands as part of MongoDB 2.6. This happens automatically when the driver discovers it is communicating with a MongoDB 2.6 capable server. Pre-2.6 servers are still supported and automatically use the legacy wire-protocol.

Additionally, there is now a bulk operation API (See mongoc-bulk-operation.h).

Helpers for common server commands have been added. You can find most of them in mongoc-collection.h.

We've provided pre-built binaries below for Win64 and Solaris 11 x86_64. If you would like binaries made for your platform, just ask!

Thanks to all our wonderful contributors!

Happy Hacking!

mongo-c-driver 0.92.2

17 Mar 20:54
Compare
Choose a tag to compare

Hot on the heels of 0.92.0, a new release with some build fixes for CMake (our build system for Windows) that should help get you all moving forward.

Happy Hacking!

mongo-c-driver 0.92.0

13 Mar 22:59
Compare
Choose a tag to compare

The mongo-c-driver team is proud to announce the release of 0.92.0. This release is the culimation of a few months work and has many bug fixes and new features. It contains over 350 commits from 4 authors since the 0.90.0 release.

The mongo-c-driver release tarballs now contain a bundled copy of libbson. If you do not have libbson installed or the system installed libbson is too old, the bundled copy of libbson will be installed.

  • Revamped build system to simplify installation.
  • Windows Vista and newer support.
  • Various GridFS fixes and features.
  • Kerberos support via cyrus-sasl.
  • Various SSL improvements.
  • Support for Solaris 11, FreeBSD 10, RHEL 5+, and SmartOS.
  • A new client side expression matcher to perform basic query processing. It can perform queries such as {'field': {'$in': [1,2,3]}}. See mongoc_matcher_t for more information.
  • A new socket abstraction for platform independent network sockets.
  • A new mongoc-dump example for how to write a simple mongodump replacement.
  • Counters can use rdtscp instruction on Core iX systems for very fast counters.
  • configure has new options. If in doubt, the defaults are sensible.
    • --enable-coverage=yes|no
    • --enable-debug=yes|no
    • --enable-debug-symbols=yes|no
    • --enable-hardening=yes|no
    • --enable-optimizations=yes|no
    • --enable-ssl=yes|no
    • --enable-sasl=yes|no
    • --enable-tracing=yes|no
    • --with-libbson=auto|system|bundled

mongo-c-driver 0.92.0 requires libbson 0.6.4 or newer.

Happy Hacking!

Libmongoc 0.90.0

05 Dec 01:45
Compare
Choose a tag to compare

Greetings!

This is the initial release of the new Libmongoc. We chose 0.90.0 for the release version to differentiate ourselves from the, now legacy, version of Libmongoc. We will rapidly work towards reaching an API/ABI stable library fit for a 1.0.0 release.

Libmongoc is Apache licensed so it can be embedded in a multitude of scenarios.

The API of 0.90.0 is completely different from the previous versions. We think this allowed us to create a high-quality library that you will enjoy using in your applications.

Many outstanding bugs were closed in the process of creating Libbson 0.90.0. So if you had a pet issue, please take a look to see if it was resolved as part of this effort!

Thanks, and enjoy developing your applications with Libmongoc!