Skip to content

Commit 96d48e9

Browse files
committed
1.1.0-rc0 release
Signed-off-by: Jason Carey (hanumantmk) <[email protected]>
1 parent 2b7bb42 commit 96d48e9

File tree

9 files changed

+95
-30
lines changed

9 files changed

+95
-30
lines changed

Diff for: CMakeLists.txt

+3-3
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 1)
15-
set (MONGOC_MINOR_VERSION 0)
16-
set (MONGOC_MICRO_VERSION 3)
15+
set (MONGOC_MINOR_VERSION 1)
16+
set (MONGOC_MICRO_VERSION 0)
1717
set (MONGOC_API_VERSION 1.0)
18-
set (MONGOC_VERSION 1.0.3)
18+
set (MONGOC_VERSION 1.1.0-rc0)
1919

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

Diff for: NEWS

+55-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,61 @@
1-
TODO: Existing complex index names may contain a zero instead of a type due to
1+
mongo-c-driver 1.1.0-rc0
2+
========================
3+
4+
It is my pleasure to announce to you the 1.1.0-rc0 release of the MongoDB C driver.
5+
6+
This release is a release candidate with additive ABI changes and bugfixes.
7+
8+
Changes include:
9+
* ABI versioning for 1.1 versus 1.0 symbols
10+
* additional geo index options
11+
* authMechanismProperties in URI
12+
* fixes for OS X Yosemite
13+
* removal of replica set member limit
14+
* SCRAM-SHA-1 SASL mechanism
15+
* updated dependency on libbson 1.1 abi
16+
* validation for bulk insert
17+
* various memory leak fixes
18+
19+
Additions to the ABI include:
20+
* support for extra option in count
21+
- mongoc_collection_count_with_opts
22+
* extra index and collection info
23+
- mongoc_collection_get_index_info
24+
- mongoc_database_get_collection_info
25+
* additional geo options
26+
- mongoc_index_opt_geo_get_default
27+
- mongoc_index_opt_geo_init
28+
* rand interface to seed and verify the strong random number generation needed
29+
by some auth mechanisms
30+
- mongoc_rand_seed
31+
- mongoc_rand_add
32+
- mongoc_rand_status
33+
* URI additions to support more complicated auth credentials
34+
- mongoc_uri_get_credentials
35+
- mongoc_uri_get_mechanism_properties
36+
37+
Additional Notes:
38+
Existing complex index names may contain a zero instead of a type due to
239
a bug in mongoc_collection_keys_to_index_string. As a result those indexes may
340
be hard to drop from the driver as they have a name you would not expect.
441

5-
-- Ask Tyler if you need more info.
42+
Thanks to everyone who contributed to the development of this point release for
43+
libmongoc.
44+
45+
* Adam Midvidy
46+
* aherlihy
47+
* alexeyvo
48+
* Christian Hergert
49+
* Jason Carey
50+
* Jérôme Lebel
51+
* Samantha Ritter
52+
* Spencer Jackson
53+
* Tyler Brock
54+
55+
56+
Enjoy!
57+
58+
-- Jason Carey
659

760
mongo-c-driver 1.0.2
861
====================

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.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>`_.
56+
The most current release is 1.1.0-rc0 which you can download here.
57+
`mongo-c-driver-1.1.0-rc0.tar.gz <https://github.com/mongodb/mongo-c-driver/releases/download/1.1.0-rc0/mongo-c-driver-1.1.0-rc0.tar.gz>`_.
5858

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

61-
$ tar xzf mongo-c-driver-1.0.2.tar.gz
62-
$ cd mongo-c-driver-1.0.2
61+
$ tar xzf mongo-c-driver-1.1.0-rc0.tar.gz
62+
$ cd mongo-c-driver-1.1.0-rc0
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.2
73+
cd mongo-c-driver-1.1.0-rc0
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

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
m4_define([mongoc_major_version], [1])
2-
m4_define([mongoc_minor_version], [0])
3-
m4_define([mongoc_micro_version], [3])
2+
m4_define([mongoc_minor_version], [1])
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
77
# set to 0. after release, bump up by 1
8-
m4_define([mongoc_interface_age], [3])
8+
m4_define([mongoc_interface_age], [0])
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.0])
15+
m4_define([libbson_required_version], [1.1.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.3
4+
%define DriverVersion 1.1.0-rc0
55
%define BsonName libbson
6-
%define BsonVersion 1.0.3
6+
%define BsonVersion 1.1.0-rc0
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 Nov 13 2014 Jason Carey <[email protected]> - 1.1.0-rc0-1
121+
- Release 1.1.0-rc0.
122+
120123
* Thu Oct 09 2014 Jason Carey <[email protected]> - 1.0.3-1
121124
- Post-release bump for 1.0.3.
122125

@@ -158,6 +161,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
158161

159162

160163
%changelog -n %{BsonName}
164+
* Thu Nov 13 2014 Jason Carey <[email protected]> - 1.1.0-rc0-1
165+
- Release 1.1.0-rc0.
166+
161167
* Thu Oct 09 2014 Jason Carey <[email protected]> - 1.0.3-1
162168
- Post-release bump for 1.0.3.
163169

Diff for: debian/changelog

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
mongo-c-driver (1.1.0-rc0-0) unstable; urgency=low
2+
3+
* Release 1.1.0-rc0
4+
5+
-- Jason Carey <[email protected]> Thu, 13 Nov 2014 13:57:43 -0500
6+
17
mongo-c-driver (1.0.3-0) unstable; urgency=low
28

39
* Post-release bump to 1.0.3.

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.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>
61+
<p>The most recent release of the mongo-c-driver is 1.1.0-rc0 and can be <link href="https://github.com/mongodb/mongo-c-driver/releases/download/1.1.0-rc0/mongo-c-driver-1.1.0-rc0.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.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>
63+
<screen><output style="prompt">$ </output><input>wget https://github.com/mongodb/mongo-c-driver/releases/download/1.1.0-rc0/mongo-c-driver-1.1.0-rc0.tar.gz</input>
64+
<output style="prompt">$ </output><input>tar -xzf mongo-c-driver-1.1.0-rc0.tar.gz</input>
65+
<output style="prompt">$ </output><input>cd mongo-c-driver-1.1.0-rc0/</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.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>
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.1.0-rc0/MONGOmongo-c-driver-1.1.0-rc0.${ARCH}.pkg.tar.gz"</input>
133+
<output style="prompt">bash-3.2$ </output><input>gunzip -c "MONGOmongo-c-driver-1.1.0-rc0.${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.2\src\libbson
145+
<screen>cd mongo-c-driver-1.1.0-rc0\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.2
160+
<screen>cd mongo-c-driver-1.1.0-rc0
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

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

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

0 commit comments

Comments
 (0)