Details
-
Improvement
-
Status: Resolved
-
Minor - P4
-
Resolution: Fixed
-
None
-
None
-
None
-
2
-
DevEd Q1S3 Haleakalā 03/02
-
true
Description
Description
Following the Node.js Connection Guide will return a Deprecation Warning:
(node:98468) 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.
Passing the following to the MongoClient resolves the warning:
,{ useNewUrlParser: true, useUnifiedTopology: true }
Scope of changes
Cut a 3.6 branch and change the connection guide and all examples to include connection options that became default in 4.0