Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-2441

Remove deprecated Manager constructor options

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.0.0
    • Affects Version/s: None
    • Component/s: None
    • PHP Drivers
    • Not Needed

      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

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: