Mongoose 6.0.6 released
🏎️ Streamline SchemaDefinitionType and SchemaTypeOptions to speed up TS lib checking and VSCode autocomplete
🏎️ Reduce document memory overhead by delaying creating internal properties until they're used
github.com/Automattic/mongoo…#NodeJS#MongoDB
Mongoose 6.0.6 includes a major reduction of document memory overhead, up to 30%
We have a docs example that shows the memory overhead of documents vs POJOs. We reduced memory usage so much we made that test fail 😅😂
github.com/Automattic/mongoo…#NodeJS#MongoDB#JavaScript
Mongoose's `sanitizeFilter` isn't just a query option. We also export `sanitizeFilter()` as a function, so you can use `sanitizeFilter()` to only partially sanitize query filters.
API docs: mongoosejs.com/docs/api/mong…#NodeJS#MongoDB#JavaScript
Mongoose 5.13.9 released. Legacy release for v5.x with a few bug fixes:
🛠️ Avoid setting empty array on lean document when populate result is undefined
🛠️ Make depopulate() handle paths under document arrays
Full changelog: github.com/Automattic/mongoo…#NodeJS#MongoDB#JavaScript