Releases: Automattic/mongoose
Releases · Automattic/mongoose
7.8.6
7.8.6 / 2025-01-20
- chore: remove coverage output from bundle
7.8.5
7.8.5 / 2025-01-20
- chore: re-release to force npm audit to pick up 6.x fix for CVE-2025-23061
6.13.8
6.13.8 / 2025-01-20
- chore: remove coverage output from bundle
6.13.7
6.13.7 / 2025-01-20
- chore: re-release to force npm audit to pick up 6.x fix for CVE-2025-23061
8.9.5
7.8.4
7.8.4 / 2025-01-13
- fix: disallow nested $where in populate match
6.13.6
6.13.6 / 2025-01-13
- fix: disallow nested $where in populate match
8.9.4
8.9.4 / 2025-01-09
- fix(document): fix document not applying manual populate when using a function in schema.options.ref #15138 IchirokuXVI
- fix(model): make Model.validate() static correctly cast document arrays #15169 #15164
- fix(model): allow passing validateBeforeSave option to bulkSave() to skip validation #15161 #15156
- fix(schema): allow multiple self-referencing discriminator schemas using Schema.prototype.discriminator #15142 #15120
- types: avoid BufferToBinary<> wiping lean types when passed to generic functions #15160 #15158
- docs: fix <code> in header ids #15159
- docs: fix header in field-level-encryption.md #15137 damieng
8.9.3
8.9.3 / 2024-12-30
- fix(schema): make duplicate index error a warning for now to prevent blocking upgrading #15135 #15112 #15109
- fix(model): handle document array paths set to non-array values in Model.castObject() #15124 #15075
- fix(document): avoid using childSchemas.path for compatibility with pre-Mongoose-8.8 schemas #15131 #15071
- fix(model): avoid throwing unnecessary error if updateOne() returns null in save() #15126
- perf(cursor): clear the stack every time if using populate with batchSize to avoid stack overflows with large docs #15136 #10449
- types: make BufferToBinary avoid Document instances #15123 #15122
- types(model+query): avoid stripping out virtuals when calling populate with paths generic #15132 #15111
- types(schema): add missing removeIndex #15134
- types: add cleanIndexes() to IndexManager interface #15127
- docs: move search endpoint to netlify #15119
8.9.2
8.9.2 / 2024-12-19
- fix(schema): avoid throwing duplicate index error if index spec keys have different order or index has a custom name #15112 #15109
- fix(map): clean modified subpaths when overwriting values in map of subdocs #15114 #15108
- fix(aggregate): pull session from transaction local storage for aggregation cursors #15094 IchirokuXVI
- types: correctly handle union types in BufferToBinary and related helpers #15103 #15102 #15057
- types: add UUID to RefType #15115 #15101
- docs: remove link to Mongoose 5.x docs from dropdown #15116
- docs(connection+document+model): remove remaining references to remove(), clarify that deleteOne() does not execute until then() or exec() #15113 #15107