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

fix(deps): bump mongoose from 5.10.18 to 5.11.8 #889

Merged
merged 16 commits into from
Dec 21, 2020

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 15, 2020

Bumps mongoose from 5.10.18 to 5.11.8.

Changelog

Sourced from mongoose's changelog.

5.11.8 / 2020-12-14

  • fix(index.d.ts): add missing single document populate #9696 YC
  • fix(index.d.ts): make options optional for toObject #9700
  • fix(index.d.ts): added missing match and model methods in Aggregate class #9710 manekshms
  • fix(index.d.ts): make options optional for createIndexes() and ensureIndexes() #9706
  • fix(index.d.ts): support passing a function to ValidateOpts.message #9697
  • docs: add media query for ::before on headings #9705 #9704 YC

5.11.7 / 2020-12-10

  • fix(document): ensure calling get() with empty string returns undefined for mongoose-plugin-autoinc #9681
  • fix(model): set isNew to false for documents that were successfully inserted by insertMany with ordered = false when an error occurred #9677
  • fix(index.d.ts): add missing Aggregate#skip() & Aggregate#limit() #9692 sahasayan
  • fix(index.d.ts): make Document#id optional so types that use id can use Model<IMyType & Document> #9684

5.11.6 / 2020-12-09

  • fix(middleware): ensure sync errors in pre hooks always bubble up to the calling code #9659
  • fix(index.d.ts): allow passing ObjectId properties as strings to create() and findOneAndReplace() #9676
  • fix(index.d.ts): allow calling mongoose.model() and Connection#model() with model as generic param #9685 #9678 sahasayan
  • fix(index.d.ts): Fix return type of Model#aggregate() #9680 orgads
  • fix(index.d.ts): optional next() parameter for post middleware #9683 isengartz
  • fix(index.d.ts): allow array of validators in SchemaTypeOptions #9686 cjroebuck

5.11.5 / 2020-12-07

  • fix(map): support null in maps of subdocs #9628
  • fix(index.d.ts): support object syntax for validate #9667
  • fix(index.d.ts): Allow number for Schema expires #9670 alecgibson
  • fix(index.d.ts): allow definining arbitrary properties on SchemaTypeOpts for plugins like mongoose-autopopulate #9669
  • fix(index.d.ts): add mongoose.models #9661 #9660 AbdelrahmanHafez
  • fix(index.d.ts): allow the next() argument to be optional #9665 #9664 sahasayan
  • fix(index.d.ts): add missing VirtualType#applyGetters() and applySetters(), Schema#virtuals, Schema#childSchemas, Query#_mongooseOptions #9658
  • fix(index.d.ts): add id to LeanDocuments in case it is defined in the user's schema #9657
  • fix(index.d.ts): add missing types for hook functions #9653
  • fix(index.d.ts): improve support for strict null checks with upsert and orFail() #9654
  • fix(index.d.ts): make return values for insertMany() more consistent #9662
  • fix(index.d.ts): Change options in Connection#collection() to be optional #9663 orgads
  • fix(index.d.ts): add the missing generic declaration for Schema #9655 sahasayan
  • fix(index.d.ts): add missing SchemaTypeOpts and ConnectionOptions aliases for backwards compat
  • docs(populate): remove sort() from limit example to avoid potential confusion #9584
  • docs(compatibility): add MongoDB server 4.4 version compatibility #9641

5.11.4 / 2020-12-04

  • fix(index.d.ts): add Document#__v so documents have a Version by default #9652 sahasayan
  • fix(index.d.ts): add missing session option to SaveOptions #9642
  • fix(index.d.ts): add Schema#paths, Schema#static(obj), Embedded#schema, DocumentArray#schema, make Schema inherit from EventEmitter #9650
  • fix(index.d.ts): order when cb is optional in method #9647 CatsMiaow

... (truncated)

Commits
  • 2f95f9f chore: release 5.11.8
  • 6c90b20 Merge pull request #9710 from manekshms/master
  • 6fe409a fix(index.d.ts): make options optional for createIndexes() and `ensureIndex...
  • beac486 added missing match and model methods in Aggregate class in type definition file
  • bdde2ec Merge pull request #9705 from YC/docs
  • d46667a fix(css): media query for ::before on headings
  • c657663 fix(index.d.ts): support passing a function to ValidateOpts.message
  • 3dbbf7d refactor(index.d.ts): add MongooseQueryOptions type for mongooseOptions() a...
  • a053da8 Merge pull request #9700 from orblazer/patch-3
  • ccb0f09 Merge pull request #9699 from orblazer/patch-2
  • 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 close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor 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 dependabot bot added the dependencies Pull requests that update a dependency file label Dec 15, 2020
@dependabot dependabot bot requested a review from karrui December 15, 2020 06:13
The typing of attachmentMetadata is originally Map, but Map is converted to Object once passed through `lean()`.
Copy link
Contributor

@liangyuanruo liangyuanruo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, approving with a few questions

@liangyuanruo liangyuanruo merged commit acc1707 into develop Dec 21, 2020
@liangyuanruo liangyuanruo deleted the dependabot/npm_and_yarn/mongoose-5.11.8 branch December 21, 2020 02:32
@tshuli tshuli mentioned this pull request Dec 22, 2020
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.

2 participants