This version is outdated! Click here to see latest
Npms_big

mongoose

4.11.2

Mongoose MongoDB ODM

(mongodb, document, model, schema, database, odm, data, datastore, query, nosql, orm, db)

Critical or Security advisories for 4.11.2

This version doesn't have any advisory. Want to report one?

Changelog for 4.11.2

  • docs: fix comment typo in connect example #5435 ConnorMcF
  • fix(update): correctly cast document array in update validators with exec() #5430
  • fix(connection): handle autoIndex with useMongoClient #5423
  • fix(schema): handle type: [Array] in schemas #5416
  • fix(timestamps): if overwrite is set and there's a $set, use $set instead of top-level update #5413
  • fix(document): don't double-validate deeply nested doc array elements #5411
  • fix(schematype): clone default objects so default not shared across object instances unless shared specified #5407
  • fix(document): reset down the nested subdocs when resetting parent doc #5406
  • fix: don't pass error arg twice to error handlers #5405
  • fix(connection): make openUri() return connection decorated with then() and catch() #5404
  • fix: enforce $set on an array must be an array #5403
  • fix(document): don't crash if calling validateSync() after overwriting doc array index #5389
  • fix(discriminator): ensure discriminator key doesn't count as user-selected field for projection #4629

Dependencies for 4.11.2

Name Requirement Status
0.4.1

0.0.3

2.1.4

2.1.2

3.5.0

~1.0.4

Npms co
4.6.0

Npms dox
0.3.1

2.4.0

7.0.1

Display all

My projects using mongoose

Name Locked version Requirement
You should be logged in to see which of your projects use mongoose.