corgicode / api

Backend for the codecorgi platform
http://codecorgi.co
Other
3 stars 0 forks source link

Bump mongoose from 4.13.7 to 5.1.1 #121

Open dependabot-preview[bot] opened 6 years ago

dependabot-preview[bot] commented 6 years ago

Bumps mongoose from 4.13.7 to 5.1.1.

Changelog *Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).* > 5.1.1 / 2018-05-14 > ================== > * docs(schema): add notes in api and guide about schema.methods object [#6470](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6470) [#6440](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6440) [lineus](https://github.com/lineus) > * fix(error): add modified paths to VersionError [#6464](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6464) [#6433](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6433) [paglias](https://github.com/paglias) > * fix(populate): only call populate with full param signature when match is not present [#6458](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6458) [#6451](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6451) [lineus](https://github.com/lineus) > * docs: fix geoNear link in migration guide [#6450](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6450) [kawache](https://github.com/kawache) > * fix(discriminator): throw readable error when `create()` with a non-existent discriminator key [#6434](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6434) > * fix(populate): add `retainNullValues` option to avoid stripping out null keys [#6432](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6432) > * fix(populate): handle populate in embedded discriminators underneath nested paths [#6411](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6411) > * docs(model): add change streams and ToC, make terminology more consistent [#5888](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5888) > > 5.1.0 / 2018-05-10 > ================== > * feat(ObjectId): add `_id` getter so you can get a usable id whether or not the path is populated [#6415](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6415) [#6115](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6115) > * feat(model): add Model.startSession() [#6362](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6362) > * feat(document): add doc.$session() and set session on doc after query [#6362](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6362) > * feat: add Map type that supports arbitrary keys [#6287](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6287) [#681](https://github-redirect.dependabot.com/Automattic/mongoose/issues/681) > * feat: add `cloneSchemas` option to mongoose global to opt in to always cloning schemas before use [#6274](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6274) > * feat(model): add `findOneAndDelete()` and `findByIdAndDelete()` [#6164](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6164) > * feat(document): support `$ignore()` on single nested and array subdocs [#6152](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6152) > * feat(document): add warning about calling `save()` on subdocs [#6152](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6152) > * fix(model): make `save()` use `updateOne()` instead of `update()` [#6031](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6031) > * feat(error): add version number to VersionError [#5966](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5966) > * fix(query): allow `[]` as a value for `$in` when casting [#5913](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5913) > * fix(document): avoid running validators on single nested paths if only a child path is modified [#5885](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5885) > * feat(schema): print warning if method conflicts with mongoose internals [#5860](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5860) > > 5.0.18 / 2018-05-09 > =================== > * fix(update): stop clobbering $in when casting update [#6441](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6441) [#6339](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6339) [lineus](https://github.com/lineus) > * fix: upgrade mongodb driver -> 3.0.8 to fix session issue [#6437](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6437) [#6357](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6357) [simllll](https://github.com/simllll) > * fix: upgrade bson -> 1.0.5 re: https://snyk.io/vuln/npm:bson:20180225 [#6423](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6423) [ChristianMurphy](https://github.com/ChristianMurphy) > * fix: look for `valueOf()` when casting to Decimal128 [#6419](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6419) [#6418](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6418) [lineus](https://github.com/lineus) > * fix: populate array of objects with space separated paths [#6414](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6414) [lineus](https://github.com/lineus) > * test: add coverage for `mongoose.pluralize()` [#6412](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6412) [FastDeath](https://github.com/FastDeath) > * fix(document): avoid running default functions on init() if path has value [#6410](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6410) > * fix(document): allow saving document with `null` id [#6406](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6406) > * fix: prevent casting of populated docs in document.init [#6390](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6390) [lineus](https://github.com/lineus) > * fix: remove `toHexString()` helper that was added in 5.0.15 [#6359](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6359) > > 5.0.17 / 2018-04-30 > =================== > * docs(migration): certain chars in passwords may cause connection failures [#6401](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6401) [markstos](https://github.com/markstos) > * fix(document): don't throw when `push()` on a nested doc array [#6398](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6398) > * fix(model): apply hooks to custom methods if specified [#6385](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6385) > * fix(schema): support opting out of one timestamp field but not the other for `insertMany()` [#6381](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6381) > * fix(documentarray): handle `required: true` within documentarray definition [#6364](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6364) > * fix(document): ensure `isNew` is set before default functions run on init [#3793](https://github-redirect.dependabot.com/Automattic/mongoose/issues/3793) > > 5.0.16 / 2018-04-23 > ... (truncated)
Commits - [`3ffe291`](https://github.com/Automattic/mongoose/commit/3ffe2915b43f7c5eafdb822cd0063c551771ac88) chore: release 5.1.1 - [`fa32ea9`](https://github.com/Automattic/mongoose/commit/fa32ea98582437450933878052add1786106b909) fix(populate): add `retainNullValues` option to avoid stripping out null keys - [`653ef83`](https://github.com/Automattic/mongoose/commit/653ef8321c832bef77ae095e983041479f5b49e8) test(populate): repro [#6432](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6432) - [`7ff8e3e`](https://github.com/Automattic/mongoose/commit/7ff8e3efd66b5b0a742d8d0e10faa1c476a09fba) Merge branch 'master' of github.com:Automattic/mongoose - [`2de3280`](https://github.com/Automattic/mongoose/commit/2de3280764968188f66f4654d31ea0d8095d3a2c) fix: make debug output print `null` correctly - [`3054e03`](https://github.com/Automattic/mongoose/commit/3054e03f07a6674e74194be8ca4a3fd1d62c6000) Merge pull request [#6470](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6470) from lineus/docs-6440 - [`b80fbf9`](https://github.com/Automattic/mongoose/commit/b80fbf9d913c041cb378cf03f2958223c3fe4026) fix linter errors in types/buffer.js and schema.js - [`dbd7b1d`](https://github.com/Automattic/mongoose/commit/dbd7b1d45fa981bd05fdecfd7f8ca317231662ac) add notes in api and guide about schema.methods object - [`edb3059`](https://github.com/Automattic/mongoose/commit/edb3059f71b97fbb33c2c18d6c4b92bfcc0791aa) fix(discriminator): throw readable error when `create()` with a non-existent ... - [`fd04db0`](https://github.com/Automattic/mongoose/commit/fd04db069bdc570cde2b6606ac5221fcc8cf5f35) test(discriminator): repro [#6434](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6434) - Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/4.13.7...5.1.1)


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 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 (this|these) label[s]` will set the current labels as the default for future PRs for this repo and language - `@dependabot use (this|these) reviewer[s]` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use (this|these) assignee[s]` will set the current assignees as the default for future PRs for this repo and language 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) - 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.