Releases: mongodb/libbson
Libbson-1.5.0
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
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
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
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
No change since 1.3.5; released to keep pace with libmongoc's version.
-- A. Jesse Jiryu Davis
Libbson-1.5.0-rc2
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
No change since 1.4.1; released to keep pace with libmongoc's version.
-- A. Jesse Jiryu Davis
Libbson-1.4.1
This release improves the HTML documentation's Makefile.
-- A. Jesse Jiryu Davis
Libbson-1.4.0
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
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