Pinned Tweet
Mongoose 9.0.0 released!
Better autocomplete for create() and query filters
Full async stack traces
Native UUIDs
20% smaller bundle size
github.com/Automattic/mongoo…
Mongoose 8.24.6 released
🛠️ Compare dates by value in indexOf() so pull() removes them
🛠️ Preserve circular arrays when cloning with a seen map
github.com/Automattic/mongoo…
MCP server for your Mongoose schemas 😎👇
Big news: Mongoose Studio v0.6.0 comes with a built-in MCP server.
Give agents access to MongoDB with RBAC, OAuth, query timeouts, and script review URLs.
Learn more 👉 mongoosestudio.app/changelog…
Mongoose 9.11.2 released
🏎️ Avoid applying saveSubdocs and sharding plugins to subdocuments
🏎️ Upgrade to [email protected] for mongoosejs/kareem#47
github.com/Automattic/mongoo…
As part of the Cloudflare acquisition, Deno has announced that they will no longer support the Deno runtime
Because of this, Mongoose is considering dropping support for Deno in our next major release. If you have comments, please drop a note in this PR: github.com/Automattic/mongoo…
We are excited to announce that Deno is joining Cloudflare!
deno.com/blog/cloudflare
Mongoose 9.11.1 released
🛠️ Call recursive toObject() when setting a path to a nested object
🛠️ Keep casting array filters after a path not in the schema
github.com/Automattic/mongoo…
Mongoose 9.11.0 released
🌟 Use MongoDB Node.js driver 7.7.x
🌟 Avoid double-calling validators on document arrays underneath nested paths - rewrite of internal _getPathsToValidate() logic for more consistency and slightly better perf
github.com/Automattic/mongoo…
Mongoose 8.24.5 released
🛠️ Handle MongoDB server 9.x returning collation: { locale: 'simple' } on all indexes
🛠️ Reindex subdocs after addToSet() skips a duplicate
github.com/Automattic/mongoo…
Mongoose 9.10.4 released with a bug fix for syncIndexes with MongoDB server 9.x
🛠️ Handle MongoDB server 9.x returning collation: { locale: 'simple' } on all indexes
🛠️ Resolve dotted parent path when collecting deferred sub-populate children
github.com/Automattic/mongoo…
Mongoose 9.10.3 released
🛠️ Preserve unsaved documents after ordered bulkSave errors
🛠️ Don't mutate the caller's update object in bulkWrite updateMany
github.com/Automattic/mongoo…
An agent can reason perfectly and still make the wrong call if its data is stale.
As AI moves from generating answers to taking action, the data layer needs to keep up.
Today, we’re announcing the largest expansion of our platform yet:
✨ MongoDB 9.0: the fastest, most performant version of MongoDB we’ve ever built, designed for applications and agents that act on live data.
✨ Atlas Infinite: a new deployment option built for highly elastic workloads, allowing storage and compute to scale independently as demand changes.
✨ Atlas Agent Engine: provides the memory, runtime, and governance needed to operate agents in production, on the same data foundation customers already trust and open to any model, framework, or cloud.
Learn more: mongodb.social/6017BGq7l9
Mongoose 9.10.2 released
🛠️ Drop subpaths and singleNestedPaths when a path is removed
🛠️ Register path-level setters on Map paths
github.com/Automattic/mongoo…
LLMs love adding defaults to all Mongoose fields. This is an anti-pattern!
Null fields are still stored in MongoDB, transferred over the wire from MongoDB, and end up in JSON. Wastes space and bandwidth.
Defaults should be used for meaningful values not placeholders
Mongoose 9.10.1 released
📒 Relax populate Model generics to allow typed virtuals to be passed to populate() in TypeScript 7 with skipLibCheck
github.com/Automattic/mongoo…
Mongoose 9.10.0 released
🌟 Use MongoDB Node driver 7.6
🌟 Add Model.findAndCount()
🌟 Add Schema.prototype.queryHelper() to make it easier to define query helpers in TypeScript
📒 Support for type narrowing when using projection in find and findOne
github.com/Automattic/mongoo…
Mongoose 9.9.5 released
🛠️ Pass schema through when casting a nested $expr comparison
🛠️ Build the dotted path correctly in isPathSelectedInclusive
🛠️ Replace {MODEL} in custom cast error messages from document validation
github.com/Automattic/mongoo…
New docs on Atlas text search and vector search now live on mongoosejs.com!
mongoosejs.com/docs/atlas-ve…
mongoosejs.com/docs/atlas-se…
Mongoose 9.9.4 released
🛠️ Set strictQuery and strict on _mongooseOptions consistently
🛠️ Use the doc model for looking up a ref on a subdocument
github.com/Automattic/mongoo…
mongoosejs retweeted
I put together a Mongoose benchmarks website, showcasing some of the performance improvements we've made in @mongoosejs over recent years. Check it out!
benchmarks.mongoosejs.io/
Mongoose 8.24.4 released
🛠️ Prevent indexes and callQueue duplication with shared nested schemas
github.com/Automattic/mongoo…







