Skip to content

v3.1.0

Compare
Choose a tag to compare
@marcpeters2 marcpeters2 released this 07 Aug 19:29
· 62 commits to master since this release

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"