Skip to content

Commit

Permalink
Release 0.98.2!
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Hergert <christian.hergert@mongodb.com>
  • Loading branch information
chergert committed Aug 13, 2014
1 parent c7f1902 commit ae06979
Show file tree
Hide file tree
Showing 8 changed files with 51 additions and 25 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -13,9 +13,9 @@ set (SOURCE_DIR "${PROJECT_SOURCE_DIR}/")

set (MONGOC_MAJOR_VERSION 0)
set (MONGOC_MINOR_VERSION 98)
set (MONGOC_MICRO_VERSION 1)
set (MONGOC_MICRO_VERSION 2)
set (MONGOC_API_VERSION 1.0)
set (MONGOC_VERSION 0.98.1)
set (MONGOC_VERSION 0.98.2)

set (CPACK_RESOURCE_FILE_LICENSE "${SOURCE_DIR}/COPYING")
set (CPACK_PACKAGE_VERSION_MAJOR ${MONGOC_MAJOR_VERSION})
Expand Down
20 changes: 20 additions & 0 deletions NEWS
@@ -1,3 +1,23 @@
mongo-c-driver 0.98.2
=====================

One final step before our journey to 1.0!

This is a relatively small release, adding some features needed for drivers
building on top of the C driver.

A new libmongoc-priv.so library is installed that does not have symbols
hidden. You can access private headers via the -private.h variants. This
means you will need to recompile your project every time the library is
changed (if you use those private headers, as they are subject to change).

A special thanks to Hannes Magnusson for patches in this release.

See `git shortlog 0.98.0..0.98.2` for a list of all the changes.

-- Christian Hergert


mongo-c-driver 0.98.0
=====================

Expand Down
10 changes: 5 additions & 5 deletions README.rst
Expand Up @@ -52,13 +52,13 @@ Building from Release Tarball
Unless you intend on contributing to the mongo-c-driver, you will want to build
from a release tarball.

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

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

$ tar xzf mongo-c-driver-0.98.0.tar.gz
$ cd mongo-c-driver-0.98.0
$ tar xzf mongo-c-driver-0.98.2.tar.gz
$ cd mongo-c-driver-0.98.2
$ ./configure
$ make
$ sudo make install
Expand All @@ -69,7 +69,7 @@ To see all of the options available to you during configuration, run::

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

cd mongo-c-driver-0.98.0
cd mongo-c-driver-0.98.2
cd src\libbson
cmake -DCMAKE_INSTALL_PREFIX=C:\usr -G "Visual Studio 10 Win64" .
msbuild.exe ALL_BUILD.vcxproj
Expand Down
6 changes: 3 additions & 3 deletions build/autotools/Versions.m4
@@ -1,17 +1,17 @@
m4_define([mongoc_major_version], [0])
m4_define([mongoc_minor_version], [98])
m4_define([mongoc_micro_version], [1])
m4_define([mongoc_micro_version], [2])
m4_define([mongoc_version], [mongoc_major_version.mongoc_minor_version.mongoc_micro_version])

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

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

m4_define([libbson_required_version], [0.98.1])
m4_define([libbson_required_version], [0.98.0])

m4_define([sasl_required_version], [2.1.6])
10 changes: 5 additions & 5 deletions build/rpm/mongo-c-driver.spec
@@ -1,9 +1,9 @@
# norootforbuild

%define DriverName mongo-c-driver
%define DriverVersion 0.98.1
%define DriverVersion 0.98.2
%define BsonName libbson
%define BsonVersion 0.98.1
%define BsonVersion 0.98.0

Name: %{DriverName}
Version: %{DriverVersion}
Expand Down Expand Up @@ -114,6 +114,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'


%changelog -n %{DriverName}
* Tue Aug 13 2014 Christian Hergert <christian.hergert@mongodb.com> - 0.98.2-1
- Bump for 0.98.2.

* Tue Jul 17 2014 Christian Hergert <christian.hergert@mongodb.com> - 0.98.1-1
- Bump for development release.

Expand All @@ -140,9 +143,6 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'


%changelog -n %{BsonName}
* Tue Jul 17 2014 Christian Hergert <christian.hergert@mongodb.com> - 0.98.1-1
- Bump for development release.

* Tue Jul 16 2014 Christian Hergert <christian.hergert@mongodb.com> - 0.98.0-1
- Bump for 0.98.0.

Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
@@ -1,3 +1,9 @@
mongo-c-driver (0.98.2-0) unstable; urgency=low

* Release 0.98.2.

-- Christian Hergert <christian.hergert@mongodb.com> Wed, 13 Aug 2014 11:33:09 -0700

mongo-c-driver (0.98.1-0) unstable; urgency=low

* Bump for development releases.
Expand Down
16 changes: 8 additions & 8 deletions doc/installing.page
Expand Up @@ -58,11 +58,11 @@

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

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

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

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

Expand Down Expand Up @@ -132,8 +132,8 @@ Python (experimental) : no
<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>
<screen><output style="prompt">$ </output><input>bash</input>
<output style="prompt">bash-3.2$ </output><input>export ARCH=`uname -m`</input>
<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.0/MONGOmongo-c-driver-0.98.0.${ARCH}.pkg.tar.gz"</input>
<output style="prompt">bash-3.2$ </output><input>gunzip -c "MONGOmongo-c-driver-0.98.0.${ARCH}.pkg.tar.gz" | tar -xf -</input>
<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>
<output style="prompt">bash-3.2$ </output><input>gunzip -c "MONGOmongo-c-driver-0.98.2.${ARCH}.pkg.tar.gz" | tar -xf -</input>
<output style="prompt">bash-3.2$ </output><input>pkgadd -d . MONGOmongo-c-driver</input></screen>

</section>
Expand All @@ -145,7 +145,7 @@ Python (experimental) : no

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

<screen>cd mongo-c-driver-0.98.0\src\libbson
<screen>cd mongo-c-driver-0.98.2\src\libbson
cmake -G "Visual Studio 10 Win64" "-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver"</screen>

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

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

<screen>cd mongo-c-driver-0.98.0
<screen>cd mongo-c-driver-0.98.2
cmake -G "Visual Studio 2010 Win64" "-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver" "-DBSON_ROOT_DIR=C:\mongo-c-driver"
msbuild.exe ALL_BUILD.vcxproj
msbuild.exe INSTALL.vcxproj</screen>
Expand Down
4 changes: 2 additions & 2 deletions doc/mongoc_version.page
Expand Up @@ -17,8 +17,8 @@

#define MONGOC_MAJOR_VERSION (0)
#define MONGOC_MINOR_VERSION (98)
#define MONGOC_MICRO_VERSION (0)
#define MONGOC_VERSION_S "0.98.0"
#define MONGOC_MICRO_VERSION (2)
#define MONGOC_VERSION_S "0.98.2"
#define MONGOC_VERSION_HEX ((0 << 24) | (94 << 16) | (2 << 8) | 0)
#define MONGOC_CHECK_VERSION(major, minor, micro)
]]></screen>
Expand Down

0 comments on commit ae06979

Please sign in to comment.