Skip to content
This repository was archived by the owner on Apr 12, 2022. It is now read-only.

Bump mongoose from 5.8.6 to 5.12.10 #85

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 24, 2021

Bumps mongoose from 5.8.6 to 5.12.10.

Changelog

Sourced from mongoose's changelog.

5.12.10 / 2021-05-18

  • fix(query): allow setting defaults option on result documents from query options #7287 IslandRhythms
  • fix(populate): handle populating embedded discriminator with custom tiedValue #10231
  • fix(document): allow passing space-delimited string of pathsToValidate to validate() and validateSync() #10258
  • fix(model+schema): support loadClass() on classes that have collection as a static property #10257 #10254 IslandRhythms
  • fix(SchemaArrayOptions): correct property name #10236
  • fix(index.d.ts): add any to all query operators to minimize likelihood of "type instantiation is excessively deep" when querying docs with 4-level deep subdocs #10189
  • fix(index.d.ts): add $parent() in addition to parent() in TS definitions
  • fix(index.d.ts): correct async iterator return type for QueryCursor #10253 #10252 #10251 borfig
  • fix(index.d.ts): add virtualsOnly parameter to loadClass() function signature IslandRhythms
  • docs(typescript): add typescript populate docs #10212
  • docs: switch from AWS to Azure Functions for search #10244

5.12.9 / 2021-05-13

  • fix(schema): ensure add() overwrites existing schema paths by default #10208 #10203
  • fix(schema): support creating nested paths underneath document arrays #10193
  • fix(update): convert nested dotted paths in update to nested paths to avoid ending up with dotted properties in update #10200
  • fix(document): allow calling validate() and validateSync() with options as first parameter #10216
  • fix(schema): apply static properties to model when using loadClass() #10206
  • fix(index.d.ts): allow returning Promise from middleware functions #10229
  • fix(index.d.ts): add pre('distinct') hooks to TypeScript #10192

5.12.8 / 2021-05-10

  • fix(populate): handle populating immutable array paths #10159
  • fix(CastError): add toJSON() function to ensure name property always ends up in JSON.stringify() output #10166 IslandRhythms
  • fix(query): add allowDiskUse() method to improve setting MongoDB 4.4's new allowDiskUse option #10177
  • fix(populate): allow populating paths under mixed schematypes where some documents have non-object properties #10191
  • chore: remove unnecessary driver dynamic imports so Mongoose can work with Parcel #9603
  • fix(index.d.ts): allow any object as parameter to create() and insertMany() #10144
  • fix(index.d.ts): allow creating Model class with raw interface, no extends Document #10144
  • fix(index.d.ts): separate UpdateQuery from UpdateWithAggregationPipeline for cases when UpdateQuery is used as a function param #10186
  • fix(index.d.ts): don't require error value in pre/post hooks #10213 michaln-q
  • docs(typescript): add a typescript intro tutorial and statics tutorial #10021
  • docs(typescript): add query helpers tutorial #10021
  • docs(deprecations): add note that you can safely ignore useFindAndModify and useCreateIndex deprecation warnings #10155
  • chore(workflows): add node 16 to github actions #10201 AbdelrahmanHafez

5.12.7 / 2021-04-29

  • fix(document): make $getPopulatedDocs() return populated virtuals #10148
  • fix(discriminator): take discriminator schema's single nested paths over base schema's #10157
  • fix(discriminator): allow numbers and ObjectIds as tied values for discriminators #10130
  • fix(document): avoid double validating paths underneath mixed objects in save() #10141
  • fix(schema): allow path() to return single nested paths within document arrays #10164
  • fix(model+query): consistently wrap query callbacks in process.nextTick() to avoid clean stack traces causing memory leak when using synchronous recursion like async.whilst() #9864
  • fix(cursor): correctly report CastError when using noCursorTimeout flag #10150
  • fix(index.d.ts): add CastError constructor #10176

... (truncated)

Commits
  • e9b44e2 chore: release 5.12.10
  • 07a527c fix(populate): handle populating embedded discriminator with custom tiedValue
  • 4c7e5de test(populate): repro #10231
  • 616be95 fix(document): allow passing space-delimited string of pathsToValidate to `...
  • 94291be style: fix lint
  • 312df3d Merge pull request #10257 from Automattic/enhancement-10254
  • c19ffca Merge pull request #10245 from Automattic/feat-7287
  • 1c30add Merge pull request #10198 from HunterKohler/master
  • 79a71cb fix(index.d.ts): use $parent() instead of parent() in TS definitions
  • 1985c94 added comments
  • 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 May 24, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 31, 2021

Superseded by #86.

@dependabot dependabot bot closed this May 31, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/mongoose-5.12.10 branch May 31, 2021 05:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants