6.8.1
mongoose-pro-bot
released this
19 Dec 22:23
·
3919 commits
to master
since this release
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