what stackpulse tracks
Mongoose releases from GitHub
StackPulse watches Mongoose release notes and keeps the original source link close to every summary.
MongoDB object modeling for Node.js StackPulse turns upstream changelogs into scannable summaries with risky changes, deprecations, migration notes, and source links.
what stackpulse tracks
StackPulse watches Mongoose release notes and keeps the original source link close to every summary.
upgrade risk
Risky changes are separated from normal feature notes so you can scan upgrade impact before changing production dependencies.
migration notes
Migration steps and recommended actions are only shown when the upstream release notes support them.
This release fixes setting dotted paths at least three levels deep beneath single nested subdocuments. It also fixes connection behavior so a primary ReadPreference instance does not disable autoIndex or autoCreate.
Applications using deeply nested single subdocuments or a primary ReadPreference instance may be affected by these fixes.
This release improves performance in update validation, MongooseMap construction, and source handling. It also fixes issues involving array pushes, cloned-query options, timestamps on subdocuments, validation paths, array validators, and cursor destruction.
Mongoose users may see faster validation and map construction, along with more consistent behavior for updates, queries, and cursors.
Mongoose 9.12.0 upgrades to MongoDB driver 7.8 and improves document-array performance by caching paths with defaults and schemas with select paths, while avoiding unnecessary modification-state lookups. It also fixes schema recompilation cache handling and UUID comparisons in array operations.
Mongoose users receive the MongoDB driver upgrade, document-array performance improvements, and fixes to schema recompilation and UUID handling.
This release fixes several issues in schema handling, Mongoose maps, hydration, and document validation. It also ensures setters declared on union paths run correctly.
Mongoose 8.x users may see more reliable map operations, schema cloning and cleanup, reference lookup during hydration, validation error messages, and union-path setters.
This release hardens Mongoose against prototype-related risks in document hydration, dotted-path updates, discriminator lookup, and query helpers. It also fixes query sanitization behavior and blocks special properties in virtual definitions and query paths.
Mongoose users are affected, particularly those using query helpers, document hydration, dotted paths, updates, discriminators, or virtuals involving special property names.
Upgrade to Mongoose 9.11.4 to receive the prototype-pollution protections and query sanitization fix.
This release hardens Mongoose against prototype pollution and unsafe handling of special or inherited properties. It also fixes query sanitization behavior and updates mquery to address a prototype-pollution vulnerability in query helpers.
Mongoose users handling documents, schemas, or queries involving inherited or special properties are affected by these safety fixes.
Upgrade to Mongoose 8.24.7 to receive the prototype-pollution protections and query sanitization fix.
This release includes several bug fixes related to update operations, model validation, and connection settings. Documentation updates remove references to outdated MongoDB versions.
Users relying on nested object validation, upsert operations, or connection settings may be affected.
Update to version 9.11.3 to benefit from bug fixes.
This release includes several bug fixes addressing issues with array handling, query casting, and subdocument path collisions.
Users experiencing issues with array comparisons, circular arrays, or query casting may be affected.
This release focuses on performance improvements and bug fixes, including optimizations for subdocument handling and array filter casting in bulk operations.
Developers using Mongoose for subdocument handling or bulkWrite operations may benefit from performance improvements and bug fixes.
Upgrade to version 9.11.2 to benefit from performance optimizations and bug fixes.
This release focuses on bug fixes and improvements, particularly around document handling, query casting, and cursor management. Several edge cases related to nested objects, array filters, and schema discriminators were addressed.
Users experiencing issues with nested object handling, query casting, or cursor management will benefit from these fixes.
Upgrade to version 9.11.1 if you encounter any of the specific issues addressed in this release.
This release upgrades the MongoDB Node.js driver to 7.7.x and introduces new features like paginated query support with findAndCount(). It also includes type improvements for lean queries and fixes for document array validation.
Users leveraging Mongoose with MongoDB Node.js driver or needing paginated queries are affected.
Update to version 9.11.0 to leverage new features and fixes.
This release includes fixes for handling MongoDB server 9.x collation issues and reindexing subdocuments after `addToSet()` operations.
Users working with MongoDB server 9.x or using `addToSet()` on document arrays may be affected.
Upgrade to version 8.24.5 to benefit from the fixes.
This release includes several fixes for handling MongoDB server 9.x collation, populate operations, array date comparisons, Map operations, and query expressions.
Users of Mongoose with MongoDB server 9.x or those using specific features like populate, array operations, Map, or query expressions may be affected by the fixes.
Upgrade to version 9.10.4 to benefit from the fixes.
This release focuses on bug fixes related to document preservation, update object mutation, schema setters, collection handling, and error message casting.
Developers using Mongoose for document handling, bulk operations, and schema setters may be affected by these fixes.
Update to version 9.10.3 to benefit from the bug fixes.
This patch release fixes several schema and model-related issues, including handling of subpaths when removing paths, registering setters on Map paths, and preserving circular arrays during cloning.
Developers using Mongoose schemas with subpaths, Map paths, or circular arrays may be affected by fixes in this release.
Update to version 9.10.2 if you encounter issues with schema path removal, Map path setters, or circular array cloning.
This release improves TypeScript support by relaxing populate Model generics to better handle typed virtuals when using TypeScript 7 with skipLibCheck.
TypeScript users leveraging typed virtuals with populate may be affected.
TypeScript users should update to take advantage of improved type support.
This release introduces several new features including pagination helpers, improved TypeScript support for query helpers, and middleware customization options. It also includes an upgrade to MongoDB driver 7.6.0 and various type improvements.
Developers using Mongoose for MongoDB interactions, especially those needing pagination, query helpers, or middleware customization, will benefit from the new features.
Upgrade to take advantage of new pagination, query helper, and middleware features.
This patch release fixes several bugs including nested $expr comparison casting, projection path building, and custom cast error message handling. It also includes TypeScript type improvements for listSearchIndexes().
Users relying on nested $expr comparisons, projection path building, or custom cast error messages may be affected.
Update to version 9.9.5 to benefit from bug fixes.
This release focuses on bug fixes and improvements to schema handling, particularly around map paths and document hydration. It also includes performance optimizations for bulk save operations and updates to documentation.
Developers using Mongoose schemas with map paths or nested documents may benefit from the bug fixes and improvements.
Upgrade to version 9.9.4 to benefit from the latest bug fixes and improvements.
This release fixes an issue with discriminators where shared nested schemas could lead to duplicate indexes and callQueues. The fix is a backport from the 8.x branch.
Users with shared nested schemas in discriminators may be affected by index and callQueue duplication issues.
Update to version 8.24.4 to prevent index and callQueue duplication issues with shared nested schemas in discriminators.