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

Commit

Permalink
release: libbson-0.6.0!
Browse files Browse the repository at this point in the history
  • Loading branch information
chergert committed Mar 5, 2014
1 parent 102a584 commit 7509c08
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 6 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 5)
set (BSON_MICRO_VERSION 1)
set (BSON_MINOR_VERSION 6)
set (BSON_MICRO_VERSION 0)
set (BSON_API_VERSION 1.0)
set (BSON_VERSION 0.5.1)
set (BSON_VERSION 0.6.0)

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

Many changes have gone into this release!

TL;DR

* C99 types (from C89).
* JSON parsing.
* Lots of Operating System support, including Windows.
* Parallel Test Suite.
* Revamped build system.
* A couple ABI breaks.

First off, 0.6.0 has gone through a significant amount of build system cleanup.
This should simplify using libbson as a submodule for those that wish to do so.
For example, the mongo-c-driver now does this using autotools.

Windows Vista and higher is now supported as a build target through the use of
cmake. See README.md for the instructions. Other platforms should continue to
use autotools.

The test suite has been improved and more tests added. We now generate random
seeds on every run to help catch more errors with additional fuzzing passes.
By default, the test suite will run all tests in parallel with subprocesses.
This should speed up execution of `make test' for contributors.

bson_string_t went through an ABI break to support power-of-two growth.

JSON parsing has been added through the bson_json_reader_t type. You can also
now use bson_init_from_json() for a simplified interface.

Types were revamped to appear to be using C99 types. If C99 types are
available, they will be used. If not, they will be emulated. This means you
can just go on using uint64_t and similar. We even use bool now.

Many functions have been made portable to deal with inconsistencies with Win32.

This release has been tested on the following operating systems:

* RedHat Enterprise 5, 6, and 7 beta.
* CentOS 6.5
* Ubuntu 12.04 LTS
* Fedora 20
* Windows 7
* FreeBSD 10
* DragonFly BSD
* Solaris 11
* SmartOS
* mingw64

Thanks again and enjoy using libbson!

Libbson 0.4.0
=============

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], [5])
m4_define([bson_micro_version], [1])
m4_define([bson_minor_version], [6])
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], [1])
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

0 comments on commit 7509c08

Please sign in to comment.