Skip to content

Commit 0697642

Browse files
authored
Update NEWS and VERSION_CURRENT after 2.0.0 release (#1969)
* add NEWS for 2.0 * update VERSION_CURRENT * update `find_package` requested versions for 2.0
1 parent 44e257c commit 0697642

File tree

7 files changed

+30
-11
lines changed

7 files changed

+30
-11
lines changed

NEWS

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ New Features:
2020
names `bson::static`, `bson::shared`, or `bson::bson`.
2121

2222

23-
Unreleased (2.0.0)
24-
==================
23+
libmongoc 2.0.0
24+
===============
2525

2626
## Notes
2727

@@ -193,6 +193,16 @@ bson_destroy(&reply);
193193
bson_destroy(cmd);
194194
```
195195

196+
## Contributors
197+
198+
Thanks to everyone who contributed to the development of this release.
199+
200+
* Kevin Albertson
201+
* Ezra Chung
202+
* Colby Pike
203+
* Micah Scott
204+
* Jeroen Ooms
205+
196206

197207
libmongoc 1.30.2
198208
================

VERSION_CURRENT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.31.0-dev
1+
2.1.0-dev

src/libbson/NEWS

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ New Features:
1717
forward-compatibility.
1818

1919

20-
libbson 2.0.0 (Unreleased)
21-
==========================
20+
libbson 2.0.0
21+
=============
2222

2323
## Changes
2424

2525
* `BSON_ERROR_BUFFER_SIZE` is reduced from `504` to `503` to reserve the final byte for internal use.
2626
* 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.
27-
* The pkg-config files `libbson-1.0`, have been renamed to `bson2`, and `bson2-static`, respectively.
27+
* The pkg-config files `libbson-1.0` and `libbson-static-1.0` have been renamed to `bson2`, and `bson2-static`, respectively.
2828

2929
### CMake Packages and Imported Targets
3030

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

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

58+
## Contributors
59+
60+
Thanks to everyone who contributed to the development of this release.
61+
62+
* Kevin Albertson
63+
* Micah Scott
64+
* Colby Pike
65+
* Ezra Chung
66+
* Lin Raymond
5867

5968
libbson 1.30.2
6069
==============

src/libbson/examples/cmake/find_package/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ project (hello_bson LANGUAGES C)
2828
# building libbson.
2929
# -- sphinx-include-start --
3030
# Specify the minimum version you require.
31-
find_package (bson 1.7 REQUIRED)
31+
find_package (bson 2.0 REQUIRED)
3232

3333
# The "hello_bson.c" sample program is shared among four tests.
3434
add_executable (hello_bson ../../hello_bson.c)

src/libbson/examples/cmake/find_package_static/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ project (hello_bson LANGUAGES C)
2828
# building libbson.
2929
# -- sphinx-include-start --
3030
# Specify the minimum version you require.
31-
find_package (bson 1.7 REQUIRED)
31+
find_package (bson 2.0 REQUIRED)
3232

3333
# The "hello_bson.c" sample program is shared among four tests.
3434
add_executable (hello_bson ../../hello_bson.c)

src/libmongoc/examples/cmake/find_package/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ project (hello_mongoc LANGUAGES C)
2828
# building libmongoc.
2929
# -- sphinx-include-start --
3030
# Specify the minimum version you require.
31-
find_package (mongoc 1.7 REQUIRED)
31+
find_package (mongoc 2.0 REQUIRED)
3232

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

src/libmongoc/examples/cmake/find_package_static/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ project (hello_mongoc LANGUAGES C)
2828
# building libmongoc.
2929
# -- sphinx-include-start --
3030
# Specify the minimum version you require.
31-
find_package (mongoc 1.7 REQUIRED)
31+
find_package (mongoc 2.0 REQUIRED)
3232

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

0 commit comments

Comments
 (0)