Closed dependabot-preview[bot] closed 5 years ago
Merging #274 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #274 +/- ##
=======================================
Coverage 23.55% 23.55%
=======================================
Files 99 99
Lines 2165 2165
=======================================
Hits 510 510
Misses 1655 1655
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update b585762...cc17143. Read the comment docs.
Superseded by #277.
Bumps mongoose from 5.4.18 to 5.6.4.
Changelog
*Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).* > 5.6.4 / 2019-07-08 > ================== > * fix(schema): support pre(Array, Function) and post(Array, Function) [#7803](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7803) > * fix(document): load docs with a `once` property successfully [#7958](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7958) > * fix(queryhelpers): ensure parent `select` overwrites child path `select` if parent is nested [#7945](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7945) > * fix(schema): make `clone()` correctly copy array embedded discriminators [#7954](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7954) > * fix(update): fix error when update property gets casted to null [#7949](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7949) > * fix(connection): bubble up attemptReconnect event for now [#7872](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7872) > * docs(tutorials): add virtuals tutorial [#7965](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7965) > * docs(connection): add section on connection handling [#6997](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6997) > > 5.6.3 / 2019-07-03 > ================== > * fix(document): respect projection when running getters [#7940](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7940) > * fix(model): call createCollection() in syncIndexes() to ensure the collection exists [#7931](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7931) > * fix(document): consistently use post-order traversal for gathering subdocs for hooks [#7929](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7929) > * fix(schema): ensure `Schema#pathType()` returns correct path type given non-existent positional path [#7935](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7935) > * fix(ChangeStream): set `closed` if emitting close event [#7930](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7930) > * fix(connection): bubble up 'attemptReconnect' event from MongoDB connection [#7872](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7872) > * docs: fix broken .jade links on search page [#7932](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7932) > * docs: correct link to `Query#select()` [#7953](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7953) [rayhatfield](https://github.com/rayhatfield) > * docs(README): add list of related projects [#7773](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7773) > > 4.13.19 / 2019-07-02 > ==================== > * fix(aggregate): make `setOptions()` work as advertised [#7950](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7950) [#6011](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6011) [cdimitroulas](https://github.com/cdimitroulas) > > 5.6.2 / 2019-06-28 > ================== > * fix(update): allow using `update()` with immutable `createdAt` [#7917](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7917) > * fix(model): pass `doc` parameter to save() error handling middleware [#7832](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7832) > * fix(mongoose): add applyPluginsToChildSchemas option to allow opting out of global plugins for child schemas [#7916](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7916) > * docs(connection): document `useCache` option for `useDb()` [#7923](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7923) > * docs: fix broken link in FAQ [#7925](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7925) [christophergeiger3](https://github.com/christophergeiger3) > > 5.6.1 / 2019-06-24 > ================== > * fix(update): skip setting defaults for single embedded subdocs underneath maps [#7909](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7909) > * fix(document): copy date objects correctly when strict = false [#7907](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7907) > * feat(mongoose): throw an error if calling `mongoose.connect()` multiple times while connected [#7905](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7905) [Fonger](https://github.com/Fonger) > * fix(document): copies virtuals from array subdocs when casting array of docs with same schema [#7898](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7898) > * fix(schema): ensure clone() copies single embedded discriminators correctly [#7894](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7894) > * fix(discriminator): merge instead of overwriting conflicting nested schemas in discriminator schema [#7884](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7884) > * fix(populate): ignore nullish arguments when calling `populate()` [#7913](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7913) [rayhatfield](https://github.com/rayhatfield) > * docs: add getters/setters tutorial [#7919](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7919) > * docs: clean up error docs so they refer to `Error` rather than `MongooseError` [#7867](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7867) > * docs: fix a couple broken links [#7921](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7921) [kizmo04](https://github.com/kizmo04) > * refactor: remove unnecessary if [#7911](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7911) [rayhatfield](https://github.com/rayhatfield) > > 5.6.0 / 2019-06-14 > ... (truncated)Commits
- [`a2aba34`](https://github.com/Automattic/mongoose/commit/a2aba34ca99d7b62239056c1ab218542229c9b4a) chore: release 5.6.4 - [`880836e`](https://github.com/Automattic/mongoose/commit/880836ed4fe2eedb7b923d04e3f5e320960ceaa4) docs(connection): add section on connection handling - [`d627073`](https://github.com/Automattic/mongoose/commit/d627073aa7780b0e1031434ec262b3c7456fbd1e) fix(schema): support pre(Array, Function) and post(Array, Function) - [`82442da`](https://github.com/Automattic/mongoose/commit/82442da20ae4014e478521472a261f0d175d585e) test(schema): repro [#7803](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7803) - [`9651ba7`](https://github.com/Automattic/mongoose/commit/9651ba75e01ad1a8b92b3d64fe271c1bda30342f) refactor(model): use 'MongooseError' instead of 'Error' because 'Error' confl... - [`701c0ec`](https://github.com/Automattic/mongoose/commit/701c0ec2d789b2fbfd05b2eb3cd40bf91ac4d7d4) fix(document): load docs with a `once` property successfully - [`36cb96e`](https://github.com/Automattic/mongoose/commit/36cb96eb97aec780e4c76d4600c23e886a1e59dc) test(document): repro [#7958](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7958) - [`67ddf3b`](https://github.com/Automattic/mongoose/commit/67ddf3b44d6975c2430f2d88e61db76f09207d04) docs(tutorials): add virtual tutorial - [`e96b6bd`](https://github.com/Automattic/mongoose/commit/e96b6bd24b0cfbfa9c08190a321596298f002a2d) refactor(populate): move `getModelsMapForPopulate()` into separate function - [`2b7622b`](https://github.com/Automattic/mongoose/commit/2b7622bb95a82897f3b774fe3b26045b2fd92f86) fix(update): fix error when update property gets casted to null - Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/5.4.18...5.6.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 will not automatically merge this PR because it includes a minor update to a production dependency.
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 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). To ignore the version in this PR you can just close it - `@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.