Sourced from mongoose's releases.
7.5.2 / 2023-09-15
- fix(schema): handle number discriminator keys when using Schema.prototype.discriminator() #13858 #13788
- fix: ignore
id
property when callingset()
with bothid
and_id
specified to avoidid
setter overwriting #13762- types: pass correct document type to required and default function #13851 #13797
- docs(model): add examples of using diffIndexes() to syncIndexes()and diffIndexes() api docs #13850 #13771
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
Sourced from mongoose's changelog.
7.5.2 / 2023-09-15
- fix(schema): handle number discriminator keys when using Schema.prototype.discriminator() #13858 #13788
- fix: ignore
id
property when callingset()
with bothid
and_id
specified to avoidid
setter overwriting #13762- types: pass correct document type to required and default function #13851 #13797
- docs(model): add examples of using diffIndexes() to syncIndexes()and diffIndexes() api docs #13850 #13771
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
6148d96
chore: release 7.5.2f9bfae0
Merge pull request #13858 from Automattic/vkarpov15/gh-137884c38056
style: fix lintaa90acd
fix(schema): handle number discriminator keys when using `Schema.prototype.di...87619d0
Merge pull request #13854 from Automattic/IslandRhythms/gh-13762a6d4213
Merge branch 'master' into IslandRhythms/gh-1376271bbf64
Merge pull request #13851 from pshaddel/master64cec02
Merge branch 'master' into masterc27500b
Merge pull request #13850 from Automattic/vkarpov15/gh-13771cf576fc
Update document.js