🚨 New feature PR for Mongoose: Union schema type!
Define fields like { type: 'Union', of: [Number, Date] } and Mongoose will cast in order until one matches. Supports queries, updates, and setters.
Feedback welcome! 👉 github.com/Automattic/mongoo…
Mongoose 8.16.5 released
🛠️ Avoid throwing required error if saving map of primitives with required: true
📑 Export MongooseBulkWriteResult type
github.com/Automattic/mongoo…
Mongoose Studio v0.0.105 released, with my new favorite feature: Create Dashboard from chat tab
Created a useful visualization that you want to save for later? Click "Create Dashboard", and now you can save the visualization to a dashboard you can share with your team
Are you currently hiring for a role that includes using Node.js? Reply with a link to the opening and any relevant context.
If you're not, we'd appreciate a repost for visibility 💚
Mongoose 8.16.2 released
🛠️ Populate after hydrating in queryCursor so populated docs get parent()
🛠️ Support toJSONSchema() on mixed types and improve error message about unsupported types
github.com/Automattic/mongoo…
Mongoose 8.16.1 released
🛠️ Avoid setting _skipMarkModified when setting nested path with merge option
🛠️ Make sure post save error handler gets doc as param on VersionError
github.com/Automattic/mongoo…
Mongoose 8.15.2 released
🛠️ Improve handling for setting paths underneath maps, including maps of maps
🛠️ Report default paths in VersionError message because they can can cause VersionError
github.com/Automattic/mongoo…
Big news: we're officially starting to test multiple Mongoose require() instances
Should mean fewer bugs when your installer happens to install multiple copies of Mongoose
github.com/Automattic/mongoo…
The future of data analysis is here
Spoiler: it isn't SQL or any other QL. It isn't forms or menus.
It's a natural language chat interface where you can build queries, charts, etc.
Link to demo: studio.mongoosejs.io/imdb/#/
Video:
Valeri Karpov
Founder+CEO @ MeanIT Software
Presented:
Mongoose Studio: The AI-Enabled MongoDB GUI
Val demo’d a new feature to Mongoose Studio — a ChatGPT-like UI that lets you describe what you want to do, verify the LLM-generated code, and see the result in one view.
More big changes coming for Mongoose 9: autocomplete for query operators
github.com/Automattic/mongoo…
So pumped for this one. We had to scrap it for backwards compatibility in 8.3.