balmasi / migrate-mongoose

A node based migration framework for mongoose supporting ES6 migrations
MIT License
264 stars 84 forks source link

New Server Discover and Monitoring engine for MongoClient #48

Closed colinwong closed 1 year ago

colinwong commented 5 years ago

Not a major concern but am getting this deprecation warning when I run migrations.

(node:10591) 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.

Running on the following:

"mongodb": "^3.3.2", "mongoose": "^5.7.1"

Is there any way to get rid of it?

ecgan commented 5 years ago

I'm having this issue too.

chris-aeviator commented 4 years ago

It's a deprecation warning, meaning it will break with a future update but is still runable now