Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecation warning for mongodb 3.4 #45

Open
stalniy opened this issue Feb 25, 2017 · 5 comments
Open

deprecation warning for mongodb 3.4 #45

stalniy opened this issue Feb 25, 2017 · 5 comments

Comments

@stalniy
Copy link

stalniy commented Feb 25, 2017

when I try to run migrations on mongo 3.4 I see this deprecation warnings:

the server/replset/mongos options are deprecated, all their options are supported at the top level of the options object [poolSize,ssl,sslValidate,sslCA,sslCert,sslKey,sslPass,autoReconnect,noDelay,keepAlive,connectTimeoutMS,socketTimeoutMS,reconnectTries,reconnectInterval,ha,haInterval,replicaSet,secondaryAcceptableLatencyMS,acceptableLatencyMS,connectWithNoPrimary,authSource,w,wtimeout,j,forceServerObjectId,serializeFunctions,ignoreUndefined,raw,promoteLongs,bufferMaxEntries,readPreference,pkFactory,promiseLibrary,readConcern,maxStalenessSeconds,loggerLevel,logger,promoteValues,promoteBuffers,promoteLongs,domainsEnabled,keepAliveInitialDelay,checkServerIdentity,validateOptions]
@igabesz
Copy link

igabesz commented Feb 25, 2017

It's a non-fatal warning, see this:
https://jira.mongodb.org/browse/NODE-941

It would be good to have it fixed though...

@timmyg
Copy link

timmyg commented Feb 19, 2018

@emirotin can you take a look at this and possibly publish to npm if looks good?

#53

@emirotin
Copy link
Owner

I'm sorry to say that but in the last couple of years I have no time, nor interest in maintaining this tool as I haven't been using Mongo for about 4 years now.

I think the new maintainer or a hard fork is the way to proceed here.

@timmyg
Copy link

timmyg commented Feb 19, 2018 via email

@timmyg
Copy link

timmyg commented Feb 19, 2018

Fixed in my forked branch. You can point to it via changing your dependency to:
"mongodb-migrations": "github:timmyg/mongodb-migrations#master" or better yet fork that one and point to yours as I likely wont be updating any more as I am just using it for a side project, the message was just bothering me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants