Open dependabot-preview[bot] opened 5 years ago
Merging #255 into develop will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## develop #255 +/- ##
========================================
Coverage 66.66% 66.66%
========================================
Files 146 146
Lines 1926 1926
========================================
Hits 1284 1284
Misses 642 642
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 8f0edaf...4d2906a. Read the comment docs.
Bumps mongoose from 4.13.14 to 5.6.1.
Changelog
*Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).* > 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 > ================== > * feat(schematype): add `immutable` option to disallow changing a given field [#7671](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7671) > * docs: split API docs into separate pages to make API documentation more Google-able [#7812](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7812) > * perf(array): remove all mixins in favor of ES6 classes, ~20% faster in basic benchmarks [#7798](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7798) > * feat(document): use promise rejection error message when async custom validator throws an error [#4913](https://github-redirect.dependabot.com/Automattic/mongoose/issues/4913) > * feat(virtual): pass document as 3rd parameter to virtual getters and setters to enable using arrow functions [#4143](https://github-redirect.dependabot.com/Automattic/mongoose/issues/4143) > * feat(model): add `Model.exists()` function to quickly check whether a document matching `filter` exists [#6872](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6872) > * feat(index+connection): support setting global and connection-level `maxTimeMS` > * feat(populate): support setting `ref` to a function for conventional populate [#7669](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7669) > * feat(document): add overwrite() function that overwrites all values in a document [#7830](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7830) > * feat(populate): support `PopulateOptions#connection` option to allow cross-db populate with refPath [#6520](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6520) > * feat(populate): add skipInvalidIds option to silently skip population if id is invalid, instead of throwing [#7706](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7706) > * feat(array): skip empty array default if there's a 2dsphere index on a geojson path [#3233](https://github-redirect.dependabot.com/Automattic/mongoose/issues/3233) > * feat(query): add `getFilter()` as an alias of `getQuery()` to be more in line with API docs [#7839](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7839) > * feat(model): add Model.inspect() to make models not clutter `util.inspect()` [#7836](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7836) > * perf(discriminator): skip calling `createIndex()` on indexes that are defined in the base schema [#7379](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7379) > * docs: upgrade from Jade to latest Pug [#7812](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7812) > * docs(README): update reference to example schema.js [#7899](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7899) [sharils](https://github.com/sharils) > * docs(README): improve variable name [#7900](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7900) [sharils](https://github.com/sharils) > * chore: replace charAt(0) with startsWith [#7897](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7897) [Fonger](https://github.com/Fonger) > * chore: replace indexOf with includes, startsWith and endsWith for String [#7897](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7897) [Fonger](https://github.com/Fonger) > > 5.5.15 / 2019-06-12 > =================== > * fix(connection): reject initial connect promise even if there is an on('error') listener [#7850](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7850) > * fix(map): make `of` automatically convert POJOs to schemas unless typeKey is set [#7859](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7859) > * fix(update): use discriminator schema to cast update if discriminator key specified in filter [#7843](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7843) > * fix(array): copy atomics from source array [#7891](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7891) [#7889](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7889) [jyrkive](https://github.com/jyrkive) > * fix(schema): return this when Schema.prototype.add is called with Schema [#7887](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7887) [Mickael-van-der-Beek](https://github.com/Mickael-van-der-Beek) > * fix(document): add `numAffected` and `result` to DocumentNotFoundError for better debugging [#7892](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7892) [#7844](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7844) > > 5.5.14 / 2019-06-08 > =================== > * fix(query): correct this scope of setters in update query [#7876](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7876) [Fonger](https://github.com/Fonger) > * fix(model): reset modifiedPaths after successful insertMany [#7852](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7852) [#7873](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7873) [Fonger](https://github.com/Fonger) > ... (truncated)Commits
- [`8529a30`](https://github.com/Automattic/mongoose/commit/8529a30f469baf5643f5550cf2f8ed24d600e57b) chore: release 5.6.1 - [`cc1b5a5`](https://github.com/Automattic/mongoose/commit/cc1b5a5c5a6411ccb2856fd39104955ccd1dd462) docs: add getters/setters tutorial - [`91b61a0`](https://github.com/Automattic/mongoose/commit/91b61a0570c742ba568213e72efbd350cc726378) Merge pull request [#7921](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7921) from kizmo04/master - [`3588ddb`](https://github.com/Automattic/mongoose/commit/3588ddb03d4316aaf395bf2f644ac104c0e75f90) docs(API): fix some href - [`4c4973a`](https://github.com/Automattic/mongoose/commit/4c4973aaca951fe06a97cc4e1737a8458b37fd89) fix(update): quick improvement for [#7909](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7909) - [`0314b02`](https://github.com/Automattic/mongoose/commit/0314b02ca5ef048909bea97b7efa258ed9eb2902) fix(update): skip setting defaults for single embedded subdocs underneath maps - [`ef79737`](https://github.com/Automattic/mongoose/commit/ef79737d060a037e2074d100729f894bda4311b9) test(update): repro [#7909](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7909) - [`35e9e6e`](https://github.com/Automattic/mongoose/commit/35e9e6e23746711efe27d479ade915f8953ec630) fix(document): copy date objects correctly when strict = false - [`41ad80a`](https://github.com/Automattic/mongoose/commit/41ad80abd05e3ae1938fb83999e7914331663ef8) test(document): repro [#7907](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7907) - [`a7a6663`](https://github.com/Automattic/mongoose/commit/a7a6663903ab507f1deb90ab19cd2e099eeae248) docs: fix some href - Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/4.13.14...5.6.1)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 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.