Sails-mongo v0.10.7 introduced a split change and does not support mongo <= 2.4. The modified change was canceled, and v0.10.8 was published, restoring compatibility with mongo <= 2.4. Meanwhile, v0.10.7 is deprecated.
V0.11 was released at the same time, which is compatible with mongo> = 2.6.
For those using mongo <= 2.4 , do not upgrade to 0.11.x.
UPDATE: some users reported problems with Mongo 3.0 and, using v0.10.8, apparently fixed the problem for them: more .
UPDATE 2: The problem with v0.10.7 and v0.11.0-1 has been traced back to inappropriate connection configurations ( PR # 277 ). This can be sails/config/connections.js locally by configuring the connection configuration ( sails/config/connections.js file for sails users):
devMongodbServer: { // connection name port: 27017, database: 'dev-mongodb-server', poolSize: 5, socketOptions: { noDelay: true, connectTimeoutMS: 0, socketTimeoutMS: 0 } }
v0.11.2 will be released with this default connection configuration.
Read more about https://github.com/balderdashy/sails-mongo/issues/266
DΓ‘rio
source share