Skip to content

Releases: mongodb/mongo-c-driver

Mongo-c-driver 1.1.7

09 Jun 21:15
Compare
Choose a tag to compare

mongo-c-driver 1.1.7

It is my pleasure to announce to you the 1.1.7 release of the MongoDB C driver.

This is a patch release with bug fixes:

  • Thread-safe use of Cyrus SASL library.
  • Experimental support for building with CMake and SASL.
  • Faster reconnection to replica set with some hosts down.
  • Crash iterating a cursor after reconnecting to a replica set.
  • Unchecked errors decoding invalid UTF-8 in MongoDB URIs.
  • Fix error reporting from mongoc_client_get_database_names.

Thanks to everyone who contributed to the development of this point release for
libmongoc.

  • A. Jesse Jiryu Davis
  • Jason Carey
  • Hannes Magnusson

Peace,

A. Jesse Jiryu Davis

Mongo-c-driver 1.1.6

18 May 22:10
Compare
Choose a tag to compare

mongo-c-driver 1.1.6

It is my pleasure to announce to you the 1.1.6 release of the MongoDB C driver.

This is a patch release with performance enhancements and bug fixes:

  • mongoc_bulk_operation_execute now coalesces consecutive update operations
    into a single message to a MongoDB 2.6+ server, yielding huge performance
    gains. Same for remove operations. (Inserts were always coalesced.)
  • Large numbers of insert operations are now properly batched according to
    number of documents and total data size.
  • GSSAPI / Kerberos auth now works.
  • The driver no longer tries three times in vain to reconnect to a primary,
    so socketTimeoutMS and connectTimeoutMS now behave closer to what you
    expect for replica sets with down members. A full fix awaits 1.2.0.

I snuck in a feature:

  • mongoc_matcher_t now supports basic subdocument and array matching

Thanks to everyone who contributed to the development of this point release for
libmongoc.

  • A. Jesse Jiryu Davis
  • Jason Carey
  • Kai Mast
  • Matt Cotter

Peace,

A. Jesse Jiryu Davis

Mongo-c-driver 1.1.5

12 May 21:29
Compare
Choose a tag to compare

mongo-c-driver 1.1.5

It is my pleasure to announce to you the 1.1.5 release of the MongoDB C driver.

This is a patch release with performance enhancements and bug fixes:

  • The fsync and j write concern flags now imply acknowledged writes
  • Prevent using fsync or j with conflicting w=0 write concern
  • Obey socket timeout consistently in TLS/SSL mode
  • Return an error promptly after a network hangup in TLS mode
  • Prevent crash using SSL in FIPS mode
  • Always return NULL from mongoc_database_get_collection_names on error
  • Fix version check for GCC 5 and future versions of Clang
  • Fix warnings and errors building on various platforms
  • Add configure flag to enable/disable shared memory performance counters
  • Minor docs improvements and fix links from C Driver docs to Libbson docs

With this release, Libbson abandons the convention that odd-numbered patch
versions indicate unstable releases. We switch to simple semantic versioning:
1.1.5 is a stable release with bug fixes since 1.1.4. During subsequent
development the version will be "1.1.6-dev".

Thanks to everyone who contributed to the development of this point release for
libmongoc.

  • A. Jesse Jiryu Davis
  • Christian Hergert
  • Jason Carey
  • Jeremy Mikola
  • Jeroen Ooms
  • Hannes Magnusson

Enjoy!

-- A. Jesse Jiryu Davis

Mongo-c-driver 1.1.4

01 Apr 18:14
1.1.4
928e4fa
Compare
Choose a tag to compare

mongo-c-driver 1.1.4

It is my pleasure to announce to you the 1.1.4 release of the MongoDB C driver.

This release is a stable release with performance enhancements and bugfixes.

Changes include:

  • Fixed client pool concurrency issues
  • Fixed some scenarios where replica sets would fail to reconnect on primary
    step down.
  • Improved write concern handling
  • Validate port number in URI
  • Various other fixes

Thanks to everyone who contributed to the development of this point release for
libmongoc.

  • Jason Carey
  • Andrew Clayton
  • A. Jesse Jiryu Davis
  • Jeremy Mikola

Enjoy!

-- Jason Carey

Mongo-c-driver 1.1.2

10 Mar 22:12
1.1.2
2991dfb
Compare
Choose a tag to compare

mongo-c-driver 1.1.2

It is my pleasure to announce to you the 1.1.2 release of the MongoDB C driver.

This release is a stable release with performance enhancements and bugfixes.

Changes include:

  • Process connectTimeoutMS cast insensitively
  • Addition of missing trace macros
  • Improvement of internal error messages
  • Fix a segfault in OpenSSL cleanup routines
  • Fix for IPv6 support for replica sets
  • Coalesce small vectorized TLS writes
  • MinGW fixups
  • Fix for a memory leak in get_database_names()
  • Fixes for patching write concern through the bulk api
  • Fix to normalize hostnames in uri parsing
  • Fix for managing connections in the client pool
  • Various other fixes

Thanks to everyone who contributed to the development of this point release for
libmongoc.

  • Andrew Clayton
  • Denis Gladkikh
  • Hannes Magnusson
  • Jason Carey
  • Jeremy Mikola
  • mschoenlaub
  • Samantha Ritter
  • Tyler Brock

Enjoy!

-- Jason Carey

Mongo-c-driver 1.1.0

28 Jan 22:58
1.1.0
57c457d
Compare
Choose a tag to compare

mongo-c-driver 1.1.0

It is my pleasure to announce to you the 1.1.0 release of the MongoDB C driver.

This release is a stable release with additive ABI changes and bugfixes.

The below changes include some carried over from RC0.

Changes include:

  • RC0
    • ABI versioning for 1.1 versus 1.0 symbols
    • additional geo index options
    • authMechanismProperties in URI
    • fixes for OS X Yosemite
    • removal of replica set member limit
    • SCRAM-SHA-1 SASL mechanism
    • updated dependency on libbson 1.1 abi
    • validation for bulk insert
    • various memory leak fixes
  • Fixes to documentation typos
  • "How to Ask For Help" in the README
  • Removed dependency on sasl for PLAIN authentication
  • Use provided username, if available, for X.509 auth
  • Fixed WriteConcern error reporting for some writes
  • Check for closed sockets before attempting RPCs
  • Fixes for gridfs file seek
  • Fixes for mongoc_cursor_clone()
  • Fixes for unix domain socket support
  • Fixes for polling on win32
  • Improved warnings on failure to connect
  • Addition of wired tiger options
  • Fixes for examples

Additions to the ABI include:

  • support for extra option in count
    • mongoc_collection_count_with_opts
  • additional index options
    • mongoc_index_opt_geo_get_default
    • mongoc_index_opt_geo_init
    • mongoc_index_opt_wt_get_default
    • mongoc_index_opt_wt_init
  • rand interface to seed and verify the strong random number generation needed
    by some auth mechanisms
    • mongoc_rand_seed
    • mongoc_rand_add
    • mongoc_rand_status
  • URI additions to support more complicated auth credentials
    • mongoc_uri_get_credentials
    • mongoc_uri_get_mechanism_properties
  • Support for cursor returning metadata crud operations
    • mongoc_client_find_databases
    • mongoc_collection_find_indexes
    • mongoc_database_find_collections
  • Kill cursor supportp
    • mongoc_client_kill_cursor
  • Various get/setters on cursor
    • mongoc_cursor_get_batch_size
    • mongoc_cursor_get_id
    • mongoc_cursor_set_batch_size
  • More socket/stream options
    • mongoc_socket_check_closed
    • mongoc_socket_inet_ntop
    • mongoc_stream_check_closed
    • mongoc_stream_write

Additional Notes:
Existing complex index names may contain a zero instead of a type due to
a bug in mongoc_collection_keys_to_index_string. As a result those indexes may
be hard to drop from the driver as they have a name you would not expect.

Thanks to everyone who contributed to the development of this point release for
libmongoc.

  • Adam Midvidy
  • aherlihy
  • alexeyvo
  • Christian Hergert
  • Hannes Magnusson
  • Jason Carey
  • Jérôme Lebel
  • Jesse Jiryu Davis
  • lloydzhou
  • Mark Benevenuto
  • Paul Melnikow
  • Samantha Ritter
  • Shraya Ramani
  • Spencer Jackson
  • Spencer Jackson
  • Tyler Brock

Enjoy!

-- Jason Carey

1.1.0-rc0

13 Nov 20:30
1.1.0-rc0
96d48e9
Compare
Choose a tag to compare
1.1.0-rc0 Pre-release
Pre-release

mongo-c-driver 1.1.0-rc0

It is my pleasure to announce to you the 1.1.0-rc0 release of the MongoDB C driver.

This release is a release candidate with additive ABI changes and bugfixes.

Changes include:

  • ABI versioning for 1.1 versus 1.0 symbols
  • additional geo index options
  • authMechanismProperties in URI
  • fixes for OS X Yosemite
  • removal of replica set member limit
  • SCRAM-SHA-1 SASL mechanism
  • updated dependency on libbson 1.1 abi
  • validation for bulk insert
  • various memory leak fixes

Additions to the ABI include:

  • support for extra option in count
    • mongoc_collection_count_with_opts
  • extra index and collection info
    • mongoc_collection_get_index_info
    • mongoc_database_get_collection_info
  • additional geo options
    • mongoc_index_opt_geo_get_default
    • mongoc_index_opt_geo_init
  • rand interface to seed and verify the strong random number generation needed
    by some auth mechanisms
    • mongoc_rand_seed
    • mongoc_rand_add
    • mongoc_rand_status
  • URI additions to support more complicated auth credentials
    • mongoc_uri_get_credentials
    • mongoc_uri_get_mechanism_properties

Additional Notes:
Existing complex index names may contain a zero instead of a type due to
a bug in mongoc_collection_keys_to_index_string. As a result those indexes may
be hard to drop from the driver as they have a name you would not expect.

Thanks to everyone who contributed to the development of this point release for
libmongoc.

  • Adam Midvidy
  • aherlihy
  • alexeyvo
  • Christian Hergert
  • Jason Carey
  • Jérôme Lebel
  • Samantha Ritter
  • Spencer Jackson
  • Tyler Brock

Enjoy!

-- Jason Carey

mongo-c-driver 1.0.2

09 Oct 18:05
1.0.2
a3471e5
Compare
Choose a tag to compare

It is my pleasure to announce to you the 1.0.2 release of the MongoDB C driver.

This release is a minor point release with no ABI changes and mostly small
bugfixes.

Changes include:

  • 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

Thanks to everyone who contributed to the development of this point release for
libmongoc.

  • Adam Midvidy
  • Christian Hergert
  • Denis Gladkikh
  • Jason Carey
  • Jeremy Mikola
  • Jérôme Lebel
  • Tyler Brock
  • Wisdom Omuya

-- Jason Carey

mongo-c-driver 1.0.0

27 Aug 01:19
Compare
Choose a tag to compare

It is my very distinct pleasure to announce to you the 1.0 release of the MongoDB C driver!

This is the culmination of just over a year of work and could not have been done without the help of our wonderful community.

Thanks to everyone who contributed to the development of this driver!

  • Christian Hergert
  • Jason Carey
  • Gary Murakami
  • Christian Heckl
  • Frank Watson Song
  • Hannes Magnusson
  • Jérôme Lebel
  • Kyle Suarez
  • Maga Napanga
  • Michael Kuhn
  • Vincent Giersch
  • essentia44
  • yuqing

Happy Hacking!

-- Christian Hergert

mongo-c-driver 0.98.2

13 Aug 18:48
Compare
Choose a tag to compare

One final step before our journey to 1.0!

This is a relatively small release, adding some features needed for drivers
building on top of the C driver.

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

A special thanks to Hannes Magnusson for patches in this release.

See git shortlog 0.98.0..0.98.2 for a list of all the changes.

-- Christian Hergert