dependabot npm(deps): bump mongoose from 7.4.2 to 7.4.3
Bumps mongoose from 7.4.2 to 7.4.3.
Release notes
Sourced from mongoose's releases.
7.4.3 / 2023-08-11
- fix: avoid applying map property getters when saving #13704 #13657
- fix(query): allow deselecting discriminator key #13722 #13679
- types(models+query): return lean type when passing QueryOptions with lean: true to relevant model functions like find() and findOne() #13721 #13705
- types(schema): correct return type for Schema.prototype.indexes() #13718 #13702
- types: allow accessing options from pre middleware #13708 #13633
- types: add UpdateQueryKnownOnly type for stricter UpdateQuery type checking #13699 #13630
- types(schema): support required: { isRequired: true } syntax in schema definition #13680
- docs(middleware): clarify that doc.deleteOne() doesn't run query middleware currently #13707 #13669
Changelog
Sourced from mongoose's changelog.
7.4.3 / 2023-08-11
- fix: avoid applying map property getters when saving #13704 #13657
- fix(query): allow deselecting discriminator key #13722 #13679
- types(models+query): return lean type when passing QueryOptions with lean: true to relevant model functions like find() and findOne() #13721 #13705
- types(schema): correct return type for Schema.prototype.indexes() #13718 #13702
- types: allow accessing options from pre middleware #13708 #13633
- types: add UpdateQueryKnownOnly type for stricter UpdateQuery type checking #13699 #13630
- types(schema): support required: { isRequired: true } syntax in schema definition #13680
- docs(middleware): clarify that doc.deleteOne() doesn't run query middleware currently #13707 #13669
Commits
-
86d6009
chore: release 7.4.3 -
513340a
Merge pull request #13721 from Automattic/vkarpov15/gh-13705 -
48edaf1
Merge pull request #13722 from Automattic/vkarpov15/gh-13679 -
d783c03
fix(query): allow deselecting discriminator key -
d348ce9
types(models+query): returnlean
type when passing QueryOptions with `lean:... -
a88b73f
Merge pull request #13718 from Automattic/vkarpov15/gh-13702 -
56dfead
types(schema): correct return type forSchema.prototype.indexes()
-
35d0978
Merge pull request #13708 from Automattic/vkarpov15/gh-13633 -
7287420
Merge pull request #13707 from Automattic/vkarpov15/gh-13669 -
2b143d3
Merge pull request #13704 from Automattic/vkarpov15/gh-13657 - Additional commits viewable in compare view