Skip to content
This repository has been archived by the owner on Dec 18, 2021. It is now read-only.

chore: bump mongoose from 5.9.24 to 5.12.6 #151

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 28, 2021

Bumps mongoose from 5.9.24 to 5.12.6.

Changelog

Sourced from mongoose's changelog.

5.12.6 / 2021-04-27

  • fix(query): allow setting writeConcern schema option to work around MongoDB driver's writeConcern deprecation warning #10083 #10009 IslandRhythms
  • fix(populate): dedupe when virtual populate foreignField is an array to avoid duplicate docs in result #10117
  • fix(populate): add localField filter to $elemMatch on virtual populate when custom match has a $elemMatch and foreignField is an array #10117
  • fix(query): convert projection string values to numbers as a workaround for #10142
  • fix(document): set version key filter on save() when using optimisticConcurrency if no changes in document #10128 IslandRhythms
  • fix(model): use obj as context in Model.validate() if obj is a document #10132
  • fix(connection): avoid db events deprecation warning when using useDb() with useUnifiedTopology #8267
  • fix: upgrade to [email protected] to work around transitive dev dependency security warning #10121
  • fix(index.d.ts): allow any object as parameter to create() and insertMany() #10144
  • fix(index.d.ts): clarify that eachAsync() callback receives a single doc rather than array of docs unless batchSize is set #10135
  • fix(index.d.ts): clarify that return value from validateSync() is a ValidationError #10147 michaln-q
  • fix(index.d.ts): add generic type for Model constructor #10074 Duchynko
  • fix(index.d.ts): add parameter type in merge #10168 yoonhoGo

5.12.5 / 2021-04-19

  • fix(populate): handle populating underneath document array when document array property doesn't exist in db #10003
  • fix(populate): clear out dangling pointers to populated docs so query cursor with populate() can garbage collect populated subdocs #9864
  • fix(connection): pull correct autoCreate value from Mongoose global when creating new model before calling connect() #10091
  • fix(populate): handle populating paths on documents with discriminator keys that point to non-existent discriminators #10082
  • fix(index.d.ts): allow numbers as discriminator names #10115
  • fix(index.d.ts): allow type: Boolean in Schema definitions #10085
  • fix(index.d.ts): allow passing array of aggregation pipeline stages to updateOne() and updateMany() #10095
  • fix(index.d.ts): support legacy 2nd param callback syntax for deleteOne(), deleteMany() #10122
  • docs(mongoose): make useCreateIndex always false in docs #10033
  • docs(schema): fix incorrect links from schema API docs #10111

5.12.4 / 2021-04-15

  • fix: upgrade mongodb driver -> 3.6.6 #10079
  • fix: store fields set with select:false at schema-level when saving a new document #10101 ptantiku
  • fix(populate): avoid turning already populated field to null when populating an existing lean document #10068 IslandRhythms
  • fix(populate): correctly populate lean subdocs with _id property #10069
  • fix(model): insertedDocs may contain docs that weren't inserted #10098 olnazx
  • fix(schemaType): make type Mixed cast error objects to pojos #10131 AbdelrahmanHafez
  • fix(populate): support populating embedded discriminators in nested arrays #9984
  • fix(populate): handle populating map paths using trailing .$* #10123
  • fix(populate): allow returning primitive from transform() function for single conventional populate #10064
  • fix(index.d.ts): allow generic classes of T to use T & Document internally #10046
  • fix(index.d.ts): allow $pull with $ paths #10075
  • fix(index.d.ts): use correct Date type for $currentDate #10058
  • fix(index.d.ts): add missing asyncInterator to Query type def #10094 borfig
  • fix(index.d.ts): allow RHS of $unset properties to be any value #10066
  • fix(index.d.ts): allow setting SchemaType index property to a string #10077
  • refactor(index.d.ts): move discriminator() to common interface #10109 LoneRifle

5.12.3 / 2021-03-31

... (truncated)

Commits
  • 9723b42 chore: release 5.12.6
  • 54fda61 fix(index.d.ts): allow any object as parameter to create() and insertMany()
  • dca6ba7 chore: update opencollective sponsors
  • 78386c1 chore: update opencollective sponsors
  • fd586dc Merge pull request #10175 from michaln-q/gh-10147
  • 1c7a459 Merge pull request #10167 from Automattic/gh-10083
  • 97f851f fix(query): convert projection string values to numbers as a workaround for #...
  • aef649e fix(index.d.ts): change document.validateSync return type to ValidationError
  • de0cdc4 refactor(populate): move logic that creates populate query filter into helper
  • 53582a6 fix(populate): add localField filter to $elemMatch on virtual populate wh...
  • 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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants