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

Commit

Permalink
Release 0.8.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Hergert committed Jun 5, 2014
1 parent 1f6194f commit 112516b
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 13 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ set (SOURCE_DIR "${PROJECT_SOURCE_DIR}/")

set (BSON_MAJOR_VERSION 0)
set (BSON_MINOR_VERSION 8)
set (BSON_MICRO_VERSION 1)
set (BSON_MICRO_VERSION 2)
set (BSON_API_VERSION 1.0)
set (BSON_VERSION 0.8.1)
set (BSON_VERSION 0.8.2)

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

A bugfix release is here as a follow up to 0.8.0.

In this release you will find the following changes:

* A fix for BCON when used from C++.
* Change bson_next_power_of_two() to accept size_t. This should not be
an ABI break since it is static inline.

Happy Hacking!


Libbson 0.8.0
=============

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ platform here, we would be happy to hear from you.
* x86_64/amd64
* SPARC
* ARM
* PowerPC

### Supported Compilers

Expand Down
4 changes: 2 additions & 2 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], [1])
m4_define([bson_micro_version], [2])
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], [0])
m4_define([bson_interface_age], [2])
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.0
Version: 0.8.2
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.0/libbson-0.8.0.tar.gz
Source0: https://github.com/mongodb/libbson/releases/download/0.8.2/libbson-0.8.2.tar.gz
BuildRequires: automake

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

%changelog
* Thu Jun 05 2014 Christian Hergert <christian.hergert@mongodb.com> - 0.8.2-1
- Release 0.8.2

* Thu May 29 2014 Christian Hergert <christian.hergert@mongodb.com> - 0.8.0-1
- Release 0.8.0

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.0 and can be <link href="https://github.com/mongodb/libbson/releases/download/0.8.0/libbson-0.8.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 libbson is 0.8.2 and can be <link href="https://github.com/mongodb/libbson/releases/download/0.8.2/libbson-0.8.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/libbson/releases/download/0.8.0/libbson-0.8.0.tar.gz</input>
<output style="prompt">$ </output><input>tar -xzf libbson-0.8.0.tar.gz</input>
<output style="prompt">$ </output><input>cd libbson-0.8.0/</input></screen>
<screen><output style="prompt">$ </output><input>wget https://github.com/mongodb/libbson/releases/download/0.8.2/libbson-0.8.2.tar.gz</input>
<output style="prompt">$ </output><input>tar -xzf libbson-0.8.2.tar.gz</input>
<output style="prompt">$ </output><input>cd libbson-0.8.2/</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.0</input>
<screen><output style="prompt">&gt; </output><input>cd libbson-0.8.2</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
4 changes: 2 additions & 2 deletions doc/version.page
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#define BSON_MAJOR_VERSION 0
#define BSON_MINOR_VERSION 8
#define BSON_MICRO_VERSION 0
#define BSON_VERSION_S "0.8.1"
#define BSON_MICRO_VERSION 2
#define BSON_VERSION_S "0.8.2"
#define BSON_VERSION_HEX (BSON_MAJOR_VERSION << 24 | \
BSON_MINOR_VERSION << 16 | \
Expand Down

0 comments on commit 112516b

Please sign in to comment.