Changelog
*Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).*
> 5.7.7 / 2019-10-24
> ==================
> * fix(populate): make populate virtual consistently an empty array if local field is only empty arrays [#8230](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8230)
> * fix(query): allow findOne(objectid) and find(objectid) [#8268](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8268)
>
> 5.7.6 / 2019-10-21
> ==================
> * fix: upgrade mongodb driver -> 3.3.3 to fix issue with failing to connect to a replica set if one member is down [#8209](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8209)
> * fix(document): fix TypeError when setting a single nested subdoc with timestamps [#8251](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8251)
> * fix(cursor): fix issue with long-running `eachAsync()` cursor [#8249](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8249) [#8235](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8235)
> * fix(connection): ensure repeated `close` events from useUnifiedTopology don't disconnect Mongoose from replica set [#8224](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8224)
> * fix(document): support calling `Document` constructor directly in Node.js [#8237](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8237)
> * fix(populate): add document array subpaths to parent doc `populated()` when calling `DocumentArray#push()` [#8247](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8247)
> * fix(options): add missing minlength and maxlength to SchemaStringOptions [#8256](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8256)
> * docs: add documentarraypath to API docs, including DocumentArrayPath#discriminator() [#8164](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8164)
> * docs(schematypes): add a section about the `type` property [#8227](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8227)
> * docs(api): fix Connection.close return param [#8258](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8258) [gosuhiman](https://github.com/gosuhiman)
> * docs: update link to broken image on home page [#8253](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8253) [krosenk729](https://github.com/krosenk729)
Commits
- [`28e8ac4`](https://github.com/Automattic/mongoose/commit/28e8ac4cf59ba0254372d43ecaa941ae32500784) chore: release 5.7.7
- [`f4bd463`](https://github.com/Automattic/mongoose/commit/f4bd46389aa768fd923b8502c62cb1173f118185) fix(populate): make populate virtual consistently an empty array if local fie...
- [`ca4f52b`](https://github.com/Automattic/mongoose/commit/ca4f52b29ce4cbca7c1f5e48e8e367eaf8cbd94a) test(populate): repro [#8230](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8230)
- [`ecd8242`](https://github.com/Automattic/mongoose/commit/ecd82425d98c90035a11e7eec880e471d41f0afd) docs(query): make note that `filter` param to `find()` can be an ObjectId re:...
- [`b03faf5`](https://github.com/Automattic/mongoose/commit/b03faf5ceec529c13b17684b8bf250b2b451b060) fix(query): allow findOne(objectid) and find(objectid)
- [`d7ceb89`](https://github.com/Automattic/mongoose/commit/d7ceb89af728e06e9fc7b68b424725502e8b4286) test(query): repro [#8268](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8268)
- [`068e57a`](https://github.com/Automattic/mongoose/commit/068e57ab89a56a28f2a21b18243d83f179e4c2f2) chore: now working on 5.7.7
- [`5656b4e`](https://github.com/Automattic/mongoose/commit/5656b4e224d3834e5c6447026972948575f86411) chore: release 5.7.6
- [`fab4f5d`](https://github.com/Automattic/mongoose/commit/fab4f5d80e8b701b6a4f3a86e7976a9588c897cd) test(schema): fix tests on node v4 and v5
- [`29c5f1a`](https://github.com/Automattic/mongoose/commit/29c5f1a5be732dacee506c85d2e0cb3804eb432b) fix(options): add missing minlength and maxlength to SchemaStringOptions
- Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/5.7.5...5.7.7)
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.
If all status checks pass Dependabot will automatically merge this pull request.
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.5 to 5.7.7.
Changelog
*Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).* > 5.7.7 / 2019-10-24 > ================== > * fix(populate): make populate virtual consistently an empty array if local field is only empty arrays [#8230](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8230) > * fix(query): allow findOne(objectid) and find(objectid) [#8268](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8268) > > 5.7.6 / 2019-10-21 > ================== > * fix: upgrade mongodb driver -> 3.3.3 to fix issue with failing to connect to a replica set if one member is down [#8209](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8209) > * fix(document): fix TypeError when setting a single nested subdoc with timestamps [#8251](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8251) > * fix(cursor): fix issue with long-running `eachAsync()` cursor [#8249](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8249) [#8235](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8235) > * fix(connection): ensure repeated `close` events from useUnifiedTopology don't disconnect Mongoose from replica set [#8224](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8224) > * fix(document): support calling `Document` constructor directly in Node.js [#8237](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8237) > * fix(populate): add document array subpaths to parent doc `populated()` when calling `DocumentArray#push()` [#8247](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8247) > * fix(options): add missing minlength and maxlength to SchemaStringOptions [#8256](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8256) > * docs: add documentarraypath to API docs, including DocumentArrayPath#discriminator() [#8164](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8164) > * docs(schematypes): add a section about the `type` property [#8227](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8227) > * docs(api): fix Connection.close return param [#8258](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8258) [gosuhiman](https://github.com/gosuhiman) > * docs: update link to broken image on home page [#8253](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8253) [krosenk729](https://github.com/krosenk729)Commits
- [`28e8ac4`](https://github.com/Automattic/mongoose/commit/28e8ac4cf59ba0254372d43ecaa941ae32500784) chore: release 5.7.7 - [`f4bd463`](https://github.com/Automattic/mongoose/commit/f4bd46389aa768fd923b8502c62cb1173f118185) fix(populate): make populate virtual consistently an empty array if local fie... - [`ca4f52b`](https://github.com/Automattic/mongoose/commit/ca4f52b29ce4cbca7c1f5e48e8e367eaf8cbd94a) test(populate): repro [#8230](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8230) - [`ecd8242`](https://github.com/Automattic/mongoose/commit/ecd82425d98c90035a11e7eec880e471d41f0afd) docs(query): make note that `filter` param to `find()` can be an ObjectId re:... - [`b03faf5`](https://github.com/Automattic/mongoose/commit/b03faf5ceec529c13b17684b8bf250b2b451b060) fix(query): allow findOne(objectid) and find(objectid) - [`d7ceb89`](https://github.com/Automattic/mongoose/commit/d7ceb89af728e06e9fc7b68b424725502e8b4286) test(query): repro [#8268](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8268) - [`068e57a`](https://github.com/Automattic/mongoose/commit/068e57ab89a56a28f2a21b18243d83f179e4c2f2) chore: now working on 5.7.7 - [`5656b4e`](https://github.com/Automattic/mongoose/commit/5656b4e224d3834e5c6447026972948575f86411) chore: release 5.7.6 - [`fab4f5d`](https://github.com/Automattic/mongoose/commit/fab4f5d80e8b701b6a4f3a86e7976a9588c897cd) test(schema): fix tests on node v4 and v5 - [`29c5f1a`](https://github.com/Automattic/mongoose/commit/29c5f1a5be732dacee506c85d2e0cb3804eb432b) fix(options): add missing minlength and maxlength to SchemaStringOptions - Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/5.7.5...5.7.7)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
.If all status checks pass Dependabot will automatically merge this pull request.
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)