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 5.9.15 to 5.12.5 #196

Closed

Conversation

dependabot-preview[bot]
Copy link

Bumps mongoose from 5.9.15 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 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 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
  • @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 your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • 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
Copy link
Author

Superseded by #197.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/mongoose-5.12.5 branch April 28, 2021 14:48
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