Skip to content

Commit

Permalink
Release 0.96.4!
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Hergert committed Jun 20, 2014
1 parent 0b5c729 commit d428bff
Show file tree
Hide file tree
Showing 10 changed files with 57 additions and 22 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ set (SOURCE_DIR "${PROJECT_SOURCE_DIR}/")

set (MONGOC_MAJOR_VERSION 0)
set (MONGOC_MINOR_VERSION 96)
set (MONGOC_MICRO_VERSION 3)
set (MONGOC_MICRO_VERSION 4)
set (MONGOC_API_VERSION 1.0)
set (MONGOC_VERSION 0.96.3)
set (MONGOC_VERSION 0.96.4)

set (CPACK_RESOURCE_FILE_LICENSE "${SOURCE_DIR}/COPYING")
set (CPACK_PACKAGE_VERSION_MAJOR ${MONGOC_MAJOR_VERSION})
Expand Down
23 changes: 23 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
mongo-c-driver 0.96.4
=====================

Another incremental feature update and bugfix release!

In this release, you will find the following changes:

* build/mci.sh script for automatically building Debian packages, RPMs, and
Solaris packaging based on the host operating system.
* Various libbson improvements, now depending on 0.8.4.
* Alignment fixes for Solaris Studio C compiler via libbson.
* Addition of mongoc_gridfs_remove_by_filename() for removing a file from
gridfs by filename.
* client command functions can now take a fully qualified namespace.
* collections can now support names that indicate a command namespace.
* Commands will no longer fail if they do not contain an "ok" field.
* OP_QUERY will now set the slaveOk bit in the wire protocol if
* readPreferences are set to non-PRIMARY.
* Various documentation and build fixes.

Thanks again to all the contributors, and happy hacking!


mongo-c-driver 0.96.2
=====================

Expand Down
10 changes: 5 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
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.96.2 which you can download here.
`mongo-c-driver-0.96.2.tar.gz <https://github.com/mongodb/mongo-c-driver/releases/download/0.96.2/mongo-c-driver-0.96.2.tar.gz>`_.
The most current release is 0.96.4 which you can download here.
`mongo-c-driver-0.96.4.tar.gz <https://github.com/mongodb/mongo-c-driver/releases/download/0.96.4/mongo-c-driver-0.96.4.tar.gz>`_.

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

$ tar xzf mongo-c-driver-0.96.2.tar.gz
$ cd mongo-c-driver-0.96.2
$ tar xzf mongo-c-driver-0.96.4.tar.gz
$ cd mongo-c-driver-0.96.4
$ ./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.96.2
cd mongo-c-driver-0.96.4
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
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
m4_define([mongoc_major_version], [0])
m4_define([mongoc_minor_version], [96])
m4_define([mongoc_micro_version], [3])
m4_define([mongoc_micro_version], [4])
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], [3])
m4_define([mongoc_interface_age], [4])
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.8.3])
m4_define([libbson_required_version], [0.8.4])

m4_define([sasl_required_version], [2.1.6])
10 changes: 8 additions & 2 deletions build/rpm/mongo-c-driver.spec
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# norootforbuild

%define DriverName mongo-c-driver
%define DriverVersion 0.96.3
%define DriverVersion 0.96.4
%define BsonName libbson
%define BsonVersion 0.8.3
%define BsonVersion 0.8.4

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


%changelog -n %{DriverName}
* Tue Jun 20 2014 Christian Hergert <christian.hergert@mongodb.com> - 0.96.4-1
- Release of 0.96.4

* Tue Jun 10 2014 Christian Hergert <christian.hergert@mongodb.com> - 0.96.3-1
- Enable automated builds of 0.96.3

Expand All @@ -127,5 +130,8 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'


%changelog -n %{BsonName}
* Tue Jun 20 2014 Christian Hergert <christian.hergert@mongodb.com> - 0.8.4-1
- Release of 0.8.4

* Tue Jun 10 2014 Christian Hergert <christian.hergert@mongodb.com> - 0.8.3-1
- Enable automated builds of 0.8.3
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
mongo-c-driver (0.96.4-0) unstable; urgency=low

* Release of 0.96.4.

-- Christian Hergert <christian.hergert@mongodb.com> Fri, 20 Jun 2014 14:13:38 -0700

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

* Initial release for 0.96.3 development branch.
Expand Down
16 changes: 8 additions & 8 deletions doc/installing.page
Original file line number Diff line number Diff line change
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.96.2 and can be <link href="https://github.com/mongodb/mongo-c-driver/releases/download/0.96.2/mongo-c-driver-0.96.2.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.96.4 and can be <link href="https://github.com/mongodb/mongo-c-driver/releases/download/0.96.4/mongo-c-driver-0.96.4.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.96.2/mongo-c-driver-0.96.2.tar.gz</input>
<output style="prompt">$ </output><input>tar -xzf mongo-c-driver-0.96.2.tar.gz</input>
<output style="prompt">$ </output><input>cd mongo-c-driver-0.96.2/</input></screen>
<screen><output style="prompt">$ </output><input>wget https://github.com/mongodb/mongo-c-driver/releases/download/0.96.4/mongo-c-driver-0.96.4.tar.gz</input>
<output style="prompt">$ </output><input>tar -xzf mongo-c-driver-0.96.4.tar.gz</input>
<output style="prompt">$ </output><input>cd mongo-c-driver-0.96.4/</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.96.2/MONGOmongo-c-driver-0.96.2.${ARCH}.pkg.tar.gz"</input>
<output style="prompt">bash-3.2$ </output><input>gunzip -c "MONGOmongo-c-driver-0.96.2.${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.96.4/MONGOmongo-c-driver-0.96.4.${ARCH}.pkg.tar.gz"</input>
<output style="prompt">bash-3.2$ </output><input>gunzip -c "MONGOmongo-c-driver-0.96.4.${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.96.2\src\libbson
<screen>cd mongo-c-driver-0.96.4\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.96.2
<screen>cd mongo-c-driver-0.96.4
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
2 changes: 1 addition & 1 deletion doc/mongoc_version.page
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#define MONGOC_MAJOR_VERSION (0)
#define MONGOC_MINOR_VERSION (96)
#define MONGOC_MICRO_VERSION (2)
#define MONGOC_VERSION_S "0.96.2"
#define MONGOC_VERSION_S "0.96.4"
#define MONGOC_VERSION_HEX ((0 << 24) | (94 << 16) | (2 << 8) | 0)
#define MONGOC_CHECK_VERSION(major, minor, micro)
]]></screen>
Expand Down
Binary file added mongo-c-driver-0.96.4.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion src/libbson

0 comments on commit d428bff

Please sign in to comment.