Changelog
*Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).*
> 5.2.18 / 2018-09-27
> ===================
> * docs(migrating_to_5): add note about overwriting filter properties [#7030](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7030)
> * fix(query): correctly handle `select('+c')` if c is not in schema [#7017](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7017)
> * fix(document): check path exists before checking for required [#6974](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6974)
> * fix(document): retain user-defined key order on initial set with nested docs [#6944](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6944)
> * fix(populate): handle multiple localFields + foreignFields using `localField: function() {}` syntax [#5704](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5704)
>
> 5.2.17 / 2018-09-21
> ===================
> * docs(guide): clarify that Mongoose only increments versionKey on `save()` and add a workaround for `findOneAndUpdate()` [#7038](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7038)
> * fix(model): correctly handle `createIndex` option to `ensureIndexes()` [#7036](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7036) [#6922](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6922) [lineus](https://github.com/lineus)
> * docs(migrating_to_5): add a note about changing debug output from stderr to stdout [#7034](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7034) [#7018](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7018) [lineus](https://github.com/lineus)
> * fix(query): add `setUpdate()` to allow overwriting update without changing op [#7024](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7024) [#7012](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7012) [lineus](https://github.com/lineus)
> * fix(update): find top-level version key even if there are `$` operators in the update [#7003](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7003)
> * docs(model+query): explain which operators `count()` supports that `countDocuments()` doesn't [#6911](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6911)
Commits
- [`3084fcb`](https://github.com/Automattic/mongoose/commit/3084fcb5c8fe7a2f16b26d042318686808c3c9b5) chore: release 5.2.18
- [`b844bca`](https://github.com/Automattic/mongoose/commit/b844bca0da4107768a99d4687792aece69682cd6) style: fix lint re: [#5704](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5704)
- [`53c39fa`](https://github.com/Automattic/mongoose/commit/53c39fa1fd97a5a5af040da33967248afbe7e14a) fix(populate): handle multiple localFields + foreignFields using `localField:...
- [`0e2d638`](https://github.com/Automattic/mongoose/commit/0e2d638f892ee75bc6431b2ede9ef3ac878591eb) test(populate): repro [#5704](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5704)
- [`55ad233`](https://github.com/Automattic/mongoose/commit/55ad233593d3797aedcf1b297036ee3b093840f0) docs(aggregate): fix syntax highlighting on allowDiskUse() docs
- [`7c2eb93`](https://github.com/Automattic/mongoose/commit/7c2eb93fd54119916fac64ea8dc2ef2194a9e7d3) docs(migrating_to_5): add note about overwriting filter properties
- [`9975182`](https://github.com/Automattic/mongoose/commit/99751826d5ad8c68c23780df34a6692fec745e34) fix(document): retain user-defined key order on initial set with nested docs
- [`fd8e227`](https://github.com/Automattic/mongoose/commit/fd8e227ba692f7e2bcde2b1a17d76a796e1845cd) test(document): repro [#6944](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6944)
- [`8fea4f8`](https://github.com/Automattic/mongoose/commit/8fea4f885bd084dcc2d579553cb082cf9061eec3) fix(query): correctly handle `select('+c')` if c is not in schema
- [`5ec10b6`](https://github.com/Automattic/mongoose/commit/5ec10b6d733ff0c723a61a5ce1959385a0c46b03) test(query): repro [#7017](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7017)
- Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/5.2.16...5.2.18)
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.2.16 to 5.2.18.
Changelog
*Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).* > 5.2.18 / 2018-09-27 > =================== > * docs(migrating_to_5): add note about overwriting filter properties [#7030](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7030) > * fix(query): correctly handle `select('+c')` if c is not in schema [#7017](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7017) > * fix(document): check path exists before checking for required [#6974](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6974) > * fix(document): retain user-defined key order on initial set with nested docs [#6944](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6944) > * fix(populate): handle multiple localFields + foreignFields using `localField: function() {}` syntax [#5704](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5704) > > 5.2.17 / 2018-09-21 > =================== > * docs(guide): clarify that Mongoose only increments versionKey on `save()` and add a workaround for `findOneAndUpdate()` [#7038](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7038) > * fix(model): correctly handle `createIndex` option to `ensureIndexes()` [#7036](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7036) [#6922](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6922) [lineus](https://github.com/lineus) > * docs(migrating_to_5): add a note about changing debug output from stderr to stdout [#7034](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7034) [#7018](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7018) [lineus](https://github.com/lineus) > * fix(query): add `setUpdate()` to allow overwriting update without changing op [#7024](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7024) [#7012](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7012) [lineus](https://github.com/lineus) > * fix(update): find top-level version key even if there are `$` operators in the update [#7003](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7003) > * docs(model+query): explain which operators `count()` supports that `countDocuments()` doesn't [#6911](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6911)Commits
- [`3084fcb`](https://github.com/Automattic/mongoose/commit/3084fcb5c8fe7a2f16b26d042318686808c3c9b5) chore: release 5.2.18 - [`b844bca`](https://github.com/Automattic/mongoose/commit/b844bca0da4107768a99d4687792aece69682cd6) style: fix lint re: [#5704](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5704) - [`53c39fa`](https://github.com/Automattic/mongoose/commit/53c39fa1fd97a5a5af040da33967248afbe7e14a) fix(populate): handle multiple localFields + foreignFields using `localField:... - [`0e2d638`](https://github.com/Automattic/mongoose/commit/0e2d638f892ee75bc6431b2ede9ef3ac878591eb) test(populate): repro [#5704](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5704) - [`55ad233`](https://github.com/Automattic/mongoose/commit/55ad233593d3797aedcf1b297036ee3b093840f0) docs(aggregate): fix syntax highlighting on allowDiskUse() docs - [`7c2eb93`](https://github.com/Automattic/mongoose/commit/7c2eb93fd54119916fac64ea8dc2ef2194a9e7d3) docs(migrating_to_5): add note about overwriting filter properties - [`9975182`](https://github.com/Automattic/mongoose/commit/99751826d5ad8c68c23780df34a6692fec745e34) fix(document): retain user-defined key order on initial set with nested docs - [`fd8e227`](https://github.com/Automattic/mongoose/commit/fd8e227ba692f7e2bcde2b1a17d76a796e1845cd) test(document): repro [#6944](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6944) - [`8fea4f8`](https://github.com/Automattic/mongoose/commit/8fea4f885bd084dcc2d579553cb082cf9061eec3) fix(query): correctly handle `select('+c')` if c is not in schema - [`5ec10b6`](https://github.com/Automattic/mongoose/commit/5ec10b6d733ff0c723a61a5ce1959385a0c46b03) test(query): repro [#7017](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7017) - Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/5.2.16...5.2.18)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.