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

Releases: mongodb/libbson

Libbson-1.9.5

30 Apr 17:50
1.9.5
7b669a8
Compare
Choose a tag to compare

No change since 1.9.4; released to keep pace with libmongoc's version.

-- A. Jesse Jiryu Davis

Libbson-1.9.4

09 Apr 19:08
1.9.4
3a66a0b
Compare
Choose a tag to compare

It is my pleasure to announce Libbson-1.9.4. This release offers compatibility
with Sphinx 1.7.0 and later.

Peace,
-- A. Jesse Jiryu Davis

Libbson-1.9.3

28 Feb 21:49
1.9.3
84119d6
Compare
Choose a tag to compare

No change since 1.9.2; released to keep pace with libmongoc's version.

-- A. Jesse Jiryu Davis

Libbson-1.9.2

11 Jan 22:05
1.9.2
d2ebd19
Compare
Choose a tag to compare

It is my pleasure to announce Libbson-1.9.2. This release completes reverting a
changed macro definition that broke API compatibility. The revert in 1.9.1 did
not completely fix the BC break. Thanks to Petr Písař for finding and fixing the
mistake.

Peace,
-- A. Jesse Jiryu Davis

Libbson-1.9.1

09 Jan 22:18
1.9.1
ac20e72
Compare
Choose a tag to compare

It is my pleasure to announce Libbson-1.9.1. This release reverts a changed
macro definition that broke API compatibility, and fixes an off-by-one error
in bson_append_regex that resulted in corrupt BSON.

Thanks to everyone who contributed to the development of this release.

  • A. Jesse Jiryu Davis
  • Derick Rethans

Peace,
-- A. Jesse Jiryu Davis

1.9.0

20 Dec 20:06
1.9.0
01f21fe
Compare
Choose a tag to compare

It is my pleasure to announce Libbson-1.9.0.

New features and bugfixes:

  • Fix Autotools syntax for OpenBSD and any platform lacking stdint.h.
  • Fix Android NDK incompatibilities.
  • Fix a one-byte write past the end of a buffer in bson_decimal128_to_string.
  • Avoid reading past the end of a string that contains UTF-8 multibyte NIL.
  • Fix some pedantic warnings in C99 mode.

Thanks to everyone who contributed to the development of this release.

  • A. Jesse Jiryu Davis
  • Kevin Albertson
  • Jean-Marc Le Roux
  • Jeremy Mikola
  • Dimitri Gence
  • Hannes Magnusson

Peace,
-- A. Jesse Jiryu Davis

Libbson-1.8.2

16 Nov 11:17
1.8.2
ca42366
Compare
Choose a tag to compare

No change since 1.8.1; released to keep pace with libmongoc's version.

-- A. Jesse Jiryu Davis

Libbson-1.8.1

11 Oct 23:16
1.8.1
20c7a1a
Compare
Choose a tag to compare

It is my pleasure to announce libbson-1.8.1. This release removes a syntax
error in the configure script that affects some shells, and fixes the encoding
of this NEWS file.

Thanks to everyone who contributed to the development of this release.

  • A. Jesse Jiryu Davis
  • Jeremy Mikola

Peace,
-- A. Jesse Jiryu Davis

Libbson-1.8.0

13 Sep 19:16
1.8.0
72e3131
Compare
Choose a tag to compare

It is my pleasure to announce Libbson-1.8.0.

New features and bugfixes:

  • Make symbols bson_get_major_version, bson_get_minor_version,
    bson_get_micro_version, bson_get_version, and bson_check_version available
    to C++ programs.
  • New CMake option ENABLE_MAINTAINER_FLAGS.
  • Crash iterating over invalid code with scope.

Thanks to everyone who contributed to the development of this release.

  • A. Jesse Jiryu Davis
  • Hannes Magnusson
  • Jeremy Mikola
  • Kevin Albertson
  • Michael Kuhn

Peace,
-- A. Jesse Jiryu Davis

Libbson-1.7.0

09 Aug 15:46
1.7.0
c8157f0
Compare
Choose a tag to compare

It is my pleasure to announce libbson 1.7.0.

  • Changes to JSON encoding and decoding:
    • New functions bson_as_canonical_extended_json and
      bson_as_relaxed_extended_json convert BSON to canonical and relaxed
      extended JSON according to MongoDB Extended JSON Spec.
      Output for the existing bson_as_json function has not been changed.
    • When parsing JSON type wrappers like "$timestamp", any missing or extra
      keys are an error.
    • The JSON format for BSON regular expressions is now "$regularExpression":
      {"pattern": "...", "options": "..."}. The old format {"$regex": "...",
      "$options": "..."} is still parsed.
    • The JSON format for BSON binary elements is now "$binary": {"base64":
      "...", "subType": "..."}. The old format {"$binary": "...", "$type":
      "..."} is still parsed.
    • BSON dates can be parsed from "$date" as an ISO8601 date or "$numberLong"
      as milliseconds since the epoch: "t": {"$date": {"$numberLong": "1234"}}.
      Dates can no longer be formatted as raw integers. bson_as_json writes a
      BSON date after 1970 as "$date" with an ISO8601 string, and dates before
      1970 as negative milliseconds wrapped in "$numberLong".
      bson_as_canonical_extended_json always writes dates with "$numberLong".
      bson_as_relaxed_extended_json always writes dates with "$date".
    • The non-numbers NaN, Infinity, and -Infinity are now recognized (regardless
      of case) when parsing JSON.
  • CMake build now installs .pc files for programs that link to libbson using
    pkg-config. Both the CMake and Autotools build systems now install .cmake
    files for programs that link to libbson using CMake. Linking to libbson
    statically or dynamically is now much more convenient.
  • New CMake option, "ENABLE_STATIC", defaults to ON.
  • Minimum required CMake version has been increased to 3.1.
  • CMake remains experimental on non-Windows platforms and issues a warning now
  • New functions
    • bson_strcasecmp, a portable equivalent of strcasecmp.
    • bson_iter_as_double, cast the current value to double.
    • bson_iter_init_from_data, creates an iterator from BSON string.
    • bson_validate_with_error, checks a document like bson_validate does but
      also reports which key was invalid
  • New convenience macros
    • BSON_ITER_HOLDS_INT, checks if iterator holds int32 or int64
    • BSON_ITER_HOLDS_NUMBER, checks if iterator holds int32, int64 or double
  • Raised BSON recursion limit to 200

Thanks to everyone who contributed to the development of this release.

  • A. Jesse Jiryu Davis
  • Hannes Magnusson
  • David Golden
  • Jeremy Mikola
  • gael Magnan
  • Hannes Magn?sson
  • David Carlier
  • Paul Melnikow
  • Petr Písař
  • Shane Harvey
  • alexeyvo
  • Greg Rowe

Peace,
-- A. Jesse Jiryu Davis