dependabot npm(deps): bump mongoose from 6.8.1 to 6.8.2
Bumps mongoose from 6.8.1 to 6.8.2.
Release notes
Sourced from mongoose's releases.
6.8.2 / 2022-12-28
- fix(schema): propagate strictQuery to implicitly created schemas for embedded discriminators #12827 #12796
- fix(model): respect discriminators with Model.validate() #12824 #12621
- fix(query): fix unexpected validation error when doing findOneAndReplace() with a nullish value #12826 #12821
- fix(discriminator): apply built-in plugins to discriminator schema even if mergeHooks and mergePlugins are both false #12833 #12696
- fix(types): add option "overwriteModels" as a schema option #12817 #12816 hasezoey
- fix(types): add property "defaultOptions" #12818 hasezoey
- docs: make search bar respect documentation version, so you can search 5.x docs #12548
- docs(typescript): make note about recommending strict mode when using auto typed schemas #12825 #12420
- docs: add section on sorting to query docs #12588 IslandRhythms
- test(query.test): add write-concern option #12829 hasezoey
Changelog
Sourced from mongoose's changelog.
6.8.2 / 2022-12-28
- fix(schema): propagate strictQuery to implicitly created schemas for embedded discriminators #12827 #12796
- fix(model): respect discriminators with Model.validate() #12824 #12621
- fix(query): fix unexpected validation error when doing findOneAndReplace() with a nullish value #12826 #12821
- fix(discriminator): apply built-in plugins to discriminator schema even if mergeHooks and mergePlugins are both false #12833 #12696
- fix(types): add option "overwriteModels" as a schema option #12817 #12816 hasezoey
- fix(types): add property "defaultOptions" #12818 hasezoey
- docs: make search bar respect documentation version, so you can search 5.x docs #12548
- docs(typescript): make note about recommending strict mode when using auto typed schemas #12825 #12420
- docs: add section on sorting to query docs #12588 IslandRhythms
- test(query.test): add write-concern option #12829 hasezoey
Commits
-
cd20f82
chore: release 6.8.2 -
d9ae2dc
Merge pull request #12838 from Automattic/vkarpov15/gh-12770 -
2aa009b
Merge pull request #12841 from hasezoey/addNavBarDefaultVersion -
a46ee18
docs(navbar-search): add missing variables -
a145f2c
Merge branch '5.x' -
aef4c7b
docs: quick fix for search re: #12830 -
4fa07d9
Merge branch '5.x' -
48179b4
chore: search fixes -
bcb3d66
Merge branch '5.x' -
c3384bc
docs: fix search re: #12830 - Additional commits viewable in compare view