Changelog
*Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).*
> 5.7.5 / 2019-10-14
> ==================
> * fix(query): delete top-level `_bsontype` property in queries to prevent silent empty queries [#8222](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8222)
> * fix(update): handle subdocument pre('validate') errors in update validation [#7187](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7187)
> * fix(subdocument): make subdocument#isModified use parent document's isModified [#8223](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8223)
> * docs(index): add favicon to home page [#8226](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8226)
> * docs: add schema options to API docs [#8012](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8012)
> * docs(middleware): add note about accessing the document being updated in pre('findOneAndUpdate') [#8218](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8218)
> * refactor: remove redundant code in ValidationError [#8244](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8244) [AbdelrahmanHafez](https://github.com/AbdelrahmanHafez)
Commits
- [`40a879b`](https://github.com/Automattic/mongoose/commit/40a879b455145c11480493f79790dcf1286306bf) chore: release 5.7.5
- [`159457d`](https://github.com/Automattic/mongoose/commit/159457db97e55fb59d0c632be59ef5d97fa06459) chore: add vpn black friday as sponsor
- [`e6285ea`](https://github.com/Automattic/mongoose/commit/e6285ea00082d8f4877a504c4a33c4ffa960ea6c) Merge pull request [#8244](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8244) from AbdelrahmanHafez/master
- [`d9163f5`](https://github.com/Automattic/mongoose/commit/d9163f561311642e36c79be4d40d396efe3f40af) fix: correct order for declaration
- [`cec9dda`](https://github.com/Automattic/mongoose/commit/cec9ddaf4a1180b0b9730e5351b285a18d873768) Minor refactor to ValidationError
- [`13ae085`](https://github.com/Automattic/mongoose/commit/13ae085a9878b4fce67cede1b2e3fddd84768b8a) docs(index): add favicon to home page
- [`96ce0eb`](https://github.com/Automattic/mongoose/commit/96ce0eb009a2309fc04f1ec0617dc0c49468ca05) style: fix lint
- [`973b1e0`](https://github.com/Automattic/mongoose/commit/973b1e07014950b5c7d3f8af5ea9a61f485e1711) docs: add schema options to API docs
- [`cdfb507`](https://github.com/Automattic/mongoose/commit/cdfb507be166e6f047b2a621403e63d93a58d418) chore: add useUnifiedTopology for tests re: [#8212](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8212)
- [`936ddfb`](https://github.com/Automattic/mongoose/commit/936ddfb9c68edb44c76fc36cf251415c0828d266) fix(update): handle subdocument pre('validate') errors in update validation
- Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/5.7.4...5.7.5)
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 squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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)
- 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)
Bumps mongoose from 5.7.4 to 5.7.5.
Changelog
*Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).* > 5.7.5 / 2019-10-14 > ================== > * fix(query): delete top-level `_bsontype` property in queries to prevent silent empty queries [#8222](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8222) > * fix(update): handle subdocument pre('validate') errors in update validation [#7187](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7187) > * fix(subdocument): make subdocument#isModified use parent document's isModified [#8223](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8223) > * docs(index): add favicon to home page [#8226](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8226) > * docs: add schema options to API docs [#8012](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8012) > * docs(middleware): add note about accessing the document being updated in pre('findOneAndUpdate') [#8218](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8218) > * refactor: remove redundant code in ValidationError [#8244](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8244) [AbdelrahmanHafez](https://github.com/AbdelrahmanHafez)Commits
- [`40a879b`](https://github.com/Automattic/mongoose/commit/40a879b455145c11480493f79790dcf1286306bf) chore: release 5.7.5 - [`159457d`](https://github.com/Automattic/mongoose/commit/159457db97e55fb59d0c632be59ef5d97fa06459) chore: add vpn black friday as sponsor - [`e6285ea`](https://github.com/Automattic/mongoose/commit/e6285ea00082d8f4877a504c4a33c4ffa960ea6c) Merge pull request [#8244](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8244) from AbdelrahmanHafez/master - [`d9163f5`](https://github.com/Automattic/mongoose/commit/d9163f561311642e36c79be4d40d396efe3f40af) fix: correct order for declaration - [`cec9dda`](https://github.com/Automattic/mongoose/commit/cec9ddaf4a1180b0b9730e5351b285a18d873768) Minor refactor to ValidationError - [`13ae085`](https://github.com/Automattic/mongoose/commit/13ae085a9878b4fce67cede1b2e3fddd84768b8a) docs(index): add favicon to home page - [`96ce0eb`](https://github.com/Automattic/mongoose/commit/96ce0eb009a2309fc04f1ec0617dc0c49468ca05) style: fix lint - [`973b1e0`](https://github.com/Automattic/mongoose/commit/973b1e07014950b5c7d3f8af5ea9a61f485e1711) docs: add schema options to API docs - [`cdfb507`](https://github.com/Automattic/mongoose/commit/cdfb507be166e6f047b2a621403e63d93a58d418) chore: add useUnifiedTopology for tests re: [#8212](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8212) - [`936ddfb`](https://github.com/Automattic/mongoose/commit/936ddfb9c68edb44c76fc36cf251415c0828d266) fix(update): handle subdocument pre('validate') errors in update validation - Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/5.7.4...5.7.5)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 squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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) - 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)