- use eslint
- update dependencies
- use make instead grunt
- use
findOne()
insteadfind().nextObject()
- code refactoring
- update dependencies
-
database config has to be an Object and the database name isn't part of the connection string anymore
old
exports.db = 'mongodb://127.0.0.1/test'; exports.dbCollection = 'users';
new
exports.db = { url: 'mongodb://127.0.0.1/', name: 'test', collection: 'users' };
-
simplify
remove()
methodadapter.remove(match, query, callback)
becomes
adapter.remove(username, callback)
...
- drop
dbUrl
and usedb
instead - use new
config.js
structure