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

Bump mongoose from 5.7.5 to 5.12.5 #74

Merged

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Apr 22, 2021

Bumps mongoose from 5.7.5 to 5.12.5.

Changelog

Sourced from mongoose's changelog.

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

  • fix: avoid setting schema-level collation on text indexes #10044 IslandRhythms
  • fix(query): add writeConcern() method to avoid writeConcern deprecation warning #10009
  • fix(connection): use queueing instead of event emitter for createCollection() and other helpers to avoid event emitter warning #9778
  • fix(connection): scope Connection#id to Mongoose instance so id always lines up with mongoose.connections index #10025 IslandRhythms
  • fix: avoid throwing in promiseOrCallback() if 3rd param isn't an EventEmitter #10055 emrebass
  • fix(index.d.ts): add Model as 2nd generic param to Model.discriminator() #10054 coro101
  • fix(index.d.ts): add docs to next() callback for pre('insertMany') hooks #10078 #10072 pezzu
  • fix(index.d.ts): add transform to PopulateOptions interface #10061
  • fix(index.d.ts): add DocumentQuery type for backwards compatibility #10036

5.12.2 / 2021-03-22

  • fix(QueryCursor): consistently execute post('find') hooks with an array of docs #10015 #9982 IslandRhythms
  • fix(schema): support setting ref as an option on an array SchemaType #10029
  • fix(query): apply schema-level select option from array schematypes #10029
  • fix(schema): avoid possible prototype pollution with Schema() constructor #10035 zpbrent

... (truncated)

Commits
  • 98519de chore: release 5.12.5
  • d5b7e25 docs: update license copyright
  • 937cb24 fix(populate): handle populating underneath document array when document arra...
  • 95f8fe7 docs(mongoose): make useCreateIndex always false in docs
  • 61d24d4 fix(index.d.ts): allow passing array of aggregation pipeline stages to `updat...
  • 998ef54 fix(populate): clear out dangling pointers to populated docs so query cursor ...
  • e2b7553 fix(index.d.ts): support legacy 2nd param callback syntax for deleteOne(), ...
  • c90140f fix(index.d.ts): allow any for $push to allow $push with positional ope...
  • dad2e20 fix(connection): pull correct autoCreate value from Mongoose global when cr...
  • 7b2b1bf fix(populate): handle populating paths on documents with discriminator keys t...
  • 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 will not automatically merge this PR because it includes a minor update to a production dependency.


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 badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the .dependabot/config.yml file in this repo:

  • Update frequency
  • 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)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Apr 22, 2021
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/develop/mongoose-5.12.5 branch from 858861c to 39f3304 Compare April 23, 2021 19:08
@jonfairbanks jonfairbanks merged commit 59a484c into develop Apr 23, 2021
@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/develop/mongoose-5.12.5 branch April 23, 2021 19:09
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.

1 participant