From 30bdc2da6188780633b76ccc1744af6ec65b788b Mon Sep 17 00:00:00 2001
From: Christian Hergert
Date: Fri, 30 May 2014 14:08:25 -0700
Subject: [PATCH] Release mongo-c-driver 0.96.0.
---
CMakeLists.txt | 6 ++--
NEWS | 40 ++++++++++++++++++++++++
README.rst | 10 +++---
build/autotools/Versions.m4 | 4 +--
build/rpm/mongo-c-driver.spec | 7 +++--
doc/aggregate.page | 2 +-
doc/installing.page | 16 +++++-----
doc/mongoc_client_pool_set_ssl_opts.page | 4 +--
doc/mongoc_version.page | 10 +++---
9 files changed, 71 insertions(+), 28 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c7e79f2e0a..ac9ec29c60 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,10 +12,10 @@ include(FindBSON REQUIRED)
set (SOURCE_DIR "${PROJECT_SOURCE_DIR}/")
set (MONGOC_MAJOR_VERSION 0)
-set (MONGOC_MINOR_VERSION 94)
-set (MONGOC_MICRO_VERSION 3)
+set (MONGOC_MINOR_VERSION 96)
+set (MONGOC_MICRO_VERSION 0)
set (MONGOC_API_VERSION 1.0)
-set (MONGOC_VERSION 0.94.3)
+set (MONGOC_VERSION 0.96.0)
set (CPACK_RESOURCE_FILE_LICENSE "${SOURCE_DIR}/COPYING")
set (CPACK_PACKAGE_VERSION_MAJOR ${MONGOC_MAJOR_VERSION})
diff --git a/NEWS b/NEWS
index b25ab579a5..8bf0648527 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,43 @@
+mongo-c-driver 0.96.0
+=====================
+
+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!
+
+
mongo-c-driver 0.94.2
=====================
diff --git a/README.rst b/README.rst
index 8176fd6c3e..03f08824a8 100644
--- a/README.rst
+++ b/README.rst
@@ -52,13 +52,13 @@ Building from Release Tarball
Unless you intend on contributing to the mongo-c-driver, you will want to build
from a release tarball.
-The most current release is 0.94.2 which you can download here.
-`mongo-c-driver-0.94.2.tar.gz `_.
+The most current release is 0.96.0 which you can download here.
+`mongo-c-driver-0.96.0.tar.gz `_.
To build on UNIX-like systems, do the following::
- $ tar xzf mongo-c-driver-0.94.2.tar.gz
- $ cd mongo-c-driver-0.94.2
+ $ tar xzf mongo-c-driver-0.96.0.tar.gz
+ $ cd mongo-c-driver-0.96.0
$ ./configure
$ make
$ sudo make install
@@ -69,7 +69,7 @@ To see all of the options available to you during configuration, run::
To build on Windows Vista or newer with Visual Studio 2010, do the following::
- cd mongo-c-driver-0.94.2
+ cd mongo-c-driver-0.96.0
cd src\libbson
cmake -DCMAKE_INSTALL_PREFIX=C:\usr -G "Visual Studio 10 Win64" .
msbuild.exe ALL_BUILD.vcxproj
diff --git a/build/autotools/Versions.m4 b/build/autotools/Versions.m4
index f76f95db39..5796a9ac52 100644
--- a/build/autotools/Versions.m4
+++ b/build/autotools/Versions.m4
@@ -1,6 +1,6 @@
m4_define([mongoc_major_version], [0])
-m4_define([mongoc_minor_version], [94])
-m4_define([mongoc_micro_version], [3])
+m4_define([mongoc_minor_version], [96])
+m4_define([mongoc_micro_version], [0])
m4_define([mongoc_version], [mongoc_major_version.mongoc_minor_version.mongoc_micro_version])
# bump up by 1 for every micro release with no API changes, otherwise
diff --git a/build/rpm/mongo-c-driver.spec b/build/rpm/mongo-c-driver.spec
index 5c3d76dc7a..6aeae4f967 100644
--- a/build/rpm/mongo-c-driver.spec
+++ b/build/rpm/mongo-c-driver.spec
@@ -1,11 +1,11 @@
Name: mongo-c-driver
-Version: 0.94.3
+Version: 0.96.0
Release: 1%{?dist}
Summary: BSON library
License: ASL 2.0
URL: https://github.com/mongodb/mongo-c-driver
-Source0: https://github.com/mongodb/mongo-c-driver/releases/download/0.94.3/mongo-c-driver-0.94.3.tar.gz
+Source0: https://github.com/mongodb/mongo-c-driver/releases/download/0.96.0/mongo-c-driver-0.96.0.tar.gz
BuildRequires: automake
BuildRequires: libbson-devel
BuildRequires: cyrus-sasl-devel
@@ -61,5 +61,8 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_bindir}/mongoc-stat
%changelog
+* Fri May 30 2014 Christian Hergert - 0.96.0-1
+- Release 0.96.0
+
* Tue May 06 2014 Christian Hergert - 0.94.3-1
- Initial package
diff --git a/doc/aggregate.page b/doc/aggregate.page
index 51402345f7..b20e5a0a89 100644
--- a/doc/aggregate.page
+++ b/doc/aggregate.page
@@ -11,7 +11,7 @@
Requirements
-
MongoDB, version 2.2.0 or later. MongoDB C driver, version 0.94.4 or later.
+
MongoDB, version 2.2.0 or later. MongoDB C driver, version 0.96.0 or later.
Let's check if everything is installed.
Use the following command to load zips.json data set into mongod instance:
The following instructions are for UNIX-like systems such as GNU/Linux, FreeBSD, and Solaris. To build on Windows, see the instructions for Building on Windows.
-
The most recent release of the mongo-c-driver is 0.94.3 and can be downloaded here. The following snippet will download and extract the current release of the driver.
+
The most recent release of the mongo-c-driver is 0.96.0 and can be downloaded here. The following snippet will download and extract the current release of the driver.
Minimal dependencies are needed to build the MongoDB C driver. Optionally, if you want Kerberos (GSSAPI) or SSL support, you need to install libsasl2 and OpenSSL libraries and development headers respectively.
@@ -132,8 +132,8 @@ Python (experimental) : no
The following commands will download the most recent MongoDB binary release and install it using the pkgadd command on Solaris 10.
Let's start by generating Visual Studio project files for libbson, a dependency of the C driver. The following assumes we are compiling for 64-bit Windows using Visual Studio 2010 Express which can be freely downloaded from Microsoft.
- cd mongo-c-driver-0.94.3\src\libbson
+ cd mongo-c-driver-0.96.0\src\libbson
cmake -G "Visual Studio 10 Win64" "-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver"
Now that we have project files generated, we can either open the project in Visual Studio or compile from the command line. Let's build using the command line program msbuild.exe
@@ -160,7 +160,7 @@ cmake -G "Visual Studio 10 Win64" "-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver"Now let's do the same for the MongoDB C driver.
- cd mongo-c-driver-0.94.3
+ cd mongo-c-driver-0.96.0
cmake -G "Visual Studio 2010 Win64" "-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver" "-DBSON_ROOT_DIR=C:\mongo-c-driver"
msbuild.exe ALL_BUILD.vcxproj
msbuild.exe INSTALL.vcxproj
diff --git a/doc/mongoc_client_pool_set_ssl_opts.page b/doc/mongoc_client_pool_set_ssl_opts.page
index 75c9e46b1c..ddf9d3f0a3 100644
--- a/doc/mongoc_client_pool_set_ssl_opts.page
+++ b/doc/mongoc_client_pool_set_ssl_opts.page
@@ -31,8 +31,8 @@ mongoc_client_pool_set_ssl_opts (mongoc_client_pool_t *pool,
Availability
-
Since 0.94.4
-
This feature requires that the MongoDB C driver was compiled with --enable-ssl.
+
Since 0.96.0
+
This feature requires that the MongoDB C driver was compiled with --enable-ssl.
diff --git a/doc/mongoc_version.page b/doc/mongoc_version.page
index 7e40c1e239..e049ed418b 100644
--- a/doc/mongoc_version.page
+++ b/doc/mongoc_version.page
@@ -16,9 +16,9 @@
#define MONGOC_MAJOR_VERSION (0)
-#define MONGOC_MINOR_VERSION (94)
-#define MONGOC_MICRO_VERSION (2)
-#define MONGOC_VERSION_S "0.94.2"
+#define MONGOC_MINOR_VERSION (96)
+#define MONGOC_MICRO_VERSION (0)
+#define MONGOC_VERSION_S "0.96.0"
#define MONGOC_VERSION_HEX ((0 << 24) | (94 << 16) | (2 << 8) | 0)
#define MONGOC_CHECK_VERSION(major, minor, micro)
]]>
@@ -26,8 +26,8 @@
MongoDB C Driver version check
- Only compile a block on MongoDB C Driver 0.94.2 and newer.
- Only compile a block on MongoDB C Driver 0.96.0 and newer.
+