Skip to content

Commit 30bdc2d

Browse files
author
Christian Hergert
committed
Release mongo-c-driver 0.96.0.
1 parent aa246ec commit 30bdc2d

9 files changed

+71
-28
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ include(FindBSON REQUIRED)
1212
set (SOURCE_DIR "${PROJECT_SOURCE_DIR}/")
1313

1414
set (MONGOC_MAJOR_VERSION 0)
15-
set (MONGOC_MINOR_VERSION 94)
16-
set (MONGOC_MICRO_VERSION 3)
15+
set (MONGOC_MINOR_VERSION 96)
16+
set (MONGOC_MICRO_VERSION 0)
1717
set (MONGOC_API_VERSION 1.0)
18-
set (MONGOC_VERSION 0.94.3)
18+
set (MONGOC_VERSION 0.96.0)
1919

2020
set (CPACK_RESOURCE_FILE_LICENSE "${SOURCE_DIR}/COPYING")
2121
set (CPACK_PACKAGE_VERSION_MAJOR ${MONGOC_MAJOR_VERSION})

NEWS

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,43 @@
1+
mongo-c-driver 0.96.0
2+
=====================
3+
4+
It's that time again, time for another mongo-c-driver release!
5+
6+
This release includes much new documentation, which can be found at
7+
http://docs.mongodb.org/ecosystem/drivers/c/.
8+
9+
Additionally, this release improves support for various exotic systems.
10+
Solaris 10 is supported much better on SPARC and x86_64 based systems.
11+
12+
Some workarounds for mixed-mode sharded-clusters have been added to improve
13+
resiliency when rolling upgrades are performed.
14+
15+
Build improvements have been added to help us detect SASL and SSL
16+
implementations on platforms that do not support pkg-config. This should
17+
simplify building for some of you.
18+
19+
We've added some more logging to SASL authentication to help debug
20+
authentication failures.
21+
22+
A bug causing an abort() when SSL is used and a server is down has been fixed.
23+
24+
We've renamed various _delete() functions to _remove() to provide consistency
25+
with other MongoDB drivers.
26+
27+
You can now specify SSL options for client pools.
28+
29+
-D_REENTRANT is always defined now on Solaris to help with errno detection.
30+
This may not have been done before if using a non-GCC platform with pthreads.
31+
32+
A bug was fixed where timeouts could have been 1000x longer than expected
33+
due to failure to convert from microseconds to milliseconds.
34+
35+
A bug was fixed with authentication in sharded cluster and replica set
36+
scenarios.
37+
38+
Happy Hacking!
39+
40+
141
mongo-c-driver 0.94.2
242
=====================
343

README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ Building from Release Tarball
5252
Unless you intend on contributing to the mongo-c-driver, you will want to build
5353
from a release tarball.
5454

55-
The most current release is 0.94.2 which you can download here.
56-
`mongo-c-driver-0.94.2.tar.gz <https://github.com/mongodb/mongo-c-driver/releases/download/0.94.2/mongo-c-driver-0.94.2.tar.gz>`_.
55+
The most current release is 0.96.0 which you can download here.
56+
`mongo-c-driver-0.96.0.tar.gz <https://github.com/mongodb/mongo-c-driver/releases/download/0.96.0/mongo-c-driver-0.96.0.tar.gz>`_.
5757

5858
To build on UNIX-like systems, do the following::
5959

60-
$ tar xzf mongo-c-driver-0.94.2.tar.gz
61-
$ cd mongo-c-driver-0.94.2
60+
$ tar xzf mongo-c-driver-0.96.0.tar.gz
61+
$ cd mongo-c-driver-0.96.0
6262
$ ./configure
6363
$ make
6464
$ sudo make install
@@ -69,7 +69,7 @@ To see all of the options available to you during configuration, run::
6969

7070
To build on Windows Vista or newer with Visual Studio 2010, do the following::
7171

72-
cd mongo-c-driver-0.94.2
72+
cd mongo-c-driver-0.96.0
7373
cd src\libbson
7474
cmake -DCMAKE_INSTALL_PREFIX=C:\usr -G "Visual Studio 10 Win64" .
7575
msbuild.exe ALL_BUILD.vcxproj

build/autotools/Versions.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
m4_define([mongoc_major_version], [0])
2-
m4_define([mongoc_minor_version], [94])
3-
m4_define([mongoc_micro_version], [3])
2+
m4_define([mongoc_minor_version], [96])
3+
m4_define([mongoc_micro_version], [0])
44
m4_define([mongoc_version], [mongoc_major_version.mongoc_minor_version.mongoc_micro_version])
55

66
# bump up by 1 for every micro release with no API changes, otherwise

build/rpm/mongo-c-driver.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Name: mongo-c-driver
2-
Version: 0.94.3
2+
Version: 0.96.0
33
Release: 1%{?dist}
44
Summary: BSON library
55

66
License: ASL 2.0
77
URL: https://github.com/mongodb/mongo-c-driver
8-
Source0: https://github.com/mongodb/mongo-c-driver/releases/download/0.94.3/mongo-c-driver-0.94.3.tar.gz
8+
Source0: https://github.com/mongodb/mongo-c-driver/releases/download/0.96.0/mongo-c-driver-0.96.0.tar.gz
99
BuildRequires: automake
1010
BuildRequires: libbson-devel
1111
BuildRequires: cyrus-sasl-devel
@@ -61,5 +61,8 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
6161
%{_bindir}/mongoc-stat
6262

6363
%changelog
64+
* Fri May 30 2014 Christian Hergert <[email protected]> - 0.96.0-1
65+
- Release 0.96.0
66+
6467
* Tue May 06 2014 Christian Hergert <[email protected]> - 0.94.3-1
6568
- Initial package

doc/aggregate.page

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<section id="requirements">
1212
<title>Requirements</title>
1313

14-
<p><link href="https://mongodb.org">MongoDB</link>, version 2.2.0 or later. <link href="https://github.com/mongodb/mongo-c-driver">MongoDB C driver</link>, version 0.94.4 or later.</p>
14+
<p><link href="https://mongodb.org">MongoDB</link>, version 2.2.0 or later. <link href="https://github.com/mongodb/mongo-c-driver">MongoDB C driver</link>, version 0.96.0 or later.</p>
1515
<p>Let's check if everything is installed.</p>
1616
<p>Use the following command to load zips.json data set into mongod instance:</p>
1717

doc/installing.page

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@
5858

5959
<p>The following instructions are for UNIX-like systems such as GNU/Linux, FreeBSD, and Solaris. To build on Windows, see the instructions for <link xref="installing#building-windows">Building on Windows</link>.</p>
6060

61-
<p>The most recent release of the mongo-c-driver is 0.94.3 and can be <link href="https://github.com/mongodb/mongo-c-driver/releases/download/0.94.3/mongo-c-driver-0.94.3.tar.gz">downloaded here</link>. The following snippet will download and extract the current release of the driver.</p>
61+
<p>The most recent release of the mongo-c-driver is 0.96.0 and can be <link href="https://github.com/mongodb/mongo-c-driver/releases/download/0.96.0/mongo-c-driver-0.96.0.tar.gz">downloaded here</link>. The following snippet will download and extract the current release of the driver.</p>
6262

63-
<screen><output style="prompt">$ </output><input>wget https://github.com/mongodb/mongo-c-driver/releases/download/0.94.3/mongo-c-driver-0.94.3.tar.gz</input>
64-
<output style="prompt">$ </output><input>tar -xzf mongo-c-driver-0.94.3.tar.gz</input>
65-
<output style="prompt">$ </output><input>cd mongo-c-driver-0.94.3/</input></screen>
63+
<screen><output style="prompt">$ </output><input>wget https://github.com/mongodb/mongo-c-driver/releases/download/0.96.0/mongo-c-driver-0.96.0.tar.gz</input>
64+
<output style="prompt">$ </output><input>tar -xzf mongo-c-driver-0.96.0.tar.gz</input>
65+
<output style="prompt">$ </output><input>cd mongo-c-driver-0.96.0/</input></screen>
6666

6767
<p>Minimal dependencies are needed to build the MongoDB C driver. Optionally, if you want Kerberos (GSSAPI) or SSL support, you need to install <code>libsasl2</code> and <code>OpenSSL</code> libraries and development headers respectively.</p>
6868

@@ -132,8 +132,8 @@ Python (experimental) : no
132132
<p>The following commands will download the most recent MongoDB binary release and install it using the <code>pkgadd</code> command on Solaris 10.</p>
133133
<screen><output style="prompt">$ </output><input>bash</input>
134134
<output style="prompt">bash-3.2$ </output><input>export ARCH=`uname -m`</input>
135-
<output style="prompt">bash-3.2$ </output><input>/usr/sfw/bin/wget --no-check-certificate "https://github.com/mongodb/mongo-c-driver/releases/download/0.94.3/MONGOmongo-c-driver-0.94.3.${ARCH}.pkg.tar.gz"</input>
136-
<output style="prompt">bash-3.2$ </output><input>gunzip -c "MONGOmongo-c-driver-0.94.3.${ARCH}.pkg.tar.gz" | tar -xf -</input>
135+
<output style="prompt">bash-3.2$ </output><input>/usr/sfw/bin/wget --no-check-certificate "https://github.com/mongodb/mongo-c-driver/releases/download/0.96.0/MONGOmongo-c-driver-0.96.0.${ARCH}.pkg.tar.gz"</input>
136+
<output style="prompt">bash-3.2$ </output><input>gunzip -c "MONGOmongo-c-driver-0.96.0.${ARCH}.pkg.tar.gz" | tar -xf -</input>
137137
<output style="prompt">bash-3.2$ </output><input>pkgadd -d . MONGOmongo-c-driver</input></screen>
138138

139139
</section>
@@ -145,7 +145,7 @@ Python (experimental) : no
145145

146146
<p>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.</p>
147147

148-
<screen>cd mongo-c-driver-0.94.3\src\libbson
148+
<screen>cd mongo-c-driver-0.96.0\src\libbson
149149
cmake -G "Visual Studio 10 Win64" "-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver"</screen>
150150

151151
<p>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 <code>msbuild.exe</code></p>
@@ -160,7 +160,7 @@ cmake -G "Visual Studio 10 Win64" "-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver"</sc
160160

161161
<p>Now let's do the same for the MongoDB C driver.</p>
162162

163-
<screen>cd mongo-c-driver-0.94.3
163+
<screen>cd mongo-c-driver-0.96.0
164164
cmake -G "Visual Studio 2010 Win64" "-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver" "-DBSON_ROOT_DIR=C:\mongo-c-driver"
165165
msbuild.exe ALL_BUILD.vcxproj
166166
msbuild.exe INSTALL.vcxproj</screen>

doc/mongoc_client_pool_set_ssl_opts.page

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ mongoc_client_pool_set_ssl_opts (mongoc_client_pool_t *pool,
3131

3232
<section id="parameters">
3333
<title>Availability</title>
34-
<p>Since 0.94.4</p>
35-
<p>This feature requires that the MongoDB C driver was compiled with <code>--enable-ssl</code>.</p>
34+
<p>Since 0.96.0</p>
35+
<note style="tip"><p>This feature requires that the MongoDB C driver was compiled with <code>--enable-ssl</code>.</p></note>
3636
</section>
3737

3838
</page>

doc/mongoc_version.page

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@
1616
<screen><![CDATA[#include <mongoc.h>
1717

1818
#define MONGOC_MAJOR_VERSION (0)
19-
#define MONGOC_MINOR_VERSION (94)
20-
#define MONGOC_MICRO_VERSION (2)
21-
#define MONGOC_VERSION_S "0.94.2"
19+
#define MONGOC_MINOR_VERSION (96)
20+
#define MONGOC_MICRO_VERSION (0)
21+
#define MONGOC_VERSION_S "0.96.0"
2222
#define MONGOC_VERSION_HEX ((0 << 24) | (94 << 16) | (2 << 8) | 0)
2323
#define MONGOC_CHECK_VERSION(major, minor, micro)
2424
]]></screen>
2525

2626

2727
<listing>
2828
<title>MongoDB C Driver version check</title>
29-
<desc>Only compile a block on MongoDB C Driver 0.94.2 and newer.</desc>
30-
<code mime="text/x-csrc"><![CDATA[#if MONGOC_CHECK_VERSION(0, 94, 2)
29+
<desc>Only compile a block on MongoDB C Driver 0.96.0 and newer.</desc>
30+
<code mime="text/x-csrc"><![CDATA[#if MONGOC_CHECK_VERSION(0, 96, 0)
3131
static void do_something (void) {
3232
}
3333
#endif]]></code>

0 commit comments

Comments
 (0)