Skip to content

Releases: mongodb/mongo-c-driver

mongo-c-driver 1.7.0

09 Aug 16:23
1.7.0
494e4bb
Compare
Choose a tag to compare

It is my please to announce mongo-c-driver 1.7.0.

New features and bug fixes:

  • CMake build now installs .pc files for programs that link to libmongoc using
    pkg-config. Both the CMake and Autotools build systems now install .cmake
    files for programs that link to libmongoc using CMake. Linking to libmongoc
    statically or dynamically is now much more convenient. See the new tutorial
    section "Include and link libmongoc in your C program".
  • New CMake option ENABLE_STATIC can be ON, OFF, or AUTO (the default)
  • Minimum required CMake version has been increased to 3.1.
  • CMake remains experimental on non-Windows platforms and issues a warning now
  • Support for wire compression.
    • Support for snappy and zlib. MongoDB 3.4 only supports snappy, while zlib
      support is expected in MongoDB 3.6.
      The enable, configure mongoc like so:
      ./configure --with-snappy --with-zlib
    • New functions: mongoc_uri_get_compressors & mongoc_uri_set_compressors, to
      get and set compressor configuration on mongoc_uri_t
    • Added support for comma seperated "compressors" connection string option (e.g.
      mongodb://localhost/?compressors=snappy,zlib)
    • Added support for configuring zlib compression level in the connection string
      (e.g. mongodb://localhost/?compressors=zlib&zlibcompressionlevel=8)
  • Now requires the use of CMake config files for libbson to build libmongoc
    with CMake
  • Added pkg-config support for libressl.
  • New function mongoc_uri_set_auth_mechanism to update the authentication
    mechanism of a mongoc_uri_t after it is created from a string.
  • New function mongoc_bulk_operation_insert_with_opts provides immediate
    error checking.
  • New function mongoc_uri_new_with_error provides a way to parse a connection
    string, and retrieve the failure reason, if any.
  • Support for MongoDB Connection String specification
    • All connection string options are now represented by MONGOC_URI_xxx macros
    • Paths to Unix Domain Sockets must be url encoded
    • Repeated options now issue warnings
    • Special characters in username, password and other values must be url encoded
    • Unsupported connection string options now issue warnings
    • Boolean values can now be represented as true/yes/y/t/1 and false/no/n/f/0.
    • Case is now preserved in Unix domain paths.
  • New function mongoc_cursor_error_document provides access to server's error
    reply if a query or command fails.
  • New function mongoc_write_concern_is_default determines whether any write
    concern options have been set, and mongoc_read_concern_is_default checks if
    read concern options are set.
  • mongoc_gridfs_find_one_with_opts optimized to use limit 1.

Thanks to everyone who contributed to the development of this release.

  • Hannes Magnusson
  • A. Jesse Jiryu Davis
  • David Golden
  • Jeremy Mikola
  • Bernard Spil
  • Aleksander Melnikov
  • Adam Seering
  • Remi Collet

Peace,
-- A. Jesse Jiryu Davis

mongo-c-driver 1.6.3

23 May 17:25
1.6.3
77424df
Compare
Choose a tag to compare

It is my pleasure to announce mongo-c-driver 1.6.3. This release fixes two bugs
in the TLS layer that interfered with connections to MongoDB Atlas:

  • mongoc_client_pool_t did not apply all TLS options to pooled connections
  • SNI wasn't provided when allow_invalid_hostname is set

Thanks to everyone who contributed to the development of this release.

  • Hannes Magnusson

Peace,
-- A. Jesse Jiryu Davis

mongo-c-driver 1.6.2

27 Mar 18:39
1.6.2
1436e46
Compare
Choose a tag to compare

It is my pleasure to announce mongo-c-driver 1.6.2. This release further
improves HP-UX compatibility, especially when building with CMake, adds missing
Windows SSPI files to the distribution tarball, and fixes distribution issues
we introduced when porting the documentation from Mallard to Sphinx.

Thanks to everyone who contributed to the development of this release.

  • A. Jesse Jiryu Davis
  • Aleksander Melnikov

Peace,
-- A. Jesse Jiryu Davis

mongo-c-driver 1.6.1

07 Mar 13:45
1.6.1
7522d03
Compare
Choose a tag to compare

It is my pleasure to announce mongo-c-driver 1.6.1. This is a bugfix release:

  • Correct the rules to parse localThresholdMS option from the MongoDB URI.
  • Prevent crash in mongoc_cursor_destroy if "query" or "filter" are invalid.
  • Include a file, mongoc-cluster-sspi.c, that had been omitted from the
    release archive.
  • Fix logic bugs in mongoc_bulk_operation_t validation code.

Thanks to everyone who contributed to the development of this release.

  • A. Jesse Jiryu Davis
  • Jeremy Mikola
  • Remi Collet

Peace,
-- A. Jesse Jiryu Davis

mongo-c-driver 1.5.5

05 Mar 19:38
1.5.5
789c349
Compare
Choose a tag to compare

It is my pleasure to announce mongo-c-driver 1.5.5. This release fixes bugs
parsing the localThresholdMS option from the MongoDB URI, and a crash in
mongoc_cursor_destroy if "query" or "filter" are invalid. Thanks to Jeremy
Mikola.

Peace,
-- A. Jesse Jiryu Davis

mongo-c-driver 1.6.0

02 Feb 02:00
1.6.0
4ed97bb
Compare
Choose a tag to compare

It is my please to announce mongo-c-driver 1.6.0.

New features and bug fixes:

  • Enterprise authentication on Windows now uses the native GSSAPI library;
    Cyrus SASL is no longer required for enterprise auth on Windows.
  • BSON documents are more thoroughly validated before insert or update.
  • New function mongoc_uri_set_mechanism_properties to replace all the
    authMechanismProperties on an existing URI.
  • mongoc_uri_get_mechanism_properties asserts its inputs are not NULL.
  • For consistency with other MongoDB drivers, mongoc_collection_save is
    deprecated in favor of mongoc_collection_insert or mongoc_collection_update.
  • The driver is now built and continuously tested with MinGW-W64 on Windows.
  • Experimental support for HPUX.
  • The correct operation ids are now passed to Command Monitoring callbacks.
  • Fix a crash if the driver couldn't connect to the server to create an index.
  • The documentation is ported from Mallard XML to ReStructured Text, the
    HTML documentation is restyled, and numerous man page syntax errors fixed.
  • Getter functions for options in mongoc_find_and_modify_opts_t:
    • mongoc_find_and_modify_opts_get_bypass_document_validation
    • mongoc_find_and_modify_opts_get_fields
    • mongoc_find_and_modify_opts_get_flags
    • mongoc_find_and_modify_opts_get_max_time_ms
    • mongoc_find_and_modify_opts_get_sort
    • mongoc_find_and_modify_opts_get_update
  • All public functions now have the __cdecl calling convention on Windows.

Thanks to everyone who contributed to the development of this release.

  • A. Jesse Jiryu Davis
  • Hannes Magnusson
  • Aleksander Melnikov
  • Jeroen Ooms
  • Brian McCarthy
  • Jonathan Wang
  • Peter Beckman
  • Remi Collet
  • Rockford Wei
  • Alexey Ponomarev
  • Christopher Wang
  • David Golden
  • Jeremy Mikola

Peace,
-- A. Jesse Jiryu Davis

mongo-c-driver 1.6.0-rc0

30 Jan 22:16
1.6.0-rc0
3adf9b7
Compare
Choose a tag to compare
Pre-release

It is my please to announce mongo-c-driver 1.6.0-rc0.

New features and bug fixes:

  • Enterprise authentication on Windows now uses the native GSSAPI library;
    Cyrus SASL is no longer required for enterprise auth on Windows.
  • BSON documents are more thoroughly validated before insert or update.
  • New function mongoc_uri_set_mechanism_properties to replace all the
    authMechanismProperties on an existing URI.
  • mongoc_uri_get_mechanism_properties asserts its inputs are not NULL.
  • For consistency with other MongoDB drivers, mongoc_collection_save is
    deprecated in favor of mongoc_collection_insert or mongoc_collection_update.
  • The driver is now built and continuously tested with MinGW-W64 on Windows.
  • Experimental support for HPUX.
  • The correct operation ids are now passed to Command Monitoring callbacks.
  • Fix a crash if the driver couldn't connect to the server to create an index.
  • The documentation is ported from Mallard XML to ReStructured Text, the
    HTML documentation is restyled, and numerous man page syntax errors fixed.
  • Getter functions for options in mongoc_find_and_modify_opts_t:
    • mongoc_find_and_modify_opts_get_bypass_document_validation
    • mongoc_find_and_modify_opts_get_fields
    • mongoc_find_and_modify_opts_get_flags
    • mongoc_find_and_modify_opts_get_max_time_ms
    • mongoc_find_and_modify_opts_get_sort
    • mongoc_find_and_modify_opts_get_update

Thanks to everyone who contributed to the development of this release.

  • A. Jesse Jiryu Davis
  • Hannes Magnusson
  • Aleksander Melnikov
  • Jeroen Ooms
  • Brian McCarthy
  • Jonathan Wang
  • Peter Beckman
  • Remi Collet
  • Rockford Wei
  • Alexey Ponomarev
  • Christopher Wang
  • David Golden
  • Jeremy Mikola

Peace,
-- A. Jesse Jiryu Davis

mongo-c-driver 1.5.4

30 Jan 14:58
1.5.4
88db71c
Compare
Choose a tag to compare

It is my pleasure to announce mongo-c-driver 1.5.4. This release fixes an error
in cursor iteration when a readConcern is set. Thanks to Jeremy Mikola and
Hannes Magnusson.

Peace,
-- A. Jesse Jiryu Davis

mongo-c-driver 1.5.3

11 Jan 21:37
1.5.3
60126ee
Compare
Choose a tag to compare

This release fixes a bug that prevented connecting to IPv4-only MongoDB servers
by hostname.

https://jira.mongodb.org/browse/CDRIVER-1988

The driver has reverted to its 1.5.1 behavior: it connects to MongoDB over IPv6
if given an IPv6 connection string like "mongodb://[::1]", and requires an IPv4
connection when given a hostname like "mongodb://localhost".

Peace,

A. Jesse Jiryu Davis

mongo-c-driver 1.5.2

10 Jan 19:32
Compare
Choose a tag to compare

Update: this release has been removed due to a blocker bug, CDRIVER-1988.

It is my pleasure to announce mongo-c-driver 1.5.2.

Thanks to everyone who contributed to the development of this release.

New bug fixes:

Thanks to everyone who contributed to the development of this release.

  • Hannes Magnusson
  • A. Jesse Jiryu Davis
  • Alexey Ponomarev
  • Peter Beckman
  • Rockford Wei

Peace,

--Hannes Magnusson