Skip to content

Commit e1bf9e0

Browse files
author
Christian Hergert
committed
Release 1.0.0!
Signed-off-by: Christian Hergert <[email protected]>
1 parent 3e28150 commit e1bf9e0

File tree

9 files changed

+74
-35
lines changed

9 files changed

+74
-35
lines changed

Diff for: CMakeLists.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ include(FindBSON REQUIRED)
1111

1212
set (SOURCE_DIR "${PROJECT_SOURCE_DIR}/")
1313

14-
set (MONGOC_MAJOR_VERSION 0)
15-
set (MONGOC_MINOR_VERSION 98)
16-
set (MONGOC_MICRO_VERSION 2)
14+
set (MONGOC_MAJOR_VERSION 1)
15+
set (MONGOC_MINOR_VERSION 0)
16+
set (MONGOC_MICRO_VERSION 0)
1717
set (MONGOC_API_VERSION 1.0)
18-
set (MONGOC_VERSION 0.98.2)
18+
set (MONGOC_VERSION 1.0.0)
1919

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

Diff for: NEWS

+30
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
mongo-c-driver 1.0.0
2+
====================
3+
4+
It is my very distinct pleasure to announce to you the 1.0 release of
5+
the MongoDB C driver!
6+
7+
This is the culmination of just over a year of work and could not have
8+
been done without the help of our wonderful community.
9+
10+
Thanks to everyone who contributed to the development of this driver!
11+
12+
* Christian Hergert
13+
* Jason Carey
14+
* Gary Murakami
15+
* Christian Heckl
16+
* Frank Watson Song
17+
* Hannes Magnusson
18+
* Jérôme Lebel
19+
* Kyle Suarez
20+
* Maga Napanga
21+
* Michael Kuhn
22+
* Vincent Giersch
23+
* essentia44
24+
* yuqing
25+
26+
Happy Hacking!
27+
28+
-- Christian Hergert
29+
30+
131
mongo-c-driver 0.98.2
232
=====================
333

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 0.98.2 which you can download here.
57-
`mongo-c-driver-0.98.2.tar.gz <https://github.com/mongodb/mongo-c-driver/releases/download/0.98.2/mongo-c-driver-0.98.2.tar.gz>`_.
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>`_.
5858

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

61-
$ tar xzf mongo-c-driver-0.98.2.tar.gz
62-
$ cd mongo-c-driver-0.98.2
61+
$ tar xzf mongo-c-driver-1.0.0.tar.gz
62+
$ cd mongo-c-driver-1.0.0
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-0.98.2
73+
cd mongo-c-driver-1.0.0
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

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
m4_define([mongoc_major_version], [0])
2-
m4_define([mongoc_minor_version], [98])
3-
m4_define([mongoc_micro_version], [2])
1+
m4_define([mongoc_major_version], [1])
2+
m4_define([mongoc_minor_version], [0])
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], [2])
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], [0.98.0])
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 0.98.2
4+
%define DriverVersion 1.0.0
55
%define BsonName libbson
6-
%define BsonVersion 0.98.0
6+
%define BsonVersion 1.0.0
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+
* Tue Aug 26 2014 Christian Hergert <[email protected]> - 1.0.0-1
121+
- Release 1.0.0.
122+
120123
* Tue Aug 13 2014 Christian Hergert <[email protected]> - 0.98.2-1
121124
- Bump for 0.98.2.
122125

@@ -146,6 +149,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
146149

147150

148151
%changelog -n %{BsonName}
152+
* Tue Aug 26 2014 Christian Hergert <[email protected]> - 1.0.0-1
153+
- Release 1.0.0.
154+
149155
* Tue Jul 16 2014 Christian Hergert <[email protected]> - 0.98.0-1
150156
- Bump for 0.98.0.
151157

Diff for: debian/changelog

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
mongo-c-driver (1.0.0-0) unstable; urgency=low
2+
3+
* Release 1.0.0.
4+
5+
-- Christian Hergert <[email protected]> Tue, 26 Aug 2014 17:50:46 -0700
6+
17
mongo-c-driver (0.98.2-0) unstable; urgency=low
28

39
* Release 0.98.2.

Diff for: doc/installing.page

+8-11
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.98.2 and can be <link href="https://github.com/mongodb/mongo-c-driver/releases/download/0.98.2/mongo-c-driver-0.98.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.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>
6262

63-
<screen><output style="prompt">$ </output><input>wget https://github.com/mongodb/mongo-c-driver/releases/download/0.98.2/mongo-c-driver-0.98.2.tar.gz</input>
64-
<output style="prompt">$ </output><input>tar -xzf mongo-c-driver-0.98.2.tar.gz</input>
65-
<output style="prompt">$ </output><input>cd mongo-c-driver-0.98.2/</input></screen>
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>
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

@@ -99,9 +99,6 @@ Libbson : bundled
9999
Documentation:
100100
Generate man pages : yes
101101
Install man pages : yes
102-
103-
Bindings:
104-
Python (experimental) : no
105102
</screen>
106103

107104
<p>We can now build the driver with the venerable <code>make</code> program.</p>
@@ -132,8 +129,8 @@ Python (experimental) : no
132129
<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>
133130
<screen><output style="prompt">$ </output><input>bash</input>
134131
<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.98.2/MONGOmongo-c-driver-0.98.2.${ARCH}.pkg.tar.gz"</input>
136-
<output style="prompt">bash-3.2$ </output><input>gunzip -c "MONGOmongo-c-driver-0.98.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.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>
137134
<output style="prompt">bash-3.2$ </output><input>pkgadd -d . MONGOmongo-c-driver</input></screen>
138135

139136
</section>
@@ -145,7 +142,7 @@ Python (experimental) : no
145142

146143
<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>
147144

148-
<screen>cd mongo-c-driver-0.98.2\src\libbson
145+
<screen>cd mongo-c-driver-1.0.0\src\libbson
149146
cmake -G "Visual Studio 10 Win64" "-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver"</screen>
150147

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

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

163-
<screen>cd mongo-c-driver-0.98.2
160+
<screen>cd mongo-c-driver-1.0.0
164161
cmake -G "Visual Studio 2010 Win64" "-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver" "-DBSON_ROOT_DIR=C:\mongo-c-driver"
165162
msbuild.exe ALL_BUILD.vcxproj
166163
msbuild.exe INSTALL.vcxproj</screen>

Diff for: doc/mongoc_version.page

+7-7
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@
1515

1616
<screen><![CDATA[#include <mongoc.h>
1717

18-
#define MONGOC_MAJOR_VERSION (0)
19-
#define MONGOC_MINOR_VERSION (98)
20-
#define MONGOC_MICRO_VERSION (2)
21-
#define MONGOC_VERSION_S "0.98.2"
22-
#define MONGOC_VERSION_HEX ((0 << 24) | (94 << 16) | (2 << 8) | 0)
18+
#define MONGOC_MAJOR_VERSION (1)
19+
#define MONGOC_MINOR_VERSION (0)
20+
#define MONGOC_MICRO_VERSION (0)
21+
#define MONGOC_VERSION_S "1.0.0"
22+
#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 0.96.0 and newer.</desc>
30-
<code mime="text/x-csrc"><![CDATA[#if MONGOC_CHECK_VERSION(0, 96, 0)
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)
3131
static void do_something (void) {
3232
}
3333
#endif]]></code>

Diff for: src/libbson

Submodule libbson updated from ae5c045 to 61a46f0

0 commit comments

Comments
 (0)