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.5.0

27 Nov 20:34
1.5.0
ce8c99a
Compare
Choose a tag to compare

It is my pleasure to announce Libbson-1.5.0.

New features and bug fixes:

  • New BSON Type, Decimal128 (bson_decimal128_t) along with the following
    new functions and helpers:
    • bson_decimal128_to_string()
    • bson_decimal128_from_string()
    • bson_iter_decimal128()
    • bson_iter_overwrite_decimal128()
    • BSON_ITER_HOLDS_DECIMAL128()
    • bson_append_decimal128()
    • BSON_APPEND_DECIMAL128()
    • BCON_DECIMAL128()
      See the documentations for further details.
  • bson_validate and bson_iter_next now validate that BSON boolean values are
    0 or 1. Before, any non-zero value was considered true.
  • bson_append_code_with_scope now preserves the "code with scope" type
    if scope is an empty, non-NULL BSON document.
  • BSON "code" and "code with scope" types are properly translated to JSON of
    the form '{"$code": "...", "$scope": {...}}'.
  • bson_json_reader functions now always validate UTF-8.
  • JSON parsing now preserves integer width.
  • bson_strtoll now matches stroll: it detects range errors, and when
    parsing octal it stops at non-octal digits and returns what it parsed
    instead of setting errno.
  • New flag BSON_VALIDATE_EMPTY_KEYS causes bson_validate to fail if a document
    contains zero-length field names.
  • The configure option "--enable-hardening" had had no effect. It is removed
    in favor of system-wide compiler configuration.

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

  • Hannes Magnusson
  • A. Jesse Jiryu Davis
  • Fiona Rowan
  • Brian Samek

Peace,
-- A. Jesse Jiryu Davis

Libbson-1.5.0-rc6

17 Nov 07:56
1.5.0-rc6
d450a48
Compare
Choose a tag to compare
Libbson-1.5.0-rc6 Pre-release
Pre-release

It is my pleasure to announce Libbson-1.5.0-rc6.

New features and bug fixes:

  • New BSON Type, Decimal128 (bson_decimal128_t) along with the following
    new functions and helpers:
    • bson_decimal128_to_string ()
    • bson_decimal128_from_string ()
    • bson_iter_decimal128 ()
    • bson_iter_overwrite_decimal128 ()
    • BSON_ITER_HOLDS_DECIMAL128()
    • bson_append_decimal128 ()
    • BSON_APPEND_DECIMAL128()
    • BCON_DECIMAL128()
      See the documentations for further details.
  • bson_validate and bson_iter_next now validate that BSON boolean values are
    0 or 1. Before, any non-zero value was considered true.
  • bson_append_code_with_scope now preserves the "code with scope" type
    if scope is an empty, non-NULL BSON document.
  • BSON "code" and "code with scope" types are properly translated to and from
    JSON of the form '{"$code": "...", "$scope": {...}}'.
  • bson_json_reader functions now always validate UTF-8.
  • JSON parsing now preserves integer width.
  • bson_strtoll now matches stroll: it detects range errors, and when
    parsing octal it stops at non-octal digits and returns what it parsed
    instead of setting errno.
  • New flag BSON_VALIDATE_EMPTY_KEYS causes bson_validate to fail if a document
    contains zero-length field names.
  • The configure option "--enable-hardening" had had no effect. It is removed
    in favor of system-wide compiler configuration.

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

  • Hannes Magnusson
  • A. Jesse Jiryu Davis
  • Fiona Rowan
  • Brian Samek

Peace,
-- A. Jesse Jiryu Davis

Libbson-1.5.0-rc4

03 Nov 14:30
1.5.0-rc4
20fd806
Compare
Choose a tag to compare
Libbson-1.5.0-rc4 Pre-release
Pre-release

It is my pleasure to announce Libbson-1.5.0-rc4.

New features and bug fixes:

  • New BSON Type, Decimal128 (bson_decimal128_t) along with the following
    -- new functions and helpers:
    -- * bson_decimal128_to_string ()
    -- * bson_decimal128_from_string ()
    -- * bson_iter_decimal128 ()
    -- * bson_iter_overwrite_decimal128 ()
    -- * BSON_ITER_HOLDS_DECIMAL128()
    -- * bson_append_decimal128 ()
    -- * BSON_APPEND_DECIMAL128()
    -- * BCON_DECIMAL128()
    -- See the documentations for further details
  • bson_json_reader functions now always validate UTF-8
  • JSON parsing now preserves integer width
  • New flag BSON_VALIDATE_EMPTY_KEYS causes bson_validate to fail if a document
    -- contains zero-length field names.
  • The configure option "--enable-hardening" had had no effect. It is removed
    -- in favor of system-wide compiler configuration.

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

  • Hannes Magnusson
  • A. Jesse Jiryu Davis
  • Fiona Rowan
  • Brian Samek

Peace,
-- A. Jesse Jiryu Davis

Libbson-1.5.0-rc3

20 Oct 02:45
1.5.0-rc3
d409b0d
Compare
Choose a tag to compare
Libbson-1.5.0-rc3 Pre-release
Pre-release

It is my pleasure to announce Libbson-1.5.0-rc3.

New features and bug fixes:

  • New BSON Type, Decimal128 (bson_decimal128_t) along with the following
    -- new functions and helpers:
    -- * bson_decimal128_to_string ()
    -- * bson_decimal128_from_string ()
    -- * bson_iter_decimal128 ()
    -- * bson_iter_overwrite_decimal128 ()
    -- * BSON_ITER_HOLDS_DECIMAL128()
    -- * bson_append_decimal128 ()
    -- * BSON_APPEND_DECIMAL128()
    -- * BCON_DECIMAL128()
    -- See the documentations for further details
  • New flag BSON_VALIDATE_EMPTY_KEYS causes bson_validate to fail if a document
    -- contains zero-length field names.
  • The configure option "--enable-hardening" had had no effect. It is removed
    -- in favor of system-wide compiler configuration.

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

  • A. Jesse Jiryu Davis
  • Hannes Magnusson
  • Brian Samek

Peace,
-- A. Jesse Jiryu Davis

Libbson-1.3.6

18 Oct 22:24
1.3.6
299bb83
Compare
Choose a tag to compare

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

-- A. Jesse Jiryu Davis

Libbson-1.5.0-rc2

12 Oct 02:19
1.5.0-rc2
018e775
Compare
Choose a tag to compare
Libbson-1.5.0-rc2 Pre-release
Pre-release

It is my pleasure to announce Libbson-1.5.0-rc2.

New features and bug fixes since 1.4.1:

  • New BSON Type, Decimal128 (bson_decimal128_t) along with the following
    -- new functions and helpers:
    -- * bson_decimal128_to_string ()
    -- * bson_decimal128_from_string ()
    -- * bson_iter_decimal128 ()
    -- * bson_iter_overwrite_decimal128 ()
    -- * BSON_ITER_HOLDS_DECIMAL128()
    -- * bson_append_decimal128 ()
    -- * BSON_APPEND_DECIMAL128()
    -- * BCON_DECIMAL128()
    -- See the documentations for further details
  • New flag BSON_VALIDATE_EMPTY_KEYS causes bson_validate to fail if a document
    -- contains zero-length field names.

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

  • Everyone

Farewell,
-- A. Jesse Jiryu Davis

Libbson-1.4.2

30 Sep 19:17
Compare
Choose a tag to compare

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

-- A. Jesse Jiryu Davis

Libbson-1.4.1

20 Sep 17:51
Compare
Choose a tag to compare

This release improves the HTML documentation's Makefile.

-- A. Jesse Jiryu Davis

Libbson-1.4.0

10 Aug 20:00
Compare
Choose a tag to compare

It is my pleasure to announce Libbson-1.4.0.

New features and bug fixes:

  • bson_reader_reset seeks to the beginning of a BSON buffer.
  • bson_steal efficiently transfers contents from one bson_t to another.
  • Fix Windows compile error with BSON_EXTRA_ALIGN disabled.
  • Potential buffer overrun in bson_strndup.
  • bson_oid_to_string optimization for MS Visual Studio
  • bson_oid_is_valid accepts uppercase hex characters.
  • bson_json_reader_read aborted on some invalid Extended JSON documents.
  • All man page names now begin with "bson_" to avoid install conflicts.
  • Error messages sometimes truncated at 63 chars.

This release tentatively supports the new BSON decimal type when built with
"./configure --enable-experimental-features", or with
"cmake -DENABLE_EXPERIMENTAL_FEATURES=ON", but this feature may change
between now and libbson 1.5.

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

  • A. Jesse Jiryu Davis
  • Hannes Magnusson
  • Jeremy Mikola
  • David Hatch
  • Ian Boros
  • Fiona Rowan
  • Shane Harvey
  • Runar Buvik
  • Raymond Jacobson
  • ReadmeCritic
  • Mike Lloyd
  • Derick Rethans
  • Maverick Chan

Peace,
-- A. Jesse Jiryu Davis

Libbson-1.4.0-beta1

27 Jul 22:26
Compare
Choose a tag to compare
Libbson-1.4.0-beta1 Pre-release
Pre-release

It is my pleasure to announce the beta release of Libbson-1.4.0.

New features and bug fixes:

  • bson_reader_reset seeks to the beginning of a BSON buffer.
  • bson_steal efficiently transfers contents from one bson_t to another.
  • Fix Windows compile error with BSON_EXTRA_ALIGN disabled.
  • Potential buffer overrun in bson_strndup.
  • bson_oid_to_string optimization for MS Visual Studio
  • bson_oid_is_valid accepts uppercase hex characters.
  • bson_json_reader_read aborted on some invalid Extended JSON documents.
  • All man page names now begin with "bson_" to avoid install conflicts.
  • Error messages sometimes truncated at 63 chars.

This release tentatively supports the new BSON decimal type when built with
"./configure --enable-experimental-features", or with
"cmake -DENABLE_EXPERIMENTAL_FEATURES=ON", but this feature may change
between now and libbson 1.5.

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

  • A. Jesse Jiryu Davis
  • Hannes Magnusson
  • Jeremy Mikola
  • David Hatch
  • Ian Boros
  • Fiona Rowan
  • Shane Harvey
  • Runar Buvik
  • Raymond Jacobson
  • ReadmeCritic
  • Mike Lloyd
  • Derick Rethans
  • Maverick Chan

Peace,
-- A. Jesse Jiryu Davis