You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* `bson_oid_init_sequence` is removed. Use `bson_oid_init` instead.
10
10
* `mongoc_server_description_host` changes the return type from `mongoc_host_list_t *` to `const mongoc_host_list_t *`.
11
+
* URI authentication credentials validation (only applicable during creation of a new `mongoc_uri_t` object from a connection string):
12
+
* `authMechanism` is now validated and returns a client error for invalid or unsupported values.
13
+
* `authSource` is now validated and returns a client error for invalid or unsupported values for the specified `authMechanism`.
14
+
* `authSource` is now correctly defaulted to `"$external"` for MONGODB-AWS (instead of the database name or `"admin"`).
15
+
* The requirement that a password is provided is now enforced when the authentication mechanism is specified for:
16
+
* PLAIN
17
+
* SCRAM-SHA-1
18
+
* SCRAM-SHA-256
19
+
* The requirement that neither or both a username and password is provided (optionally with a `AWS_SESSION_TOKEN`) is now enforced for MONGODB-AWS.
20
+
* `authMechanismProperties` is now prohibited (instead of ignored) when the authentication mechanism is specified for:
21
+
* PLAIN
22
+
* SCRAM-SHA-1
23
+
* SCRAM-SHA-256
24
+
* MONGODB-X509
25
+
* `authMechanismProperties` is now validated and returns a client error for invalid or unsupported fields when the authentication mechanism is specified for:
26
+
* GSSAPI: supported fields are SERVICE_NAME, CANONICALIZE_HOST_NAME, SERVICE_REALM, and SERVICE_HOST.
27
+
* MONGODB-AWS: supported fields are AWS_SESSION_TOKEN.
11
28
12
29
## Removals
13
30
@@ -23,6 +40,7 @@ Unreleased (2.0.0)
23
40
* `mongoc_cursor_is_alive` is removed. Use the equivalent `mongoc_cursor_more` instead.
24
41
* `mongoc_collection_delete` is removed. Use `mongoc_collection_delete_one` or `mongoc_collection_delete_many` instead.
25
42
* `mongoc_delete_flags_t` and `mongoc_reply_flags_t` are removed.
43
+
* Support for LibreSSL (the CMake option `ENABLE_SSL=LIBRESSL`) is removed. Associated API is removed (`MONGOC_ENABLE_SSL_LIBRESSL` and `mongoc_stream_tls_libressl_new`).
26
44
27
45
### Forwarding headers (`#include <bson.h>` and `#include <mongoc.h>`)
28
46
@@ -41,25 +59,6 @@ Instead, the names must be prefixed with the parent directory: `mongoc/mongoc.h`
41
59
```
42
60
43
61
44
-
Changes:
45
-
46
-
* URI authentication credentials validation (only applicable during creation of a new `mongoc_uri_t` object from a connection string):
47
-
* `authMechanism` is now validated and returns a client error for invalid or unsupported values.
48
-
* `authSource` is now validated and returns a client error for invalid or unsupported values for the specified `authMechanism`.
49
-
* `authSource` is now correctly defaulted to `"$external"` for MONGODB-AWS (instead of the database name or `"admin"`).
50
-
* The requirement that a password is provided is now enforced when the authentication mechanism is specified for:
51
-
* PLAIN
52
-
* SCRAM-SHA-1
53
-
* SCRAM-SHA-256
54
-
* The requirement that neither or both a username and password is provided (optionally with a `AWS_SESSION_TOKEN`) is now enforced for MONGODB-AWS.
55
-
* `authMechanismProperties` is now prohibited (instead of ignored) when the authentication mechanism is specified for:
56
-
* PLAIN
57
-
* SCRAM-SHA-1
58
-
* SCRAM-SHA-256
59
-
* MONGODB-X509
60
-
* `authMechanismProperties` is now validated and returns a client error for invalid or unsupported fields when the authentication mechanism is specified for:
61
-
* GSSAPI: supported fields are SERVICE_NAME, CANONICALIZE_HOST_NAME, SERVICE_REALM, and SERVICE_HOST.
62
-
* MONGODB-AWS: supported fields are AWS_SESSION_TOKEN.
0 commit comments