Skip to content
This repository has been archived by the owner on Oct 13, 2020. It is now read-only.

Commit

Permalink
Release 0.98.0!
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Hergert <[email protected]>
  • Loading branch information
Christian Hergert committed Jul 16, 2014
1 parent 6b28795 commit 9abfe2d
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 16 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ include(InstallRequiredSystemLibraries)
set (SOURCE_DIR "${PROJECT_SOURCE_DIR}/")

set (BSON_MAJOR_VERSION 0)
set (BSON_MINOR_VERSION 8)
set (BSON_MICRO_VERSION 5)
set (BSON_MINOR_VERSION 98)
set (BSON_MICRO_VERSION 0)
set (BSON_API_VERSION 1.0)
set (BSON_VERSION 0.8.5)
set (BSON_VERSION 0.98.0)

set (CPACK_RESOURCE_FILE_LICENSE "${SOURCE_DIR}/COPYING")
set (CPACK_PACKAGE_VERSION_MAJOR ${BSON_MAJOR_VERSION})
Expand Down
25 changes: 25 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
Libbson 0.98.0
==============

One more step closer to a 1.0!

This release has a few fixes as we near the finish line of a 1.0 release.
We have bumped the version to 0.98.0 to sync up with MongoDB C driver, which
is the primary consumer of this library.

This release includes a new memory callback vtable to help in embedding
situations that have their own custom allocator such as various language
runtimes.

A few compilation fixes for various C++ compilers have also been included.

A special thanks to:

* Itay Neeman
* Michael Whittaker

Happy Hacking!

-- Christian


Libbson 0.8.4
=============

Expand Down
6 changes: 3 additions & 3 deletions build/autotools/Versions.m4
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
m4_define([bson_major_version], [0])
m4_define([bson_minor_version], [8])
m4_define([bson_micro_version], [5])
m4_define([bson_minor_version], [98])
m4_define([bson_micro_version], [0])
m4_define([bson_version], [bson_major_version.bson_minor_version.bson_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([bson_interface_age], [5])
m4_define([bson_interface_age], [0])
m4_define([bson_binary_age], [m4_eval(100 * bson_minor_version + bson_micro_version)])

m4_define([lt_current], [m4_eval(100 * bson_minor_version + bson_micro_version - bson_interface_age)])
Expand Down
7 changes: 5 additions & 2 deletions build/rpm/libbson.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Name: libbson
Version: 0.8.5
Version: 0.98.0
Release: 1%{?dist}
Summary: BSON library

License: ASL 2.0
URL: https://github.com/mongodb/libbson
Source0: https://github.com/mongodb/libbson/releases/download/0.8.3/libbson-0.8.3.tar.gz
Source0: https://github.com/mongodb/libbson/releases/download/0.98.0/libbson-0.98.0.tar.gz
BuildRequires: automake

%description
Expand Down Expand Up @@ -55,6 +55,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_prefix}/share/man/man3/*

%changelog
* Thu Jul 16 2014 Christian Hergert <[email protected]> - 0.98.0-1
- Bump for 0.98.0.

* Thu Jun 20 2014 Christian Hergert <[email protected]> - 0.8.5-1
- Bump for development builds.

Expand Down
10 changes: 5 additions & 5 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 libbson is 0.8.4 and can be <link href="https://github.com/mongodb/libbson/releases/download/0.8.4/libbson-0.8.4.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 libbson is 0.98.0 and can be <link href="https://github.com/mongodb/libbson/releases/download/0.98.0/libbson-0.98.0.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/libbson/releases/download/0.8.4/libbson-0.8.4.tar.gz</input>
<output style="prompt">$ </output><input>tar -xzf libbson-0.8.4.tar.gz</input>
<output style="prompt">$ </output><input>cd libbson-0.8.4/</input></screen>
<screen><output style="prompt">$ </output><input>wget https://github.com/mongodb/libbson/releases/download/0.98.0/libbson-0.98.0.tar.gz</input>
<output style="prompt">$ </output><input>tar -xzf libbson-0.98.0.tar.gz</input>
<output style="prompt">$ </output><input>cd libbson-0.98.0/</input></screen>

<p>Minimal dependencies are needed to build Libbson. On UNIX-like systems, pthreads (the POSIX threading library) is required.</p>

Expand Down Expand Up @@ -119,7 +119,7 @@ Bindings:

<p>Let's start by generating Visual Studio project files for libbson. The following assumes we are compiling for 64-bit Windows using Visual Studio 2010 Express which can be freely downloaded from Microsoft.</p>

<screen><output style="prompt">&gt; </output><input>cd libbson-0.8.4</input>
<screen><output style="prompt">&gt; </output><input>cd libbson-0.98.0</input>
<output style="prompt">&gt; </output><input>cmake -G "Visual Studio 2010 Win64" "-DCMAKE_INSTALL_PREFIX=C:\libbson"</input>
<output style="prompt">&gt; </output><input>msbuild.exe ALL_BUILD.vcxproj</input>
<output style="prompt">&gt; </output><input>msbuild.exe INSTALL.vcxproj</input></screen>
Expand Down
6 changes: 3 additions & 3 deletions doc/version.page
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
#define BSON_CHECK_VERSION(major, minor, micro)
#define BSON_MAJOR_VERSION 0
#define BSON_MINOR_VERSION 8
#define BSON_MICRO_VERSION 5
#define BSON_VERSION_S "0.8.5"
#define BSON_MINOR_VERSION 98
#define BSON_MICRO_VERSION 0
#define BSON_VERSION_S "0.98.0"
#define BSON_VERSION_HEX (BSON_MAJOR_VERSION << 24 | \
BSON_MINOR_VERSION << 16 | \
Expand Down

0 comments on commit 9abfe2d

Please sign in to comment.