From 7509c088e3a262553249554b4ec5946e761bc974 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Tue, 4 Mar 2014 23:51:38 -0800 Subject: [PATCH] release: libbson-0.6.0! --- CMakeLists.txt | 6 ++--- NEWS | 53 +++++++++++++++++++++++++++++++++++++ build/autotools/Versions.m4 | 6 ++--- 3 files changed, 59 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c3570b4f..419a722d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) diff --git a/NEWS b/NEWS index 283c9228..482ad745 100644 --- a/NEWS +++ b/NEWS @@ -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 ============= diff --git a/build/autotools/Versions.m4 b/build/autotools/Versions.m4 index 689e22bc..406bfcaa 100644 --- a/build/autotools/Versions.m4 +++ b/build/autotools/Versions.m4 @@ -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)])