Official Twitter of Mongoose, the most downloaded database framework on npm. Support our work: opencollective.com/mongoose 🙏 #nodejs #mongodb

Miami Beach, FL
Mongoose v5.11.2 released, with a few more TypeScript fixes: 🛠️ Add missing query options and model findById() function 🛠️ Support defining schema paths as arrays of functions Full changelog: github.com/Automattic/mongoo… #nodejs #mongodb #javascript
4
2
Mongoose v5.11.1 released, with a few fixes to our new TypeScript bindings: 🛠️ Add missing SchemaOptions 🛠️ Allow using $set in updates If you're getting compiler errors that look like the attached image, please remove your dependency on `@types/mongoose` and try recompiling!
1
Mongoose 5.11.0 released: 🌟 Add official TypeScript definitions index.d.ts file 🌟 Add bufferTimeoutMS option that configures how long Mongoose will allow commands to buffer And 15 other new features, full list here: github.com/Automattic/mongoo… #nodejs #mongodb #javascript
2
10
Mongoose 5.10.19 released, last release before 5.11.0! 🛠️ Support passing an array to `$type` in query filters 🏎️ Avoid creating unnecessary objects when casting to array github.com/Automattic/mongoo… #nodejs #mongodb #javascript
1
2
Mongoose v5.10.18 released, fixes using `mongoose.connect()` with destructuring. Full changelog: github.com/Automattic/mongoo… #nodejs #mongodb #javascript
2
4
Mongoose v5.10.17 released, fixes a bad bug introduced in v5.10.16 that skips subsequent fields after setting one field to `undefined`. We've deprecated v5.10.16 on npm. If you're using v5.10.16, we recommend you upgrade immediately #nodejs #mongodb #javascript
5
5
Announcing Our Partnership with Vue School: getrevue.co/profile/masterin… (via @revue) #vuejs #javascript #CodeNewbie
2
7
This Thanksgiving, we're beyond grateful to all of Mongoose's supporters on @opencollect. If your company relies on Mongoose, check out our OpenCollective and consider supporting our work! opencollective.com/mongoose #nodejs #mongodb #javascript
4
2
Mongoose 5.10.16 released: 🛠️ Copy config options from connection rather than base connection when calling useDb() 🛠️ Support of for array type definitions to be consistent with maps Full changelog: github.com/Automattic/mongoo… #nodejs #mongodb #javascript
4
3
In Mongoose v5.10.15 we made `Array#toObject()` consistently return a JavaScript array, so you can use `assert.deepStrictEqual()` More about Mongoose arrays: mongoosejs.com/docs/schematy… #nodejs #mongodb #javascript
8
9
Mongoose v5.10.15 released: 🛠️ Make sure Array#toObject() returns a vanilla JavaScript array in Node.js 6+ 🛠️ Make disconnect() stop Mongoose if it is trying to reconnect Full changelog: github.com/Automattic/mongoo… #nodejs #mongodb #javascript
1
1
We're working on some exciting new features for Mongoose 5.11. Mongoose will now call post find hooks on query cursors. More about query cursors: mongoosejs.com/docs/api.html… #nodejs #mongodb #javascript
3
2
Mongoose v5.10.14 released: 🛠️ Handle casting immutable object properties with $setOnInsert 🛠️ Overwrite if discriminator schema specifies a path is single nested but base schema has path as doc array Full changelog: github.com/Automattic/mongoo… #nodejs #mongodb #javascript
3
Mongoose supports async custom validators, learn more: mongoosejs.com/docs/validati… #nodejs #mongodb #javascript
2
3
We're working on some exciting new features for Mongoose 5.11. You'll be able to define custom casting functions for individual paths in your schema. More about schemas in Mongoose: mongoosejs.com/docs/guide.ht… #nodejs #mongodb #javascript
9
4
Just released mongoose-lean-virtuals v0.7.3, includes better handling for when `lean()` is called with a non-existent virtual. Changelog: plugins.mongoosejs.io/plugin… #nodejs #mongodb #javascript
5
3
The `lean` query can make queries faster, but comes with tradeoffs. Here's what you should consider when deciding whether to use `lean`: mongoosejs.com/docs/tutorial… #nodejs #mongodb #javascript
1
2
Subdocuments and nested paths are slightly different in Mongoose. Learn more about the difference here: mongoosejs.com/docs/subdocs.… #nodejs #mongodb #javascript
3
Mongoose strict mode doesn't apply to query filters, there's a separate `strictQuery` option. Learn more here: mongoosejs.com/docs/tutorial… #nodejs #mongodb #javascript
1
1
In Mongoose v5.10.12 we made Mongoose track changes if the getter returns the same value as you're setting. Learn more about getters and setters: mongoosejs.com/docs/tutorial… #nodejs #mongodb #javascript
5
4