Automattic/mongoose
### [`v6.8.2`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#682--2022-12-28)
[Compare Source](https://togithub.com/Automattic/mongoose/compare/6.8.1...6.8.2)
\==================
- fix(schema): propagate strictQuery to implicitly created schemas for embedded discriminators [#12827](https://togithub.com/Automattic/mongoose/issues/12827) [#12796](https://togithub.com/Automattic/mongoose/issues/12796)
- fix(model): respect discriminators with Model.validate() [#12824](https://togithub.com/Automattic/mongoose/issues/12824) [#12621](https://togithub.com/Automattic/mongoose/issues/12621)
- fix(query): fix unexpected validation error when doing findOneAndReplace() with a nullish value [#12826](https://togithub.com/Automattic/mongoose/issues/12826) [#12821](https://togithub.com/Automattic/mongoose/issues/12821)
- fix(discriminator): apply built-in plugins to discriminator schema even if mergeHooks and mergePlugins are both false [#12833](https://togithub.com/Automattic/mongoose/issues/12833) [#12696](https://togithub.com/Automattic/mongoose/issues/12696)
- fix(types): add option "overwriteModels" as a schema option [#12817](https://togithub.com/Automattic/mongoose/issues/12817) [#12816](https://togithub.com/Automattic/mongoose/issues/12816) [hasezoey](https://togithub.com/hasezoey)
- fix(types): add property "defaultOptions" [#12818](https://togithub.com/Automattic/mongoose/issues/12818) [hasezoey](https://togithub.com/hasezoey)
- docs: make search bar respect documentation version, so you can search 5.x docs [#12548](https://togithub.com/Automattic/mongoose/issues/12548)
- docs(typescript): make note about recommending strict mode when using auto typed schemas [#12825](https://togithub.com/Automattic/mongoose/issues/12825) [#12420](https://togithub.com/Automattic/mongoose/issues/12420)
- docs: add section on sorting to query docs [#12588](https://togithub.com/Automattic/mongoose/issues/12588) [IslandRhythms](https://togithub.com/IslandRhythms)
- test(query.test): add write-concern option [#12829](https://togithub.com/Automattic/mongoose/issues/12829) [hasezoey](https://togithub.com/hasezoey)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
6.8.1
->6.8.2
Release Notes
Automattic/mongoose
### [`v6.8.2`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#682--2022-12-28) [Compare Source](https://togithub.com/Automattic/mongoose/compare/6.8.1...6.8.2) \================== - fix(schema): propagate strictQuery to implicitly created schemas for embedded discriminators [#12827](https://togithub.com/Automattic/mongoose/issues/12827) [#12796](https://togithub.com/Automattic/mongoose/issues/12796) - fix(model): respect discriminators with Model.validate() [#12824](https://togithub.com/Automattic/mongoose/issues/12824) [#12621](https://togithub.com/Automattic/mongoose/issues/12621) - fix(query): fix unexpected validation error when doing findOneAndReplace() with a nullish value [#12826](https://togithub.com/Automattic/mongoose/issues/12826) [#12821](https://togithub.com/Automattic/mongoose/issues/12821) - fix(discriminator): apply built-in plugins to discriminator schema even if mergeHooks and mergePlugins are both false [#12833](https://togithub.com/Automattic/mongoose/issues/12833) [#12696](https://togithub.com/Automattic/mongoose/issues/12696) - fix(types): add option "overwriteModels" as a schema option [#12817](https://togithub.com/Automattic/mongoose/issues/12817) [#12816](https://togithub.com/Automattic/mongoose/issues/12816) [hasezoey](https://togithub.com/hasezoey) - fix(types): add property "defaultOptions" [#12818](https://togithub.com/Automattic/mongoose/issues/12818) [hasezoey](https://togithub.com/hasezoey) - docs: make search bar respect documentation version, so you can search 5.x docs [#12548](https://togithub.com/Automattic/mongoose/issues/12548) - docs(typescript): make note about recommending strict mode when using auto typed schemas [#12825](https://togithub.com/Automattic/mongoose/issues/12825) [#12420](https://togithub.com/Automattic/mongoose/issues/12420) - docs: add section on sorting to query docs [#12588](https://togithub.com/Automattic/mongoose/issues/12588) [IslandRhythms](https://togithub.com/IslandRhythms) - test(query.test): add write-concern option [#12829](https://togithub.com/Automattic/mongoose/issues/12829) [hasezoey](https://togithub.com/hasezoey)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.