Changelog
*Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).*
> 5.3.4 / 2018-10-15
> ==================
> * fix(schema): make `add()` and `remove()` return the schema instance [#7131](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7131) [lineus](https://github.com/lineus)
> * fix(query): don't require passing model to `cast()` [#7118](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7118)
> * fix: support `useFindAndModify` as a connection-level option [#7110](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7110) [lineus](https://github.com/lineus)
> * fix(populate): handle plus path projection with virtual populate [#7050](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7050)
> * fix(schema): allow using ObjectId type as schema path type [#7049](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7049)
> * docs(schematypes): elaborate on how schematypes relate to types [#7049](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7049)
> * docs(deprecations): add note about gridstore deprecation [#6922](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6922)
> * docs(guide): add storeSubdocValidationError option to guide [#6802](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6802)
>
> 5.3.3 / 2018-10-12
> ==================
> * fix(document): enable storing mongoose validation error in MongoDB by removing `$isValidatorError` property [#7127](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7127)
> * docs(api): clarify that aggregate triggers aggregate middleware [#7126](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7126) [lineus](https://github.com/lineus)
> * fix(connection): handle Model.init() when an index exists on schema + autoCreate == true [#7122](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7122) [jesstelford](https://github.com/jesstelford)
> * docs(middleware): explain how to switch between document and query hooks for `remove()` [#7093](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7093)
> * docs(api): clean up encoding issues in SchemaType.prototype.validate docs [#7091](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7091)
> * docs(schema): add schema types to api docs and update links on schematypes page [#7080](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7080) [#7076](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7076) [lineus](https://github.com/lineus)
> * docs(model): expand model constructor docs with examples and `fields` param [#7077](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7077)
> * docs(aggregate): remove incorrect description of noCursorTimeout and add description of aggregate options [#7056](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7056)
> * docs: re-add array type to API docs [#7027](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7027)
> * docs(connections): add note about `members.host` errors due to bad host names in replica set [#7006](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7006)
Commits
- [`6e339de`](https://github.com/Automattic/mongoose/commit/6e339de7997d4bc71244e0dabce6095f81044827) chore: release 5.3.4
- [`7475002`](https://github.com/Automattic/mongoose/commit/747500213f0ed0e18431eaaa3bc5a9cd08c2951b) Merge branch 'master' of github.com:Automattic/mongoose
- [`40dab43`](https://github.com/Automattic/mongoose/commit/40dab4381e217f92814c0e7f3d906e7fb756c6e2) docs(schema): add example of `add()` with another schema
- [`1c15a48`](https://github.com/Automattic/mongoose/commit/1c15a488fe2f877ffad3f4f6d8397b5a3e9d61c4) Merge pull request [#7110](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7110) from lineus/fix-7108
- [`61a05be`](https://github.com/Automattic/mongoose/commit/61a05be591104e2ac057c0bbfa26d18c7d0e559d) docs(deprecations): add note about gridstore deprecation
- [`a2fa94c`](https://github.com/Automattic/mongoose/commit/a2fa94c210f8401d4064f91c76b94c62c3a43163) fix(query): don't require passing model to `cast()`
- [`1601597`](https://github.com/Automattic/mongoose/commit/1601597eb4da5b8c55915ec6c3124951b6dfbaa7) style: fix lint
- [`b9ea793`](https://github.com/Automattic/mongoose/commit/b9ea7933b45c9050197a9f571eef53a5967c4e60) fix(populate): handle plus path projection with virtual populate
- [`18f6389`](https://github.com/Automattic/mongoose/commit/18f63898c7b28ccf61d50aa9fb7ff6e552e08774) test(populate): repro [#7050](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7050)
- [`fb7e367`](https://github.com/Automattic/mongoose/commit/fb7e3676baad2ebe9638a2e2214b2da12f683701) docs(guide): add storeSubdocValidationError option to guide
- Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/5.3.2...5.3.4)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps mongoose from 5.3.2 to 5.3.4.
Changelog
*Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).* > 5.3.4 / 2018-10-15 > ================== > * fix(schema): make `add()` and `remove()` return the schema instance [#7131](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7131) [lineus](https://github.com/lineus) > * fix(query): don't require passing model to `cast()` [#7118](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7118) > * fix: support `useFindAndModify` as a connection-level option [#7110](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7110) [lineus](https://github.com/lineus) > * fix(populate): handle plus path projection with virtual populate [#7050](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7050) > * fix(schema): allow using ObjectId type as schema path type [#7049](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7049) > * docs(schematypes): elaborate on how schematypes relate to types [#7049](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7049) > * docs(deprecations): add note about gridstore deprecation [#6922](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6922) > * docs(guide): add storeSubdocValidationError option to guide [#6802](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6802) > > 5.3.3 / 2018-10-12 > ================== > * fix(document): enable storing mongoose validation error in MongoDB by removing `$isValidatorError` property [#7127](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7127) > * docs(api): clarify that aggregate triggers aggregate middleware [#7126](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7126) [lineus](https://github.com/lineus) > * fix(connection): handle Model.init() when an index exists on schema + autoCreate == true [#7122](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7122) [jesstelford](https://github.com/jesstelford) > * docs(middleware): explain how to switch between document and query hooks for `remove()` [#7093](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7093) > * docs(api): clean up encoding issues in SchemaType.prototype.validate docs [#7091](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7091) > * docs(schema): add schema types to api docs and update links on schematypes page [#7080](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7080) [#7076](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7076) [lineus](https://github.com/lineus) > * docs(model): expand model constructor docs with examples and `fields` param [#7077](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7077) > * docs(aggregate): remove incorrect description of noCursorTimeout and add description of aggregate options [#7056](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7056) > * docs: re-add array type to API docs [#7027](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7027) > * docs(connections): add note about `members.host` errors due to bad host names in replica set [#7006](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7006)Commits
- [`6e339de`](https://github.com/Automattic/mongoose/commit/6e339de7997d4bc71244e0dabce6095f81044827) chore: release 5.3.4 - [`7475002`](https://github.com/Automattic/mongoose/commit/747500213f0ed0e18431eaaa3bc5a9cd08c2951b) Merge branch 'master' of github.com:Automattic/mongoose - [`40dab43`](https://github.com/Automattic/mongoose/commit/40dab4381e217f92814c0e7f3d906e7fb756c6e2) docs(schema): add example of `add()` with another schema - [`1c15a48`](https://github.com/Automattic/mongoose/commit/1c15a488fe2f877ffad3f4f6d8397b5a3e9d61c4) Merge pull request [#7110](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7110) from lineus/fix-7108 - [`61a05be`](https://github.com/Automattic/mongoose/commit/61a05be591104e2ac057c0bbfa26d18c7d0e559d) docs(deprecations): add note about gridstore deprecation - [`a2fa94c`](https://github.com/Automattic/mongoose/commit/a2fa94c210f8401d4064f91c76b94c62c3a43163) fix(query): don't require passing model to `cast()` - [`1601597`](https://github.com/Automattic/mongoose/commit/1601597eb4da5b8c55915ec6c3124951b6dfbaa7) style: fix lint - [`b9ea793`](https://github.com/Automattic/mongoose/commit/b9ea7933b45c9050197a9f571eef53a5967c4e60) fix(populate): handle plus path projection with virtual populate - [`18f6389`](https://github.com/Automattic/mongoose/commit/18f63898c7b28ccf61d50aa9fb7ff6e552e08774) test(populate): repro [#7050](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7050) - [`fb7e367`](https://github.com/Automattic/mongoose/commit/fb7e3676baad2ebe9638a2e2214b2da12f683701) docs(guide): add storeSubdocValidationError option to guide - Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/5.3.2...5.3.4)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.