Skip to content

Commit a3471e5

Browse files
committed
Release 1.0.2
Signed-off-by: Jason Carey (hanumantmk) <[email protected]>
1 parent 2e71f18 commit a3471e5

File tree

7 files changed

+63
-22
lines changed

7 files changed

+63
-22
lines changed

Diff for: NEWS

+29
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
mongo-c-driver 1.0.2
2+
====================
3+
4+
It is my pleasure to announce to you the 1.0.2 release of the MongoDB C driver.
5+
6+
This release is a minor point release with no ABI changes and mostly small
7+
bugfixes.
8+
9+
Changes include:
10+
* A variety of fixes for read preference based node selection
11+
* Avoided inclusion of getLastError in 2.6 writeConcern
12+
* Correct handling of pass through params for collection_aggregate
13+
* Improved error reporting in socket connect
14+
* Public MONGOC_DEFAULT_CONNECTTIMEOUTMS
15+
16+
Thanks to everyone who contributed to the development of this point release for
17+
libmongoc.
18+
19+
* Adam Midvidy
20+
* Christian Hergert
21+
* Denis Gladkikh
22+
* Jason Carey
23+
* Jeremy Mikola
24+
* Jérôme Lebel
25+
* Tyler Brock
26+
* Wisdom Omuya
27+
28+
-- Jason Carey
29+
130
mongo-c-driver 1.0.0
231
====================
332

Diff for: README.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ Building from Release Tarball
5353
Unless you intend on contributing to the mongo-c-driver, you will want to build
5454
from a release tarball.
5555

56-
The most current release is 1.0.0 which you can download here.
57-
`mongo-c-driver-1.0.0.tar.gz <https://github.com/mongodb/mongo-c-driver/releases/download/1.0.0/mongo-c-driver-1.0.0.tar.gz>`_.
56+
The most current release is 1.0.2 which you can download here.
57+
`mongo-c-driver-1.0.2.tar.gz <https://github.com/mongodb/mongo-c-driver/releases/download/1.0.2/mongo-c-driver-1.0.2.tar.gz>`_.
5858

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

61-
$ tar xzf mongo-c-driver-1.0.0.tar.gz
62-
$ cd mongo-c-driver-1.0.0
61+
$ tar xzf mongo-c-driver-1.0.2.tar.gz
62+
$ cd mongo-c-driver-1.0.2
6363
$ ./configure
6464
$ make
6565
$ sudo make install
@@ -70,7 +70,7 @@ To see all of the options available to you during configuration, run::
7070

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

73-
cd mongo-c-driver-1.0.0
73+
cd mongo-c-driver-1.0.2
7474
cd src\libbson
7575
cmake -DCMAKE_INSTALL_PREFIX=C:\usr -G "Visual Studio 10 Win64" .
7676
msbuild.exe ALL_BUILD.vcxproj

Diff for: build/autotools/Versions.m4

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
m4_define([mongoc_major_version], [1])
22
m4_define([mongoc_minor_version], [0])
3-
m4_define([mongoc_micro_version], [1])
3+
m4_define([mongoc_micro_version], [2])
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
77
# set to 0. after release, bump up by 1
8-
m4_define([mongoc_interface_age], [1])
8+
m4_define([mongoc_interface_age], [2])
99
m4_define([mongoc_binary_age], [m4_eval(100 * mongoc_minor_version + mongoc_micro_version)])
1010

1111
m4_define([lt_current], [m4_eval(100 * mongoc_minor_version + mongoc_micro_version - mongoc_interface_age)])
1212
m4_define([lt_revision], [mongoc_interface_age])
1313
m4_define([lt_age], [m4_eval(mongoc_binary_age - mongoc_interface_age)])
1414

15-
m4_define([libbson_required_version], [1.0.1])
15+
m4_define([libbson_required_version], [1.0.0])
1616

1717
m4_define([sasl_required_version], [2.1.6])

Diff for: build/rpm/mongo-c-driver.spec

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# norootforbuild
22

33
%define DriverName mongo-c-driver
4-
%define DriverVersion 1.0.1
4+
%define DriverVersion 1.0.2
55
%define BsonName libbson
6-
%define BsonVersion 1.0.1
6+
%define BsonVersion 1.0.2
77

88
Name: %{DriverName}
99
Version: %{DriverVersion}
@@ -117,6 +117,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
117117

118118

119119
%changelog -n %{DriverName}
120+
* Thu Oct 09 2014 Jason Carey <[email protected]> - 1.0.2-1
121+
- Release 1.0.2.
122+
120123
* Tue Aug 26 2014 Christian Hergert <[email protected]> - 1.0.0-1
121124
- Post-release bump for 1.0.1.
122125

@@ -152,6 +155,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
152155

153156

154157
%changelog -n %{BsonName}
158+
* Thu Oct 09 2014 Jason Carey <[email protected]> - 1.0.2-1
159+
- Release 1.0.2.
160+
155161
* Tue Aug 26 2014 Christian Hergert <[email protected]> - 1.0.0-1
156162
- Post-releases bump for 1.0.1.
157163

Diff for: debian/changelog

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
mongo-c-driver (1.0.2-0) unstable; urgency=low
2+
3+
* Release 1.0.2.
4+
5+
-- Jason Carey <[email protected]> Thu, 09 Oct 2014 09:35:59 -0400
6+
17
mongo-c-driver (1.0.1-0) unstable; urgency=low
28

39
* Post-release bump to 1.0.1.

Diff for: doc/installing.page

+8-8
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 1.0.0 and can be <link href="https://github.com/mongodb/mongo-c-driver/releases/download/1.0.0/mongo-c-driver-1.0.0.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 1.0.2 and can be <link href="https://github.com/mongodb/mongo-c-driver/releases/download/1.0.2/mongo-c-driver-1.0.2.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/1.0.0/mongo-c-driver-1.0.0.tar.gz</input>
64-
<output style="prompt">$ </output><input>tar -xzf mongo-c-driver-1.0.0.tar.gz</input>
65-
<output style="prompt">$ </output><input>cd mongo-c-driver-1.0.0/</input></screen>
63+
<screen><output style="prompt">$ </output><input>wget https://github.com/mongodb/mongo-c-driver/releases/download/1.0.2/mongo-c-driver-1.0.2.tar.gz</input>
64+
<output style="prompt">$ </output><input>tar -xzf mongo-c-driver-1.0.2.tar.gz</input>
65+
<output style="prompt">$ </output><input>cd mongo-c-driver-1.0.2/</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

@@ -129,8 +129,8 @@ Install man pages : yes
129129
<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>
130130
<screen><output style="prompt">$ </output><input>bash</input>
131131
<output style="prompt">bash-3.2$ </output><input>export ARCH=`uname -m`</input>
132-
<output style="prompt">bash-3.2$ </output><input>/usr/sfw/bin/wget --no-check-certificate "https://github.com/mongodb/mongo-c-driver/releases/download/1.0.0/MONGOmongo-c-driver-1.0.0.${ARCH}.pkg.tar.gz"</input>
133-
<output style="prompt">bash-3.2$ </output><input>gunzip -c "MONGOmongo-c-driver-1.0.0.${ARCH}.pkg.tar.gz" | tar -xf -</input>
132+
<output style="prompt">bash-3.2$ </output><input>/usr/sfw/bin/wget --no-check-certificate "https://github.com/mongodb/mongo-c-driver/releases/download/1.0.2/MONGOmongo-c-driver-1.0.2.${ARCH}.pkg.tar.gz"</input>
133+
<output style="prompt">bash-3.2$ </output><input>gunzip -c "MONGOmongo-c-driver-1.0.2.${ARCH}.pkg.tar.gz" | tar -xf -</input>
134134
<output style="prompt">bash-3.2$ </output><input>pkgadd -d . MONGOmongo-c-driver</input></screen>
135135

136136
</section>
@@ -142,7 +142,7 @@ Install man pages : yes
142142

143143
<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>
144144

145-
<screen>cd mongo-c-driver-1.0.0\src\libbson
145+
<screen>cd mongo-c-driver-1.0.2\src\libbson
146146
cmake -G "Visual Studio 10 Win64" "-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver"</screen>
147147

148148
<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>
@@ -157,7 +157,7 @@ cmake -G "Visual Studio 10 Win64" "-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver"</sc
157157

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

160-
<screen>cd mongo-c-driver-1.0.0
160+
<screen>cd mongo-c-driver-1.0.2
161161
cmake -G "Visual Studio 2010 Win64" "-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver" "-DBSON_ROOT_DIR=C:\mongo-c-driver"
162162
msbuild.exe ALL_BUILD.vcxproj
163163
msbuild.exe INSTALL.vcxproj</screen>

Diff for: doc/mongoc_version.page

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717

1818
#define MONGOC_MAJOR_VERSION (1)
1919
#define MONGOC_MINOR_VERSION (0)
20-
#define MONGOC_MICRO_VERSION (0)
21-
#define MONGOC_VERSION_S "1.0.0"
20+
#define MONGOC_MICRO_VERSION (2)
21+
#define MONGOC_VERSION_S "1.0.2"
2222
#define MONGOC_VERSION_HEX ((1 << 24) | (0 << 16) | (0 << 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 1.0.0 and newer.</desc>
30-
<code mime="text/x-csrc"><![CDATA[#if MONGOC_CHECK_VERSION(1, 0, 0)
29+
<desc>Only compile a block on MongoDB C Driver 1.0.2 and newer.</desc>
30+
<code mime="text/x-csrc"><![CDATA[#if MONGOC_CHECK_VERSION(1, 0, 2)
3131
static void do_something (void) {
3232
}
3333
#endif]]></code>

0 commit comments

Comments
 (0)