Skip to content

Commit c1c74c1

Browse files
committed
1.2.1 release
Signed-off-by: A. Jesse Jiryu Davis <[email protected]>
1 parent 66a5eb6 commit c1c74c1

File tree

9 files changed

+58
-25
lines changed

9 files changed

+58
-25
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ set (SOURCE_DIR "${PROJECT_SOURCE_DIR}/")
2020
set (MONGOC_MAJOR_VERSION 1)
2121
set (MONGOC_MINOR_VERSION 2)
2222
set (MONGOC_MICRO_VERSION 1)
23-
set (MONGOC_PRERELEASE_VERSION dev)
23+
set (MONGOC_PRERELEASE_VERSION )
2424
set (MONGOC_API_VERSION 1.0)
25-
set (MONGOC_VERSION 1.2.1-dev)
25+
set (MONGOC_VERSION 1.2.1)
2626

2727
set (CPACK_RESOURCE_FILE_LICENSE "${SOURCE_DIR}/COPYING")
2828
set (CPACK_PACKAGE_VERSION_MAJOR ${MONGOC_MAJOR_VERSION})

NEWS

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,31 @@
11
mongo-c-driver 1.2.1
22
====================
33

4-
* mongoc_client_set_ssl_opts and mongoc_client_pool_set_ssl_opts now configure
5-
the driver to require an SSL connection to the server, even if "ssl=true" is
6-
omitted from the MongoDB URI. Before, SSL options were ignored unless
7-
"ssl=true" was included in the URI.
4+
It is my pleasure to announce to you the MongoDB C driver 1.2.1.
5+
6+
This release includes critical bugfixes for SSL connections with
7+
mongoc_client_pool_t, and for Unix domain socket connections.
8+
9+
The documentation is updated for a change introduced in version 1.2.0:
10+
mongoc_client_set_ssl_opts and mongoc_client_pool_set_ssl_opts now configure
11+
the driver to require an SSL connection to the server, even if "ssl=true" is
12+
omitted from the MongoDB URI. Before, SSL options were ignored unless
13+
"ssl=true" was included in the URI.
14+
15+
The build instructions are improved, including the steps to build with OpenSSL
16+
on OS X El Capitan. Build errors and warnings are fixed for clang in gnu99
17+
mode and MinGW.
18+
19+
Thanks to everyone who contributed to this version of libmongoc.
20+
21+
* A. Jesse Jiryu Davis
22+
* Hannes Magnusson
23+
* Tamas Nagy
24+
25+
Peace,
26+
27+
A. Jesse Jiryu Davis
28+
829

930
mongo-c-driver 1.2.0
1031
====================

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ the `mongodb-user list`_ to ask for help. Please include in your email all of th
4141
information:
4242

4343
- The version of the driver you are trying to build (branch or tag).
44-
- Examples: master branch, 1.2.0 tag
44+
- Examples: master branch, 1.2.1 tag
4545
- Host OS, version, and architecture.
4646
- Examples: Windows 8 64-bit x86, Ubuntu 12.04 32-bit x86, OS X Mavericks
4747
- C Compiler and version.
@@ -56,7 +56,7 @@ communications to ascertain the necessary details, delaying a useful response.
5656
Here is a made-up example of a help request that provides the relevant
5757
information:
5858

59-
Hello, I'm trying to build the C driver with SSL, from mongo-c-driver-1.2.0.tar.gz. I'm on Ubuntu
59+
Hello, I'm trying to build the C driver with SSL, from mongo-c-driver-1.2.1.tar.gz. I'm on Ubuntu
6060
14.04, 64-bit Intel, with gcc 4.8.2. I run configure like::
6161

6262
$ ./configure --enable-sasl=yes

build/autotools/Versions.m4

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
m4_define([mongoc_major_version], [1])
22
m4_define([mongoc_minor_version], [2])
33
m4_define([mongoc_micro_version], [1])
4-
m4_define([mongoc_prerelease_version], [dev])
4+
m4_define([mongoc_prerelease_version], [])
55

66
m4_define(
77
[mongoc_version],
@@ -12,13 +12,13 @@ m4_define(
1212

1313
# bump up by 1 for every micro release with no API changes, otherwise
1414
# set to 0. after release, bump up by 1
15-
m4_define([mongoc_interface_age], [0])
15+
m4_define([mongoc_interface_age], [1])
1616
m4_define([mongoc_binary_age], [m4_eval(100 * mongoc_minor_version + mongoc_micro_version)])
1717

1818
m4_define([lt_current], [m4_eval(100 * mongoc_minor_version + mongoc_micro_version - mongoc_interface_age)])
1919
m4_define([lt_revision], [mongoc_interface_age])
2020
m4_define([lt_age], [m4_eval(mongoc_binary_age - mongoc_interface_age)])
2121

22-
m4_define([libbson_required_version], [1.2.0])
22+
m4_define([libbson_required_version], [1.2.1])
2323

2424
m4_define([sasl_required_version], [2.1.6])

build/rpm/mongo-c-driver.spec

Lines changed: 8 additions & 2 deletions
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.2.0
4+
%define DriverVersion 1.2.1
55
%define BsonName libbson
6-
%define BsonVersion 1.2.0
6+
%define BsonVersion 1.2.1
77
Name: %{DriverName}
88
Version: %{DriverVersion}
99
Release: 1%{?dist}
@@ -116,6 +116,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
116116

117117

118118
%changelog -n %{DriverName}
119+
* Thu October 29 2015 A. Jesse Jiryu Davis <[email protected]> - 1.2.1-1
120+
- Release 1.2.1
121+
119122
* Tue October 13 2015 A. Jesse Jiryu Davis <[email protected]> - 1.2.0-1
120123
- Release 1.2.0
121124

@@ -199,6 +202,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
199202

200203

201204
%changelog -n %{BsonName}
205+
* Thu October 29 2015 A. Jesse Jiryu Davis <[email protected]> - 1.2.1-1
206+
- Release 1.2.1
207+
202208
* Tue October 13 2015 A. Jesse Jiryu Davis <[email protected]> - 1.2.0-1
203209
- Release 1.2.0
204210

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
mongo-c-driver (1.2.1-0) unstable; urgency=low
2+
3+
* Release 1.2.1
4+
5+
-- A. Jesse Jiryu Davis <[email protected]> Thu, 29 October 2015 12:00:00 -0400
6+
17
mongo-c-driver (1.2.0-0) unstable; urgency=low
28

39
* Release 1.2.0

doc/installing.page

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@
6767
<section id="unix-build">
6868
<title>Building from a release tarball</title>
6969
<p>Unless you intend on contributing to the mongo-c-driver, you will want to build from a release tarball.</p>
70-
<p>The most recent release of libmongoc is 1.2.0 and can be <link href="https://github.com/mongodb/mongo-c-driver/releases/download/1.2.0/mongo-c-driver-1.2.0.tar.gz">downloaded here</link>. The following snippet will download and extract the driver, and configure it:</p>
70+
<p>The most recent release of libmongoc is 1.2.1 and can be <link href="https://github.com/mongodb/mongo-c-driver/releases/download/1.2.1/mongo-c-driver-1.2.1.tar.gz">downloaded here</link>. The following snippet will download and extract the driver, and configure it:</p>
7171

7272
<screen>
73-
$ wget https://github.com/mongodb/mongo-c-driver/releases/download/1.2.0/mongo-c-driver-1.2.0.tar.gz
74-
$ tar xzf mongo-c-driver-1.2.0.tar.gz
75-
$ cd mongo-c-driver-1.2.0
73+
$ wget https://github.com/mongodb/mongo-c-driver/releases/download/1.2.1/mongo-c-driver-1.2.1.tar.gz
74+
$ tar xzf mongo-c-driver-1.2.1.tar.gz
75+
$ cd mongo-c-driver-1.2.1
7676
$ ./configure
7777
</screen>
7878
<p>If <code>configure</code> completed successfully, you'll see something like the following describing your build configuration.</p>
@@ -140,9 +140,9 @@ $ export CPPFLAGS="-I/usr/local/opt/openssl/include"</screen>
140140
<title>Building on OS X</title>
141141
<p>Download the latest release tarball:</p>
142142
<screen>
143-
$ curl -LO https://github.com/mongodb/mongo-c-driver/releases/download/1.2.0/mongo-c-driver-1.2.0.tar.gz
144-
$ tar xzf mongo-c-driver-1.2.0.tar.gz
145-
$ cd mongo-c-driver-1.2.0</screen>
143+
$ curl -LO https://github.com/mongodb/mongo-c-driver/releases/download/1.2.1/mongo-c-driver-1.2.1.tar.gz
144+
$ tar xzf mongo-c-driver-1.2.1.tar.gz
145+
$ cd mongo-c-driver-1.2.1</screen>
146146
<p>Build and install the driver:</p>
147147
<screen>
148148
$ ./configure
@@ -166,7 +166,7 @@ $ make man html</screen>
166166

167167
<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>
168168

169-
<screen>cd mongo-c-driver-1.2.0\src\libbson
169+
<screen>cd mongo-c-driver-1.2.1\src\libbson
170170
cmake -G "Visual Studio 10 Win64" "-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver"</screen>
171171

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

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

184-
<screen>cd mongo-c-driver-1.2.0-rc0
184+
<screen>cd mongo-c-driver-1.2.1
185185
cmake -G "Visual Studio 2010 Win64" "-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver" "-DBSON_ROOT_DIR=C:\mongo-c-driver"
186186
msbuild.exe ALL_BUILD.vcxproj
187187
msbuild.exe INSTALL.vcxproj</screen>

doc/mongoc_version.page

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
#define MONGOC_MAJOR_VERSION (1)
1919
#define MONGOC_MINOR_VERSION (2)
20-
#define MONGOC_MICRO_VERSION (0)
21-
#define MONGOC_VERSION_S "1.2.0"
20+
#define MONGOC_MICRO_VERSION (1)
21+
#define MONGOC_VERSION_S "1.2.1"
2222
#define MONGOC_VERSION_HEX ((1 << 24) | (0 << 16) | (0 << 8) | 0)
2323
#define MONGOC_CHECK_VERSION(major, minor, micro)
2424
]]></screen>

0 commit comments

Comments
 (0)