diff --git a/CMakeLists.txt b/CMakeLists.txt index e9b4eb12f2..0f0dd24fbe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,10 +12,10 @@ include(FindBSON REQUIRED) set (SOURCE_DIR "${PROJECT_SOURCE_DIR}/") set (MONGOC_MAJOR_VERSION 0) -set (MONGOC_MINOR_VERSION 96) -set (MONGOC_MICRO_VERSION 5) +set (MONGOC_MINOR_VERSION 98) +set (MONGOC_MICRO_VERSION 0) set (MONGOC_API_VERSION 1.0) -set (MONGOC_VERSION 0.96.5) +set (MONGOC_VERSION 0.98.0) set (CPACK_RESOURCE_FILE_LICENSE "${SOURCE_DIR}/COPYING") set (CPACK_PACKAGE_VERSION_MAJOR ${MONGOC_MAJOR_VERSION}) diff --git a/NEWS b/NEWS index 30485a4698..854dd55cb4 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,27 @@ +mongo-c-driver 0.98.0 +===================== + +Another step in the rapidly approaching path to 1.0! + +This release is primarily a bugfix release and stablization effort as we +approach 1.0 of the MongoDB C driver. + +This release requires 0.98.0 of Libbson for improvements to the memory +management system. You can now setup custom memory allocators at the +start of the process. + +This is a RC release that with a few improvements will likely become 1.0. + +A special thanks to the following for patches in this cycle: + + * Kyle Suarez + * yuqing + +See `git shortlog 0.96.4..0.98.0` for a list of all the changes. + +-- Christian Hergert + + mongo-c-driver 0.96.4 ===================== diff --git a/README.rst b/README.rst index 50cc15e6ca..48abc4ae13 100644 --- a/README.rst +++ b/README.rst @@ -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.4 which you can download here. -`mongo-c-driver-0.96.4.tar.gz `_. +The most current release is 0.98.0 which you can download here. +`mongo-c-driver-0.98.0.tar.gz `_. To build on UNIX-like systems, do the following:: - $ tar xzf mongo-c-driver-0.96.4.tar.gz - $ cd mongo-c-driver-0.96.4 + $ tar xzf mongo-c-driver-0.98.0.tar.gz + $ cd mongo-c-driver-0.98.0 $ ./configure $ make $ sudo make install @@ -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.4 + cd mongo-c-driver-0.98.0 cd src\libbson cmake -DCMAKE_INSTALL_PREFIX=C:\usr -G "Visual Studio 10 Win64" . msbuild.exe ALL_BUILD.vcxproj diff --git a/build/autotools/Versions.m4 b/build/autotools/Versions.m4 index b724fbcd5d..7fd4e22a17 100644 --- a/build/autotools/Versions.m4 +++ b/build/autotools/Versions.m4 @@ -1,6 +1,6 @@ m4_define([mongoc_major_version], [0]) -m4_define([mongoc_minor_version], [96]) -m4_define([mongoc_micro_version], [5]) +m4_define([mongoc_minor_version], [98]) +m4_define([mongoc_micro_version], [0]) 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 @@ -12,6 +12,6 @@ m4_define([lt_current], [m4_eval(100 * mongoc_minor_version + mongoc_micro_versi 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.5]) +m4_define([libbson_required_version], [0.98.0]) m4_define([sasl_required_version], [2.1.6]) diff --git a/build/rpm/mongo-c-driver.spec b/build/rpm/mongo-c-driver.spec index d90a36282c..8d4dc04a55 100644 --- a/build/rpm/mongo-c-driver.spec +++ b/build/rpm/mongo-c-driver.spec @@ -1,9 +1,9 @@ # norootforbuild %define DriverName mongo-c-driver -%define DriverVersion 0.96.5 +%define DriverVersion 0.98.0 %define BsonName libbson -%define BsonVersion 0.8.5 +%define BsonVersion 0.98.0 Name: %{DriverName} Version: %{DriverVersion} @@ -113,6 +113,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %changelog -n %{DriverName} +* Tue Jul 16 2014 Christian Hergert - 0.98.0-1 +- Bump for 0.98.0. + * Tue Jun 20 2014 Christian Hergert - 0.96.5-1 - Bump for development releases. @@ -133,6 +136,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %changelog -n %{BsonName} +* Tue Jul 16 2014 Christian Hergert - 0.98.0-1 +- Bump for 0.98.0. + * Tue Jun 20 2014 Christian Hergert - 0.8.5-1 - Bump for development releases. diff --git a/debian/changelog b/debian/changelog index b713943505..a08a47d7cd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +mongo-c-driver (0.98.0-0) unstable; urgency=low + + * Bump for 0.98.0. + + -- Christian Hergert Wed, 16 Jul 2014 14:16:36 -0700 + + mongo-c-driver (0.96.5-0) unstable; urgency=low * Bump for development releases. diff --git a/doc/installing.page b/doc/installing.page index 658e694a7d..665f7b0902 100644 --- a/doc/installing.page +++ b/doc/installing.page @@ -58,11 +58,11 @@

The following instructions are for UNIX-like systems such as GNU/Linux, FreeBSD, and Solaris. To build on Windows, see the instructions for Building on Windows.

-

The most recent release of the mongo-c-driver is 0.96.4 and can be downloaded here. The following snippet will download and extract the current release of the driver.

+

The most recent release of the mongo-c-driver is 0.98.0 and can be downloaded here. The following snippet will download and extract the current release of the driver.

- $ wget https://github.com/mongodb/mongo-c-driver/releases/download/0.96.4/mongo-c-driver-0.96.4.tar.gz -$ tar -xzf mongo-c-driver-0.96.4.tar.gz -$ cd mongo-c-driver-0.96.4/ + $ wget https://github.com/mongodb/mongo-c-driver/releases/download/0.98.0/mongo-c-driver-0.98.0.tar.gz +$ tar -xzf mongo-c-driver-0.98.0.tar.gz +$ cd mongo-c-driver-0.98.0/

Minimal dependencies are needed to build the MongoDB C driver. Optionally, if you want Kerberos (GSSAPI) or SSL support, you need to install libsasl2 and OpenSSL libraries and development headers respectively.

@@ -132,8 +132,8 @@ Python (experimental) : no

The following commands will download the most recent MongoDB binary release and install it using the pkgadd command on Solaris 10.

$ bash bash-3.2$ export ARCH=`uname -m` -bash-3.2$ /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" -bash-3.2$ gunzip -c "MONGOmongo-c-driver-0.96.4.${ARCH}.pkg.tar.gz" | tar -xf - +bash-3.2$ /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" +bash-3.2$ gunzip -c "MONGOmongo-c-driver-0.98.0.${ARCH}.pkg.tar.gz" | tar -xf - bash-3.2$ pkgadd -d . MONGOmongo-c-driver @@ -145,7 +145,7 @@ Python (experimental) : no

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.

- cd mongo-c-driver-0.96.4\src\libbson + cd mongo-c-driver-0.98.0\src\libbson cmake -G "Visual Studio 10 Win64" "-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver"

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 msbuild.exe

@@ -160,7 +160,7 @@ cmake -G "Visual Studio 10 Win64" "-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver"Now let's do the same for the MongoDB C driver.

- cd mongo-c-driver-0.96.4 + cd mongo-c-driver-0.98.0 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 diff --git a/doc/mongoc_version.page b/doc/mongoc_version.page index d59be13ea5..e2f6479457 100644 --- a/doc/mongoc_version.page +++ b/doc/mongoc_version.page @@ -16,9 +16,9 @@ #define MONGOC_MAJOR_VERSION (0) -#define MONGOC_MINOR_VERSION (96) -#define MONGOC_MICRO_VERSION (5) -#define MONGOC_VERSION_S "0.96.5" +#define MONGOC_MINOR_VERSION (98) +#define MONGOC_MICRO_VERSION (0) +#define MONGOC_VERSION_S "0.98.0" #define MONGOC_VERSION_HEX ((0 << 24) | (94 << 16) | (2 << 8) | 0) #define MONGOC_CHECK_VERSION(major, minor, micro) ]]>