v3.1.0
Add support for additional configuration options, that change the connection string used to connect to the Mongo server:
config.db.authMechanism
: Optional. If provided, must be one of: "DEFAULT", "MONGODB-CR", "SCRAM-SHA-1", "SCRAM-SHA-256". Defaults to "DEFAULT"config.db.replicaSet
: Optional. The name of the replica set that you want to connect to. When your server uses a replica set, provide this parameter.config.db.readPreference
: Optional. The read preference when the server uses a replica set. If provided, must be one of "primary", "primaryPreferred", "secondary", "secondaryPreferred", "nearest"