Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump mongoose from 3.8.40 to 5.8.0 #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Dec 10, 2019

Bumps mongoose from 3.8.40 to 5.8.0.

Changelog

Sourced from mongoose's changelog.

5.8.0 / 2019-12-09

  • feat: wrap server selection timeout errors in MongooseTimeoutError to retain original stack trace #8259
  • feat(model): add Model.validate() function that validates a POJO against the model's schema #7587
  • feat(schema): add Schema#pick() function to create a new schema with a picked subset of the original schema's paths #8207
  • feat(schema): add ability to change CastError message using cast option to SchemaType #8300
  • feat(schema): group indexes defined in schema path with the same name #6499
  • fix(model): build all indexes even if one index fails #8185 unusualbob
  • feat(browser): pre-compile mongoose/browser #8350 captaincaius
  • fix(connection): throw error when setting unsupported option #8335 #6899 AbdelrahmanHafez
  • feat(schema): support enum validator for number type #8139
  • feat(update): allow using MongoDB 4.2 update aggregation pipelines, with no Mongoose casting #8225
  • fix(update): make update validators run on all subpaths when setting a nested path, even omitted subpaths #3587
  • feat(schema): support setting _id as an option to single nested schema paths #8137
  • feat(query): add Query#mongooseOptions() function #8296
  • feat(array): make MongooseArray#push() support using $position #4322
  • feat(schema): make pojo paths optionally become subdoc instead of Mixed #8228 captaincaius
  • feat(model): add Model.cleanIndexes() to drop non-schema indexes #6676
  • feat(document): make updateOne() document middleware pass this to post hooks #8262
  • feat(aggregate): run pre/post aggregate hooks on explain() #5887
  • docs(model+query): add session option to docs for findOneAndX() methods #8396

5.7.14 / 2019-12-06

  • fix(cursor): wait until all eachAsync() functions finish before resolving the promise #8352
  • fix(update): handle embedded discriminator paths when discriminator key is defined in the update #8378
  • fix(schematype): handle passing message function to SchemaType#validate() as positional arg #8360
  • fix(map): handle cloning a schema that has a map of subdocuments #8357
  • docs(schema): clarify that uppercase, lowercase, and trim options for SchemaString don't affect RegExp queries #8333

5.7.13 / 2019-11-29

  • fix: upgrade mongodb driver -> 3.3.5 #8383
  • fix(model): catch the error when insertMany fails to initialize the document #8365 #8363 Fonger
  • fix(schema): add array.$, array.$.$ subpaths for nested arrays #6405
  • docs(error): add more detail about the ValidatorError class, including properties #8346
  • docs(connection): document Connection#models property #8314

5.7.12 / 2019-11-19

  • fix: avoid throwing error if calling push() on a doc array with no parent #8351 #8317 #8312 AbdelrahmanHafez
  • fix(connection): only buffer for "open" events when calling connection helper while connecting #8319
  • fix(connection): pull default database from connection string if specified #8355 #8354 zachazar
  • fix(populate+discriminator): handle populating document whose discriminator value is different from discriminator model name #8324
  • fix: add mongoose.isValidObjectId() function to test whether Mongoose can cast a value to an objectid #3823
  • fix(model): support setting excludeIndexes as schema option for subdocs #8343
  • fix: add SchemaMapOptions class for options to map schematype #8318
  • docs(query): remove duplicate omitUndefined options #8349 mdumandag
  • docs(schema): add Schema#paths docs to public API docs #8340
... (truncated)
Commits
  • 9ce1375 chore: release 5.8.0
  • ee892b9 Merge pull request #8415 from Automattic/5.8
  • 8a7aefe docs(model+query): add session option to docs for findOneAndX() methods
  • edd8277 chore: now working on 5.7.15
  • c2cda8a Merge branch 'master' into 5.8
  • 7575882 chore: release 5.7.14
  • 6ec6980 test: make parallelLimit test more robust to timing issues
  • ddb9d15 Merge pull request #8350 from captaincaius/feature-precompile-browser
  • 456f195 Merge branch '5.8' into feature-precompile-browser
  • 2cbe7fb Merge branch 'master' into 5.8
  • Additional commits viewable in compare view

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

You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants