You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,12 @@
1
+
7.5.1 / 2023-09-11
2
+
==================
3
+
* fix: set default value for _update when no update object is provided and versionKey is set to false #13795#13783[MohOraby](https://github.com/MohOraby)
4
+
* fix: avoid unexpected error when accessing null array element on discriminator array when populating #13716[ZSabakh](https://github.com/ZSabakh)
5
+
* types(schematypes): use DocType for instance method this #13822#13800[pshaddel](https://github.com/pshaddel)
6
+
* types: remove duplicated 'exists' method in Model interface in models.d.ts #13818[ohzeno](https://github.com/ohzeno)
* docs: add example of using `virtuals.pathsToSkip` option for `toObject()` and `toJSON()`#13798[RobertHunter-Pluto](https://github.com/RobertHunter-Pluto)
* toDrop; // Array of strings containing names of indexes that `syncIndexes()` will drop
1501
+
* toCreate; // Array of strings containing names of indexes that `syncIndexes()` will create
1502
+
*
1486
1503
* @param {Object} [options]
1487
-
* @returns {Promise} which contains an object, {toDrop, toCreate}, which
1488
-
* are indexes that would be dropped in MongoDB and indexes that would be created in MongoDB.
1504
+
* @return {Promise<Object>} contains the indexes that would be dropped in MongoDB and indexes that would be created in MongoDB as `{ toDrop: string[], toCreate: string[] }`.
0 commit comments