Human-Connection / API

The API for a better world.
https://human-connection.org
MIT License
35 stars 16 forks source link

Bump mongoose from 4.13.14 to 5.6.0 #251

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps mongoose from 4.13.14 to 5.6.0.

Changelog *Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).* > 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) > * fix(populate): allow using `refPath` with virtual populate [#7848](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7848) > * fix(document): prepend private methods getValue and setValue with $ [#7870](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7870) [Fonger](https://github.com/Fonger) > * fix: update mongodb driver -> 3.2.7 [#7871](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7871) [Fonger](https://github.com/Fonger) > * docs(tutorials): add tutorial about custom casting functions [#7045](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7045) > * docs(connection): fix outdated events document [#7874](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7874) [Fonger](https://github.com/Fonger) > * docs: fix typo in lean docs [#7875](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7875) [tannakartikey](https://github.com/tannakartikey) > * docs: move off of KeenIO for tracking and use self-hosted analytics instead > > 5.5.13 / 2019-06-05 > =================== > * fix(model): support passing deleteOne options [#7860](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7860) [#7857](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7857) [Fonger](https://github.com/Fonger) > * fix(update): run setters on array elements when doing $addToSet, $push, etc [#4185](https://github-redirect.dependabot.com/Automattic/mongoose/issues/4185) > * fix(model): support getting discriminator by value when creating a new model [#7851](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7851) > * docs(transactions): add section about the `withTransaction()` helper [#7598](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7598) > ... (truncated)
Commits - [`baa2066`](https://github.com/Automattic/mongoose/commit/baa20668d4b46581c033c7d7392e4fc8a45de5fb) chore: release 5.6.0 - [`ba4d84f`](https://github.com/Automattic/mongoose/commit/ba4d84f7312213762fb4daf8ad014cc8cf5c8b8e) Merge pull request [#7888](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7888) from Automattic/5.6 - [`86d5c1e`](https://github.com/Automattic/mongoose/commit/86d5c1e40de36f20b90354073e8db230b2fda931) Merge pull request [#7899](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7899) from sharils/patch-1 - [`8d1aa36`](https://github.com/Automattic/mongoose/commit/8d1aa36dfd2cb56af21c0bcbe4737493a30aa733) Merge pull request [#7900](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7900) from sharils/patch-2 - [`30e8cc8`](https://github.com/Automattic/mongoose/commit/30e8cc8b539affb81f4cf6c25e4224f3fb0bd40c) Fix casing - [`3957c5d`](https://github.com/Automattic/mongoose/commit/3957c5d6b1665f8bd109e98f196853021db551bc) Fix reference to example schema.js - [`1f14d36`](https://github.com/Automattic/mongoose/commit/1f14d365ba8d38aee93cfcacceaef90b0e9f5a89) perf(model): add `lean()` to `exists()` query for performance re: [#6872](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6872) - [`57b8c74`](https://github.com/Automattic/mongoose/commit/57b8c741d4a156afd3e61d14bdc13536142acf4e) feat(model): add `Model.exists()` function to quickly check whether a documen... - [`ada35e5`](https://github.com/Automattic/mongoose/commit/ada35e5c59ab9f904ba7f4f73394250b84bc2360) Merge branch 'master' into 5.6 - [`939660e`](https://github.com/Automattic/mongoose/commit/939660e786bc16c87a267093731bed66ffc3f992) chore: now working on 5.5.16 - Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/4.13.14...5.6.0)


Dependabot compatibility score

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.
codecov-io commented 5 years ago

Codecov Report

Merging #251 into develop will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #251   +/-   ##
========================================
  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...ab7cdb3. Read the comment docs.

dependabot-preview[bot] commented 5 years ago

Superseded by #255.