Skip to content

Commit 8a117ef

Browse files
committed
1.3.0-beta0 Release
Signed-off-by: A. Jesse Jiryu Davis <[email protected]>
1 parent 4dc4677 commit 8a117ef

File tree

4 files changed

+84
-17
lines changed

4 files changed

+84
-17
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ include(FindSASL2)
1818
set (SOURCE_DIR "${PROJECT_SOURCE_DIR}/")
1919

2020
set (MONGOC_MAJOR_VERSION 1)
21-
set (MONGOC_MINOR_VERSION 2)
22-
set (MONGOC_MICRO_VERSION 2)
21+
set (MONGOC_MINOR_VERSION 3)
22+
set (MONGOC_MICRO_VERSION 0)
2323
set (MONGOC_PRERELEASE_VERSION dev)
2424
set (MONGOC_API_VERSION 1.0)
25-
set (MONGOC_VERSION 1.2.2-dev)
25+
set (MONGOC_VERSION 1.3.0-dev)
2626

2727
set (CPACK_RESOURCE_FILE_LICENSE "${SOURCE_DIR}/COPYING")
2828
set (CPACK_PACKAGE_VERSION_MAJOR ${MONGOC_MAJOR_VERSION})

NEWS

Lines changed: 75 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,83 @@
11
mongo-c-driver 1.3.0
22
====================
33

4-
* mongoc_collection_find_and_modify () will now apply the mongoc_collection_t
5-
write_concern_t when talking to MongoDB 3.2+.
4+
It is my pleasure to announce to you the beta of MongoDB C driver 1.3.0.
5+
This beta includes additive ABI changes and bugfixes, and support for
6+
the upcoming MongoDB 3.2. It is compatible with MongoDB 2.4 and later.
7+
8+
New features and changes:
9+
10+
* mongoc_collection_find_and_modify will now apply the mongoc_collection_t's
11+
write_concern_t when talking to MongoDB 3.2.
12+
* Support for MongoDB 3.2's "readConcern" feature for queries, counts, and
13+
aggregations. The option "readConcernLevel" is now accepted in the MongoDB
14+
URI. New struct mongoc_read_concern_t, and functions operating on it:
15+
- mongoc_client_get_read_concern
16+
- mongoc_client_set_read_concern
17+
- mongoc_database_get_read_concern
18+
- mongoc_database_set_read_concern
19+
- mongoc_collection_get_read_concern
20+
- mongoc_collection_set_read_concern
21+
- mongoc_read_concern_copy
22+
- mongoc_read_concern_destroy
23+
- mongoc_read_concern_get_level
24+
- mongoc_read_concern_new
25+
- mongoc_read_concern_set_level
26+
- mongoc_uri_get_read_concern
27+
* Support for MongoDB 3.2's "bypassDocumentValidation" option for writes.
28+
* New struct mongoc_bulk_write_flags_t and related functions:
29+
- mongoc_bulk_operation_set_bypass_document_validation
30+
- mongoc_bulk_operation_set_flags
31+
* New struct mongoc_find_and_modify_opts_t and related functions:
32+
- mongoc_find_and_modify_opts_new
33+
- mongoc_find_and_modify_opts_destroy
34+
- mongoc_find_and_modify_opts_set_sort
35+
- mongoc_find_and_modify_opts_set_update
36+
- mongoc_find_and_modify_opts_set_fields
37+
- mongoc_find_and_modify_opts_set_flags
38+
- mongoc_find_and_modify_opts_set_bypass_document_validation
39+
- mongoc_collection_find_and_modify_with_opts
40+
* Configurable wait time on tailable cursors with MongoDB 3.2:
41+
- mongoc_cursor_get_max_await_time_ms
42+
- mongoc_cursor_set_max_await_time_ms
43+
* Support for MongoDB 3.2 wire protocol: use commands in place of OP_QUERY,
44+
OP_GETMORE, and OP_KILLCURSORS messages.
45+
* To explain a query plan with MongoDB 3.2, you must now call the "explain"
46+
command, instead of including the "$explain" key in a mongoc_collection_find
47+
query. See the mongoc_collection_find documentation page for details.
48+
* Use constant-time comparision when verifying credentials
49+
* Combine environment's CFLAGS with configure options when building.
50+
* Improved man page output and "whatis" entries
51+
52+
Extensive bugfixes and improvements in GridFS, including:
53+
54+
* Handle seeking, reading, and writing past the end of a GridFS file.
55+
* Better error reporting if a GridFS file has missing chunks.
56+
* Optimization for long seeks forward with mongoc_gridfs_file_seek.
57+
58+
Other fixes:
59+
60+
* Memory leak in mongoc_database_find_collections.
61+
* Set OP_QUERY's nToReturn from the provided limit.
62+
* Fix compiler warnings and errors, especially with Visual Studio 2015,
63+
GCC 4.8, and IBM XL C.
64+
* Include missing build script FindSASL2.cmake in distribution tarball
65+
* Bugs and typos in tutorial examples
666

7-
* To explain a query plan with MongoDB 3.2+, you must now call the "explain"
8-
command. Including the "$explain" key in a mongoc_collection_find query no
9-
longer works. See the mongoc_collection_find documentation page for details.
67+
Thanks to everyone who contributed to this version of libmongoc.
68+
69+
* A. Jesse Jiryu Davis
70+
* Hannes Magnusson
71+
* Kyle Suarez
72+
* Jose Sebastian Battig
73+
* Jeremy Mikola
74+
* Iago Rubio
75+
* Matt Cotter
76+
* alexeyvo
1077

11-
* Various get/setters on cursor
12-
- mongoc_cursor_get_max_await_time_ms
13-
- mongoc_cursor_set_max_await_time_ms
78+
Peace,
79+
80+
A. Jesse Jiryu Davis
1481

1582

1683
mongo-c-driver 1.2.1

build/autotools/Versions.m4

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
m4_define([mongoc_major_version], [1])
2-
m4_define([mongoc_minor_version], [2])
3-
m4_define([mongoc_micro_version], [2])
4-
m4_define([mongoc_prerelease_version], [dev])
2+
m4_define([mongoc_minor_version], [3])
3+
m4_define([mongoc_micro_version], [0])
4+
m4_define([mongoc_prerelease_version], [beta0])
55

66
m4_define(
77
[mongoc_version],
@@ -12,13 +12,13 @@ m4_define(
1212

1313
# bump up by 1 for every micro release with no API changes, otherwise
1414
# set to 0. after release, bump up by 1
15-
m4_define([mongoc_interface_age], [1])
15+
m4_define([mongoc_interface_age], [0])
1616
m4_define([mongoc_binary_age], [m4_eval(100 * mongoc_minor_version + mongoc_micro_version)])
1717

1818
m4_define([lt_current], [m4_eval(100 * mongoc_minor_version + mongoc_micro_version - mongoc_interface_age)])
1919
m4_define([lt_revision], [mongoc_interface_age])
2020
m4_define([lt_age], [m4_eval(mongoc_binary_age - mongoc_interface_age)])
2121

22-
m4_define([libbson_required_version], [1.2.1])
22+
m4_define([libbson_required_version], [1.3.0])
2323

2424
m4_define([sasl_required_version], [2.1.6])

0 commit comments

Comments
 (0)