dependabot npm(deps): bump mongoose from 8.5.2 to 8.5.3
Bumps mongoose from 8.5.2 to 8.5.3.
Release notes
Sourced from mongoose's releases.
8.5.3 / 2024-08-13
- fix(document): call required functions on subdocuments underneath nested paths with correct context #14801 #14788
- fix(populate): avoid throwing error when no result and
lean()
set #14799 #14794 #14759 MohOraby- fix(document): apply virtuals to subdocuments if parent schema has virtuals: true for backwards compatibility #14774 #14771 #14623 #14394
- types: make HydratedSingleSubdocument and HydratedArraySubdocument merge types instead of using & #14800 #14793
- types: support schema type inference based on schema options timestamps as well #14773 #13215 ark23CIS
- types(cursor): indicate that cursor.next() can return null #14798 #14787
- types: allow mongoose.connection.db to be undefined #14797 #14789
- docs: add schema type widening advice #14790 JstnMcBrd
Changelog
Sourced from mongoose's changelog.
8.5.3 / 2024-08-13
- fix(document): call required functions on subdocuments underneath nested paths with correct context #14801 #14788
- fix(populate): avoid throwing error when no result and
lean()
set #14799 #14794 #14759 MohOraby- fix(document): apply virtuals to subdocuments if parent schema has virtuals: true for backwards compatibility #14774 #14771 #14623 #14394
- types: make HydratedSingleSubdocument and HydratedArraySubdocument merge types instead of using & #14800 #14793
- types: support schema type inference based on schema options timestamps as well #14773 #13215 ark23CIS
- types(cursor): indicate that cursor.next() can return null #14798 #14787
- types: allow mongoose.connection.db to be undefined #14797 #14789
- docs: add schema type widening advice #14790 JstnMcBrd
Commits
-
7c5b62b
chore: release 8.5.3 -
2291182
Merge pull request #14803 from Automattic/vkarpov15/gh-1635 -
c3bd03e
Merge pull request #14800 from Automattic/vkarpov15/gh-14793 -
9742d5a
Merge pull request #14801 from Automattic/vkarpov15/gh-14788 -
28b50f0
fix(document): make sure depopulate does not convert hydrated arrays to vanil... -
1472719
fix(document): call required functions on subdocuments underneath nested path... -
f98b463
Merge pull request #14799 from MohOraby/fix/gh-14794 -
a9ff3f1
types: make HydratedSingleSubdocument and HydratedArraySubdocument merge type... -
0cb96b9
check if rawDocs[key] and val are instance of Document -
4fa87e9
Merge pull request #14798 from Automattic/vkarpov15/gh-14787 - Additional commits viewable in compare view