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 patch release fixes potential query injection vulnerabilities by ensuring `sanitizeFilter` is properly applied to `countDocuments` and cursor operations.
Users relying on `countDocuments` or cursor operations with untrusted input are affected by potential query injection vulnerabilities.
Update to version 6.13.11 to ensure proper query sanitization in `countDocuments` and cursor operations.
This release fixes an issue where `sanitizeFilter` was not being applied in `countDocuments` and cursor operations.
Users relying on `sanitizeFilter` in `countDocuments` or cursor operations are affected.
Upgrade to version 7.8.12 to ensure `sanitizeFilter` is applied correctly.
This release fixes the application of `sanitizeFilter` on `countDocuments` and `cursor()` methods.
Users relying on `countDocuments` and `cursor()` methods with `sanitizeFilter` are affected.
Update to version 8.24.3 to ensure `sanitizeFilter` is correctly applied.
This release focuses on bug fixes and performance improvements, including enhancements to query sanitization, transaction retries, and schema handling.
Users relying on query sanitization, transaction retries, or schema handling may be affected by these fixes.
Upgrade to version 9.9.2 to benefit from the latest fixes and improvements.
This release includes fixes for query path collisions and improves TypeScript support for overriding schema-level `lean` options.
Developers using nested subdocuments with `select: false` paths or TypeScript with schema-level `lean` options are affected.
Update to version 9.9.1 to benefit from the fixes and improvements.
Mongoose 9.9.0 focuses on performance optimizations, particularly for toObject() and insertMany() operations, along with TypeScript type improvements for discriminator keys.
Developers using Mongoose for document operations and insertMany() may see performance improvements.
Upgrade to benefit from performance improvements, especially if using toObject() or insertMany() frequently.
This release includes a fix for subdocument handling to prevent empty document array elements from being minimized to null, and corrects the return type of `Model.validate()` in TypeScript definitions.
Users relying on subdocument arrays or TypeScript definitions for `Model.validate()` may be affected.
Update to version 8.24.2 to benefit from the fixes.
This release focuses on performance optimizations and bug fixes, including improvements to document validation and query handling. It also includes TypeScript enhancements and documentation clarifications.
Developers using Mongoose for document validation and query handling may see performance improvements.
Upgrade to version 9.8.1 to benefit from performance optimizations and bug fixes.
This release introduces a new `strictRead` schema option to filter or throw on unknown fields during document hydration, upgrades the MongoDB Node.js driver to version 7.5, and includes several bug fixes related to subdocuments, version keys, and casting.
Developers using Mongoose schemas and MongoDB Node.js driver are affected by the new features and bug fixes.
Update to version 9.8.0 to benefit from the new features and bug fixes.
Fixed an issue with merging single nested paths and document array paths outside of discriminator schema merges.
Users experiencing issues with merging single nested paths or document array paths outside discriminator schemas may be affected.
Update to version 7.8.11 if you encounter related issues.
Fixed type handling for nested objects and `this` parameters in methods with `versionKey`. Added documentation for Windows connection errors.
Developers using nested object types or `this` parameters in methods with `versionKey` may be affected by the fixes.
Update to version 9.7.4 if experiencing issues with nested object types or `this` parameter handling.
Fixed Model.validate() return type to Promise<TRawDocType> and updated StandardSchema types usage.
Developers using Model.validate() might need to update their code due to the corrected return type.
Check and update code that relies on Model.validate() return types.
This release includes defensive checks for special properties in Document.prototype.get() and avoids returning inherited properties from schema path lookups.
Users relying on Document.prototype.get() with special properties or inherited schema path properties may be affected.
Review any usage of Document.prototype.get() with special properties or inherited schema path properties to ensure compatibility.
This release primarily contains bug fixes related to document array reindexing, property access in documents, schema path lookups, and array cloning.
Developers using document arrays, schema path lookups, or array cloning in Mongoose may be affected by the fixes.
Update to this version to benefit from the bug fixes if you encounter issues with document arrays, property access, or array cloning.
This release includes fixes for document array reindexing, document property access, and schema type lookups.
Users relying on document array reindexing or schema type lookups may be affected.
Update to version 9.7.2 if you encounter issues with document array reindexing or schema type lookups.
This release improves save performance and fixes schema and populate issues. It also updates documentation with MongoDB Knowledge integration.
Users may see improved save performance and reduced BSON size errors in populate operations.
Update to benefit from performance improvements and bug fixes.
This release introduces Node.js TracingChannel support for APM instrumentation and adds a standard schema adapter for models. It also includes several bug fixes and documentation improvements.
Developers using APM instrumentation or needing schema adapters for models will benefit from this release.
This release focuses on bug fixes and minor improvements, including isolating cloned arrays, preserving user-provided `$setOnInsert.createdAt`, and enhancing error validators. It also includes TypeScript updates and documentation improvements.
Developers using Mongoose for document cloning, updates, and schema validation may be affected by these fixes.
Update to version 9.6.3 to benefit from bug fixes and TypeScript improvements.
This release introduces a new helper for reusing pipelines with `$unionWith` in TypeScript, fixes an issue with `watch()` on disconnected connections, and improves TypeScript compatibility with `exactOptionalPropertyTypes`.
Developers using TypeScript with Mongoose and those working with `$unionWith` pipelines or disconnected connections are affected.
Update to version 8.24.0 to benefit from the new helper and fixes.
This release includes fixes for handling modified subpaths when a parent path is unset, improvements to TypeScript compatibility with `exactOptionalPropertyTypes`, and alignment of Node version documentation and types.
Developers using Mongoose with modified subpaths or TypeScript with `exactOptionalPropertyTypes` are affected.
Update to version 9.6.2 to benefit from the fixes and improvements.