dependabot npm(deps): bump mongoose from 7.5.0 to 7.5.3
Bumps mongoose from 7.5.0 to 7.5.3.
Release notes
Sourced from mongoose's releases.
7.5.3 / 2023-09-25
- fix(document): handle MongoDB Long when casting BigInts #13869 #13791
- fix(model): make bulkSave() persist changes that happen in pre('save') middleware #13885 #13799
- fix: handle casting $elemMatch underneath $not underneath another $elemMatch #13893 #13880
- fix(model): make bulkWrite casting respect global setDefaultsOnInsert #13870 #13823
- fix(document): handle default values for discriminator key with embedded discriminators #13891 #13835
- fix: account for null values when assigning isNew property within document array #13883
- types: avoid "interface can only extend object types with statically known members" error in TypeScript 4 #13871
- docs(deprecations): fix typo in includeResultMetadata deprecation docs #13884 #13844
- docs: fix pre element overflow in home page #13868 ghoshRitesh12
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
Changelog
Sourced from mongoose's changelog.
7.5.3 / 2023-09-25
- fix(document): handle MongoDB Long when casting BigInts #13869 #13791
- fix(model): make bulkSave() persist changes that happen in pre('save') middleware #13885 #13799
- fix: handle casting $elemMatch underneath $not underneath another $elemMatch #13893 #13880
- fix(model): make bulkWrite casting respect global setDefaultsOnInsert #13870 #13823
- fix(document): handle default values for discriminator key with embedded discriminators #13891 #13835
- fix: account for null values when assigning isNew property within document array #13883
- types: avoid "interface can only extend object types with statically known members" error in TypeScript 4 #13871
- docs(deprecations): fix typo in includeResultMetadata deprecation docs #13884 #13844
- docs: fix pre element overflow in home page #13868 ghoshRitesh12
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
Commits
-
5a53e62
chore: release 7.5.3 -
cb2c819
Merge pull request #13893 from Automattic/vkarpov15/gh-13880 -
3dc87cb
fix: handle casting$elemMatch
underneath$not
underneath another `$elemM... -
d8429aa
Merge pull request #13885 from Automattic/vkarpov15/gh-13799 -
9477860
style: fix lint -
eee5ac1
Merge pull request #13868 from ghoshRitesh12/master -
f9e5043
Merge branch 'master' into vkarpov15/gh-13799 -
f4fc8a7
Merge pull request #13891 from Automattic/vkarpov15/gh-13835 -
97970cb
fix: use consistent null check instead of falsy check -
8b1e4e2
fix(document): handle default values for discriminator key with embedded disc... - Additional commits viewable in compare view