Mongoose 5.0.0-rc0 released, change log: github.com/Automattic/mon… and detailed release notes: github.com/Automattic/mon… . Native promises, promise support for middleware, support for MongoDB 3.6, and 31 more features and improvements #nodejs .
Today is Mongoose's 10th birthday! We're so proud of where Mongoose is today, and looking forward to 10 more years 🥳🎉🍾
A big shout out to all our contributors over the last decade, including: @code_barbarian@aaronheckmann@rauchg @ChingFengHsu
#NodeJS#MongoDB
Mongoose 6.2.3 released:
🛠️ Avoid dropping base model indexes when using discriminators with Connection.prototype.syncIndexes()
🛠️ Handle array defaults when selecting element underneath array
github.com/Automattic/mon…#JavaScript#MongoDB#NodeJS
Mongoose 6.0.11 released
🏎️ [TS] Remove some unnecessary definitions, streamline some union types
🛠️ Use stream destroy method on close to prevent emitting duplicate 'close'
Full changelog: github.com/Automattic/mon…#NodeJS#MongoDB#JavaScript
Mongoose 5.8.4 released:
🛠️ Ensure populate virtual gets set to empty array if localField is undefined in the database
🛠️ Wrap mongoose.connect() server selection timeouts in MongooseTimeoutError for readable stack traces
github.com/Automattic/mon…#nodejs#mongodb#javascript
Mongoose arrays have a convenient `pull()` function that removes values from an array.
No need to `filter()` and reassign, just use `pull()`.
#NodeJS#JavaScript