7.5.1 / 2023-09-11
- fix: set default value for _update when no update object is provided and versionKey is set to false #13795 #13783 MohOraby
- fix: avoid unexpected error when accessing null array element on discriminator array when populating #13716 ZSabakh
- types(schematypes): use DocType for instance method this #13822 #13800 pshaddel
- types: remove duplicated 'exists' method in Model interface in models.d.ts #13818 ohzeno
- docs(model): replace outdated docs on deprecated findOneAndUpdate() overwrite option #13821 #13715
- docs: add example of using
virtuals.pathsToSkip
option fortoObject()
andtoJSON()
#13798 RobertHunter-Pluto