-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
Remove the following deprecated URI options:
- canonicalizeHostname is a deprecated alias for the "CANONICALIZE_HOST_NAME" property of the authMechanismProperties URI option
- gssapiServiceName is a deprecated alias for the "SERVICE_NAME" property of the authMechanismProperties URI option
- safe is a deprecated alias for a subset of w option values
- ssl is a deprecated alias for the tls option
Note: these options would likely still be parsed in the connection string by libmongoc, and may also be parsed through our URI options array since we delegate to libmongoc for options with scalar types; however, we could consider explicit logic to not parse them in the URI options array. At the very least, we can stop documenting these options.
Remove the following deprecated driver options:
- allow_invalid_hostname is a deprecated alias for the tlsAllowInvalidHostnames URI option
- ca_file is a deprecated alias for the tlsCAFile URI option
- context is used for SSL context options, which are all deprecated
- pem_file is a deprecated alias for the tlsCertificateKeyFile URI option
- pem_pwd is a deprecated alias for the tlsCertificateKeyFilePassword URI option
- weak_cert_validation is a deprecated alias for the tlsAllowInvalidCertificates URI option
- is related to
-
PHPC-2440 Remove deprecated Query constructor options
- Closed