title: Mongoose warns: DeprecationWarning: current Server Discovery and Monitoring engine is deprecated?
body: <p>When starting up my application, I get the following warning:</p>
  
  <pre><code>(node:11800) DeprecationWarning: current Server Discovery and
  Monitoring engine is deprecated, and will be removed in a future
  version. To use the new Server Discover and Monitoring engine, pass
  option { useUnifiedTopology: true } to the MongoClient constructor.
  </code></pre>
  
  <p>Yet we are specifying this value:</p>
  
  <pre><code>connection = await mongoose.connect(dbUrl, {
    keepAlive: true,
    useNewUrlParser: true,
    useCreateIndex: true,
    useFindAndModify: false,
    useUnifiedTopology: true
  });
  </code></pre>
  
  <p>The value for <code>dbUrl</code> is: <code>mongodb://localhost:27017/test-app</code></p>
  
  <p>Environment:</p>
  
  <ul>
  <li><code>mongo v4.0.13 on macOS</code></li>
  <li><code>nodejs v10.15.3</code></li>
  <li><code>package mongodb@3.3.2</code></li>
  <li><code>package mongoose@5.7.0</code></li>
  </ul>
  
  <p>Any ideas on how to deal with the warning?</p>