dependabot npm(deps): bump mongoose from 6.8.0 to 6.8.1
Bumps mongoose from 6.8.0 to 6.8.1.
Release notes
Sourced from mongoose's releases.
6.8.1 / 2022-12-19
- fix(query): avoid throwing circular dependency error if same object is used in multiple properties #12774 orgads
- fix(map): return value from super.delete() #12777 danbrud
- fix(populate): handle virtual populate underneath document array with justOne=true and sort set where 1 element has only 1 result #12815 #12730
- fix(update): handle embedded discriminators when casting array filters #12802 #12565
- fix(populate): avoid calling transform if there's no populate results and using lean #12804 #12739
- fix(model): prevent index creation on syncIndexes if not necessary #12785 #12250 lpizzinidev
- fix(types): correctly infer this when using pre('updateOne') with { document: true, query: false } #12778
- fix(types): make InferSchemaType: consider { required: boolean } required if it isn't explicitly false #12784 JavaScriptBach
- docs: replace many occurrences of "localhost" with "127.0.0.1" #12811 #12741 hasezoey SadiqOnGithub
- docs(mongoose): Added missing options to set #12810 lpizzinidev
- docs: add info on
$locals
parameters to getters/setters tutorial #12814 #12550 IslandRhythms- docs: make Document.prototype.$clone() public #12803
- docs(query): updated explanation for slice #12776 #12474 lpizzinidev
- docs(middleware): fix broken links #12787 lpizzinidev
- docs(queries): fixed broken links #12790 lpizzinidev
Changelog
Sourced from mongoose's changelog.
6.8.1 / 2022-12-19
- fix(query): avoid throwing circular dependency error if same object is used in multiple properties #12774 orgads
- fix(map): return value from super.delete() #12777 danbrud
- fix(populate): handle virtual populate underneath document array with justOne=true and sort set where 1 element has only 1 result #12815 #12730
- fix(update): handle embedded discriminators when casting array filters #12802 #12565
- fix(populate): avoid calling transform if there's no populate results and using lean #12804 #12739
- fix(model): prevent index creation on syncIndexes if not necessary #12785 #12250 lpizzinidev
- fix(types): correctly infer this when using pre('updateOne') with { document: true, query: false } #12778
- fix(types): make InferSchemaType: consider { required: boolean } required if it isn't explicitly false #12784 JavaScriptBach
- docs: replace many occurrences of "localhost" with "127.0.0.1" #12811 #12741 hasezoey SadiqOnGithub
- docs(mongoose): Added missing options to set #12810 lpizzinidev
- docs: add info on
$locals
parameters to getters/setters tutorial #12814 #12550 IslandRhythms- docs: make Document.prototype.$clone() public #12803
- docs(query): updated explanation for slice #12776 #12474 lpizzinidev
- docs(middleware): fix broken links #12787 lpizzinidev
- docs(queries): fixed broken links #12790 lpizzinidev
Commits
-
5528a64
chore: release 6.8.1 -
5b62093
Merge pull request #12778 from Automattic/vkarpov15/gh-11257 -
59e0da5
Merge pull request #12815 from Automattic/vkarpov15/gh-12730 -
e125992
chore: correctly bump benchmark limit -
69f5392
chore: bump ts-benchmark limit slightly to make benchmark pass -
7629c59
Merge branch 'master' into vkarpov15/gh-11257 -
5012a5c
Merge pull request #12802 from Automattic/vkarpov15/gh-12565 -
9d7bf10
Merge pull request #12811 from Automattic/replaceLocalhost -
ce672d2
Merge pull request #12810 from lpizzinidev/gh-12808 -
39e64ed
fix(populate): handle virtual populate underneath document array with justOne... - Additional commits viewable in compare view