dependabot npm(deps): bump mongoose from 7.1.1 to 7.2.0
Bumps mongoose from 7.1.1 to 7.2.0.
Release notes
Sourced from mongoose's releases.
7.2.0 / 2023-05-19
- feat: upgrade mongodb -> 5.5.0
- feat(document): add flattenObjectIds option to toObject() and toJSON() #13383 #13341
- feat(query): add translateAliases option to automatically call translate aliases on query fields #13397 #8678 #7511
- feat(schema): propagate toObject and toJSON options to implicitly created schemas #13325
- feat(model): add throwOnValidationError option for opting into getting MongooseBulkWriteError if all valid operations succeed in bulkWrite() and insertMany() #13410 #13256
- feat(types+mongoose): export MongooseError #13403 #13387 ramos-ph
7.1.2 / 2023-05-18
- fix: set timestamps on single nested subdoc in insertMany() #13416 #13343
- fix: mention model name in missing virtual option in getModelsMapForPopulate #13408 #13406 hasezoey
- fix: custom debug function not processing all args #13418 #13364
- docs: add virtuals schema options #13407 hasezoey
- docs: clarify
JSON.stringify()
virtuals docs #13273 iatenine
Changelog
Sourced from mongoose's changelog.
7.2.0 / 2023-05-19
- feat: upgrade mongodb -> 5.5.0
- feat(document): add flattenObjectIds option to toObject() and toJSON() #13383 #13341
- feat(query): add translateAliases option to automatically call translate aliases on query fields #13397 #8678 #7511
- feat(schema): propagate toObject and toJSON options to implicitly created schemas #13325
- feat(model): add throwOnValidationError option for opting into getting MongooseBulkWriteError if all valid operations succeed in bulkWrite() and insertMany() #13410 #13256
- feat(types+mongoose): export MongooseError #13403 #13387 ramos-ph
7.1.2 / 2023-05-18
- fix: set timestamps on single nested subdoc in insertMany() #13416 #13343
- fix: mention model name in missing virtual option in getModelsMapForPopulate #13408 #13406 hasezoey
- fix: custom debug function not processing all args #13418 #13364
- docs: add virtuals schema options #13407 hasezoey
- docs: clarify
JSON.stringify()
virtuals docs #13273 iatenine
Commits
-
610eed2
chore: release 7.2.0 -
71162ef
Merge pull request #13420 from Automattic/7.2 -
3a333f8
Merge branch 'master' into 7.2 -
8b41e8a
Merge pull request #13410 from Automattic/vkarpov15/gh-13256 -
06cd519
chore: release 7.1.2 -
cc2adec
test: fix some code review comments -
722ab43
Merge pull request #13418 from Automattic/IslandRhythms/gh-13364 -
02fd721
Merge pull request #13408 from hasezoey/addModelNameToError -
23579f2
Merge pull request #13415 from hasezoey/testMd5Check -
05eca74
Update collection.js - Additional commits viewable in compare view