Skip to content

Commit 495cd3f

Browse files
committed
1.2.0 Release
Signed-off-by: A. Jesse Jiryu Davis <[email protected]>
1 parent 4495830 commit 495cd3f

File tree

7 files changed

+31
-19
lines changed

7 files changed

+31
-19
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 0)
23-
set (MONGOC_PRERELEASE_VERSION dev)
23+
set (MONGOC_PRERELEASE_VERSION )
2424
set (MONGOC_API_VERSION 1.0)
25-
set (MONGOC_VERSION 1.2.0-dev)
25+
set (MONGOC_VERSION 1.2.0)
2626

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

README.rst

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

4646
- The version of the driver you are trying to build (branch or tag).
47-
- Examples: master branch, 1.1.11 tag
47+
- Examples: master branch, 1.2.0 tag
4848
- Host OS, version, and architecture.
4949
- Examples: Windows 8 64-bit x86, Ubuntu 12.04 32-bit x86, OS X Mavericks
5050
- C Compiler and version.
@@ -59,7 +59,7 @@ communications to ascertain the necessary details, delaying a useful response.
5959
Here is a made-up example of a help request that provides the relevant
6060
information:
6161

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

6565
$ ./configure --enable-sasl=yes
@@ -92,13 +92,13 @@ Building from Release Tarball
9292
Unless you intend on contributing to the mongo-c-driver, you will want to build
9393
from a release tarball.
9494

95-
The most current release is 1.1.11 which you can download here.
96-
`mongo-c-driver-1.1.11.tar.gz <https://github.com/mongodb/mongo-c-driver/releases/download/1.1.11/mongo-c-driver-1.1.11.tar.gz>`_.
95+
The most current release is 1.2.0 which you can download here.
96+
`mongo-c-driver-1.2.0.tar.gz <https://github.com/mongodb/mongo-c-driver/releases/download/1.2.0/mongo-c-driver-1.2.0.tar.gz>`_.
9797

9898
To build on UNIX-like systems, do the following::
9999

100-
$ tar xzf mongo-c-driver-1.1.11.tar.gz
101-
$ cd mongo-c-driver-1.1.11
100+
$ tar xzf mongo-c-driver-1.2.0.tar.gz
101+
$ cd mongo-c-driver-1.2.0
102102
$ ./configure
103103
$ make
104104
$ sudo make install
@@ -109,7 +109,7 @@ To see all of the options available to you during configuration, run::
109109

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

112-
cd mongo-c-driver-1.1.11
112+
cd mongo-c-driver-1.2.0
113113
cd src\libbson
114114
cmake -DCMAKE_INSTALL_PREFIX=C:\usr -G "Visual Studio 10 Win64" .
115115
msbuild.exe ALL_BUILD.vcxproj

build/autotools/Versions.m4

Lines changed: 2 additions & 2 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], [0])
4-
m4_define([mongoc_prerelease_version], [dev])
4+
m4_define([mongoc_prerelease_version], [])
55

66
m4_define(
77
[mongoc_version],
@@ -19,6 +19,6 @@ m4_define([lt_current], [m4_eval(100 * mongoc_minor_version + mongoc_micro_versi
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-rc0])
22+
m4_define([libbson_required_version], [1.2.0])
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-dev
4+
%define DriverVersion 1.2.0
55
%define BsonName libbson
6-
%define BsonVersion 1.2.0-dev
6+
%define BsonVersion 1.2.0
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+
* Tue October 13 2015 A. Jesse Jiryu Davis <[email protected]> - 1.2.0-1
120+
- Release 1.2.0
121+
119122
* Wed September 23 2015 A. Jesse Jiryu Davis <[email protected]> - 1.1.11-1
120123
- Release 1.1.11
121124

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

197200

198201
%changelog -n %{BsonName}
202+
* Tue October 13 2015 A. Jesse Jiryu Davis <[email protected]> - 1.2.0-1
203+
- Release 1.2.0
204+
199205
* Wed September 23 2015 A. Jesse Jiryu Davis <[email protected]> - 1.1.11-1
200206
- Release 1.1.11
201207

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.0-0) unstable; urgency=low
2+
3+
* Release 1.2.0
4+
5+
-- A. Jesse Jiryu Davis <[email protected]> Tue, 13 October 2015 12:00:00 -0400
6+
17
mongo-c-driver (1.1.11-0) unstable; urgency=low
28

39
* Release 1.1.11

doc/installing.page

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@
5757

5858
<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>
5959

60-
<p>The most recent release of libmongoc is 1.1.11 and can be <link href="https://github.com/mongodb/mongo-c-driver/releases/download/1.1.11/mongo-c-driver-1.1.11.tar.gz">downloaded here</link>. The following snippet will download and extract the current release of the driver.</p>
60+
<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 current release of the driver.</p>
6161

62-
<screen><output style="prompt">$ </output><input>wget https://github.com/mongodb/mongo-c-driver/releases/download/1.1.11/mongo-c-driver-1.1.11.tar.gz</input>
63-
<output style="prompt">$ </output><input>tar -xzf mongo-c-driver-1.1.11.tar.gz</input>
64-
<output style="prompt">$ </output><input>cd mongo-c-driver-1.1.11/</input></screen>
62+
<screen><output style="prompt">$ </output><input>wget https://github.com/mongodb/mongo-c-driver/releases/download/1.2.0/mongo-c-driver-1.2.0.tar.gz</input>
63+
<output style="prompt">$ </output><input>tar -xzf mongo-c-driver-1.2.0.tar.gz</input>
64+
<output style="prompt">$ </output><input>cd mongo-c-driver-1.2.0/</input></screen>
6565

6666
<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>
6767

@@ -135,7 +135,7 @@ Install man pages : yes
135135

136136
<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>
137137

138-
<screen>cd mongo-c-driver-1.1.11\src\libbson
138+
<screen>cd mongo-c-driver-1.2.0\src\libbson
139139
cmake -G "Visual Studio 10 Win64" "-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver"</screen>
140140

141141
<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>

doc/mongoc_version.page

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#define MONGOC_MAJOR_VERSION (1)
1919
#define MONGOC_MINOR_VERSION (2)
2020
#define MONGOC_MICRO_VERSION (0)
21-
#define MONGOC_VERSION_S "1.2.0-dev"
21+
#define MONGOC_VERSION_S "1.2.0"
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)