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

Miami Beach, FL
Replying to @MongoDB
Please note that this is a pre-release and not recommended for production use **yet**. Please report any issues you find on GitHub! github.com/Automattic/mongoo…
1
Mongoose 6.0.0-rc0 released: ⭐️ Uses MongoDB Node driver 4.0 for @mongodb 5.0 support ⭐️ Arrays are now proxies for better change tracking ⭐️ asPromise() method for connections ⭐️ No more deprecation warnings 😀 github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
1
7
7
Mongoose 5.13.5 released: 🛠️ Improve typescript type checking performance 🛠️ Fix debug type in MongooseOptions Full changelog: github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
2
5
Mongoose v5.13.4 released: 🛠️ Avoid pulling non-schema paths from documents into nested paths 🛠️ Support overwriting nested map paths Full changelog: github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
3
9
Mongoose 5.13.3 released: 🛠️ Avoid throwing error when bulkSave() called on a document with no changes 🛠️ Apply timestamps when creating new subdocs with $addToSet and with positional operator Full changelog: github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
4
6
Mongoose 5.13.2 released, quick fix to work around a breaking change from DefinitelyTyped for TypeScript support. #NodeJS #MongoDB #JavaScript
1
5
Mongoose 5.13.1 released: 🛠️ Allow using array as discriminator key in schema and as tied value 🔖Bunch of #TypeScript fixes github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
2
8
Mongoose 5.13 released: 🌟 Add sanitizeProjection option to opt in to automatically sanitizing untrusted query projections 🌟 Add bulkSave() function that saves multiple docs in 1 bulkWrite() Full changelog: github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
2
10
Mongoose 5.12.15 released: 🛠️ Add extra TInstanceMethods generic param to `Schema` for cases when we can't infer from Model 🛠️ Added typings for near() in model aggregation Full changelog: github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
2
8
We've had a lot of users run into issues with type inference using generics. Even though T extends User, T doesn't necessarily have a `name` property that's a string 😞. Anyone have ideas on how to work around this? #TypeScript #NodeJS
3
4
Do you use a Node.js CMS? If so, which one? Just started tinkering with Strapi, looks cool so far 😀 #DevDiscuss #DevCommunity #NodeJS
1
3
Mongoose 5.13 is coming! One of the new features is a `sanitizeProjection` option that tells Mongoose to clean up potentially untrusted query projections. More about the `select()` method: mongoosejs.com/docs/api/quer… #NodeJS #MongoDB #javascript
4
4
Mongoose 5.12.14 released: 🔧 Check that schema type is an object when setting isUnderneathDocArray 🔧 Avoid infinite recursion when setting single nested subdoc to array Full changelog: github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
1
6
Mongoose 5.12.13 released: 🏎️ Avoid creating nested paths when running $getAllSubdocs() 🛠️ Make returnDocument option work with findOneAndUpdate() github.com/Automattic/mongoo… #nodejs #mongodb #javascript
2
7
Mongoose v5.12.12 released: 🛠️ Retain atomics when setting to a new array 🛠️ Fix deprecation warning for returnOriginal with findOneAndUpdate() github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
6
The downside? `push(...v)` and `new Array(...v)` can throw a stack overflow if `v` is huge.
1
We've been hard at work improving the performance of Mongoose arrays. Neat takeaway: it's much faster to call `push()` once with multiple values than calling `push()` multiple times with 1 value. Shaves off 20% in our nested array benchmark. #nodejs #mongodb #javascript
2
2
5
Mongoose 5.12.11 released: 🛠️ Skip applying setters when casting arrays for populate() to avoid issues with arrays of immutable elements 🏎️ Avoid cloning setters every time we run setters github.com/Automattic/mongoo… #nodejs #mongodb #javascript
2
10
It's official, Mongoose docs search is now running on Azure Functions. Yes, it is running on Windows. No, I would not have believed you if you told me in 2017 that I'd be running prod apps on Windows in 2021. #javascript #DevCommunity #100DaysOfCode
4
6