Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ New Features:
names `bson::static`, `bson::shared`, or `bson::bson`.


Unreleased (2.0.0)
==================
libmongoc 2.0.0
===============

## Notes

Expand Down Expand Up @@ -193,6 +193,16 @@ bson_destroy(&reply);
bson_destroy(cmd);
```

## Contributors

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

* Kevin Albertson
* Ezra Chung
* Colby Pike
* Micah Scott
* Jeroen Ooms


libmongoc 1.30.2
================
Expand Down
2 changes: 1 addition & 1 deletion VERSION_CURRENT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.31.0-dev
2.1.0-dev
17 changes: 13 additions & 4 deletions src/libbson/NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ New Features:
forward-compatibility.


libbson 2.0.0 (Unreleased)
==========================
libbson 2.0.0
=============

## Changes

* `BSON_ERROR_BUFFER_SIZE` is reduced from `504` to `503` to reserve the final byte for internal use.
* The data layout of `bson_error_t` remains otherwise unchanged: the size is still 512 bytes and the offset of the `.code`, `.domain`, and `.message` data members remain unchanged.
* The pkg-config files `libbson-1.0`, have been renamed to `bson2`, and `bson2-static`, respectively.
* The pkg-config files `libbson-1.0` and `libbson-static-1.0` have been renamed to `bson2`, and `bson2-static`, respectively.

### CMake Packages and Imported Targets

The `bson-1.0` CMake package have been removed. Instead, use or `bson`, and
The `bson-1.0` CMake package has been removed. Instead, use or `bson`, and
specify a version or version range to be imported:

```cmake
Expand All @@ -55,6 +55,15 @@ The new package imports different target names:
* `BSON_ALIGNED_BEGIN` and `BSON_ALIGNED_END` now unconditionally apply their requested alignment.
* Remove deprecated `bson_copy_to_excluding`. Use `bson_copy_to_excluding_noinit` instead.

## Contributors

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

* Kevin Albertson
* Micah Scott
* Colby Pike
* Ezra Chung
* Lin Raymond

libbson 1.30.2
==============
Expand Down
2 changes: 1 addition & 1 deletion src/libbson/examples/cmake/find_package/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ project (hello_bson LANGUAGES C)
# building libbson.
# -- sphinx-include-start --
# Specify the minimum version you require.
find_package (bson 1.7 REQUIRED)
find_package (bson 2.0 REQUIRED)

# The "hello_bson.c" sample program is shared among four tests.
add_executable (hello_bson ../../hello_bson.c)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ project (hello_bson LANGUAGES C)
# building libbson.
# -- sphinx-include-start --
# Specify the minimum version you require.
find_package (bson 1.7 REQUIRED)
find_package (bson 2.0 REQUIRED)

# The "hello_bson.c" sample program is shared among four tests.
add_executable (hello_bson ../../hello_bson.c)
Expand Down
2 changes: 1 addition & 1 deletion src/libmongoc/examples/cmake/find_package/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ project (hello_mongoc LANGUAGES C)
# building libmongoc.
# -- sphinx-include-start --
# Specify the minimum version you require.
find_package (mongoc 1.7 REQUIRED)
find_package (mongoc 2.0 REQUIRED)

# The "hello_mongoc.c" sample program is shared among four tests.
add_executable (hello_mongoc ../../hello_mongoc.c)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ project (hello_mongoc LANGUAGES C)
# building libmongoc.
# -- sphinx-include-start --
# Specify the minimum version you require.
find_package (mongoc 1.7 REQUIRED)
find_package (mongoc 2.0 REQUIRED)

# The "hello_mongoc.c" sample program is shared among four tests.
add_executable (hello_mongoc ../../hello_mongoc.c)
Expand Down