totolr / Le-Dictateur

BOT discord multi-serveur avec musique, mini-rpg, système d'expérience et plein d'autres commandes funs et de modération !
GNU Affero General Public License v3.0
2 stars 1 forks source link

Bump mongoose from 5.11.13 to 5.12.9 #35

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps mongoose from 5.11.13 to 5.12.9.

Changelog

Sourced from mongoose's changelog.

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
  • fix(index.d.ts): allow setting mongoose.pluralize(null) in TypeScript #10185
  • docs: add link to transactions guide from nav bar #10143
  • docs(validation): add section about custom error messages #10140
  • docs: make headers linkable via clicking #10156
  • docs: broken link in document.js #10190 joostdecock
  • docs: make navbar responsive on legacy 2.x docs #10171 ad99526

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

... (truncated)

Commits
  • fcd108a chore: release 5.12.9
  • 2f1d674 Merge pull request #10238 from Automattic/gh-10202
  • cacdf3b chore: address CR comments
  • 462963c fix(query): re-enable using MongoDB 4.4 projection expressions
  • 7d564eb style: remove unnecessary comment
  • a3e0538 fix(update): convert nested dotted paths in update to nested paths to avoid e...
  • 79928e5 added onlyVirtuals to loadClass
  • 05ebcea fix(index.d.ts): add pre('distinct') hooks to TypeScript
  • 358fdb0 fix(schema): ensure add() overwrites existing schema paths by default
  • 1fa1105 test(schema): repro #10203
  • 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](https://app.dependabot.com): - 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[bot] commented 3 years ago

Superseded by #37.