dependabot npm(deps): bump mongoose from 8.7.1 to 8.7.2
Bumps mongoose from 8.7.1 to 8.7.2.
Release notes
Sourced from mongoose's releases.
8.7.2 / 2024-10-17
- fix(document): recursively clear modified subpaths when setting deeply nested subdoc to null #14963 #14952
- fix(populate): handle array of ids with parent refPath #14965
- types: make Buffers into mongodb.Binary in lean result type to match runtime behavior #14967
- types: correct schema type inference when using nested typeKey like type: { type: String } #14956 #14950
- types: re-export DeleteResult and UpdateResult from MongoDB Node.js driver #14947 #14946
- docs(documents): add section on setting deeply nested properties, including warning about nullish coalescing assignment #14972
- docs(model): add more info on acknowledged: false, specifically that Mongoose may return that if the update was empty #14957
Changelog
Sourced from mongoose's changelog.
8.7.2 / 2024-10-17
- fix(document): recursively clear modified subpaths when setting deeply nested subdoc to null #14963 #14952
- fix(populate): handle array of ids with parent refPath #14965
- types: make Buffers into mongodb.Binary in lean result type to match runtime behavior #14967
- types: correct schema type inference when using nested typeKey like type: { type: String } #14956 #14950
- types: re-export DeleteResult and UpdateResult from MongoDB Node.js driver #14947 #14946
- docs(documents): add section on setting deeply nested properties, including warning about nullish coalescing assignment #14972
- docs(model): add more info on acknowledged: false, specifically that Mongoose may return that if the update was empty #14957
Commits
-
830b010
chore: release 8.7.2 -
61179b4
Merge pull request #14972 from Automattic/vkarpov15/gh-14944 -
94b2873
Merge pull request #14963 from Automattic/vkarpov15/gh-14952 -
562aabd
Merge pull request #14965 from Automattic/vkarpov15/refpath-ids -
e6119de
docs(documents): add section on setting deeply nested properties, including w... -
de211db
Merge pull request #14967 from Automattic/vkarpov15/gh-14902 -
0b152ee
recursively convert buffer to binary -
8825b76
types: make Buffers into mongodb.Binary in lean result type to match runtime ... -
304c791
fix(populate): handle array of ids with parent refPath -
0752c5d
Merge pull request #14956 from Automattic/vkarpov15/gh-14950 - Additional commits viewable in compare view