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
* `mongoc_server_description_host` changes the return type from `mongoc_host_list_t *` to `const mongoc_host_list_t *`.
11
11
* URI authentication credentials validation (only applicable during creation of a new `mongoc_uri_t` object from a connection string):
12
12
* The requirement that a username is non-empty when specified is now enforced regardless of authentication mechanism.
13
+
* Username and password specification requirements are now validated and returns a client error for the specified authentication mechanism.
14
+
* e.g. it is a client error to not specify a username or a password for SCRAM-SHA-1, SCRAM-SHA-256, and PLAIN.
15
+
* e.g. it is a client error to specify a password for MONGODB-X509.
16
+
* e.g. it is a client error to specify a username or a password without the other for MONGODB-AWS.
13
17
* `authSource` is now correctly defaulted to `"$external"` for MONGODB-AWS (instead of the database name or `"admin"`).
14
18
* `authMechanism` is now validated and returns a client error for invalid or unsupported values.
15
-
* Requirements for the inclusion, exclusion, and supported values of authentication-related URI components (e.g. username and password), options (e.g. `authSource`), and mechanism properties (e.g. `authMechanismProperties` and its key-value pairs) are now validated and return a client error when able for invalid or unsupported configurations according to the specified authentication mechanism (`authMechanism`).
19
+
* `authMechanismProperties` is now validated and returns a client error for invalid or unsupported properties for the specified authentication mechanism.
16
20
* `authMechanismProperties` now correctly supports `':'` within property values.
17
21
* Old behavior: `authMechanismProperties=A:B,C:D:E,F:G` is parsed as `{'A': 'B', 'C': 'D:E,F:G'}`.
18
22
* New behavior: `authMechanismProperties=A:B,C:D:E,F:G` is parsed as `{'A': 'B': 'C': 'D:E', 'F': 'G'}`.
0 commit comments