hackmcgill / hackerAPI

🐓 API for registration, live-site
https://api.mchacks.ca
MIT License
22 stars 8 forks source link

build(deps): bump mongoose from 5.12.14 to 6.9.1 #911

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps mongoose from 5.12.14 to 6.9.1.

Release notes

Sourced from mongoose's releases.

6.9.1 / 2023-02-06

  • fix(document): isModified should not be triggered when setting a nested boolean to the same value as previously #12994 lpizzinidev
  • fix(document): save newly set defaults underneath single nested subdocuments #13002 #12905
  • fix(update): handle custom discriminator model name when casting update #12947 wassil
  • fix(connection): handles unique autoincrement ID for connections #12990 lpizzinidev
  • fix(types): fix type of options of Model.aggregate #12933 ghost91-
  • fix(types): fix "near" aggregation operator input type #12954 Jokero
  • fix(types): add missing Top operator to AccumulatorOperator type declaration #12952 lpizzinidev
  • docs(transactions): added example for Connection.transaction() method #12943 #12934 lpizzinidev
  • docs(populate): fix out of date comment referencing onModel property #13000
  • docs(transactions): fix typo in transactions.md #12995 Parth86

6.9.0 / 2023-01-25

6.8.5 / 2023-01-23

6.8.4 / 2023-01-17

  • fix(collection): handle creating model when connection disconnected with bufferCommands = false #12889
  • fix(populate): merge instead of overwrite when match is on _id #12891
  • fix: add guard to stop loadClass copying Document if Document is used as base of loaded class (same hack as implemented for Model already) #12820 sgpinkus
  • fix(types): correctly infer types on document arrays #12884 #12882 JavaScriptBach
  • fix(types): added omit for ArraySubdocument type in LeanType declaration #12903 piyushk96
  • fix(types): add returnDocument type safety #12906 AbdelrahmanHafez
  • docs(typescript): add notes about virtual context to Mongoose 6 migration and TypeScript virtuals docs #12912 #12806
  • docs(schematypes): removed dead link and fixed formatting #12897 #12885 lpizzinidev
  • docs: fix link to lean api #12910 manniL
  • docs: list all possible strings for schema.pre in one place #12868
  • docs: add list of known incompatible npm packages #12892 IslandRhythms

6.8.3 / 2023-01-06

  • perf: improve performance of assignRawDocsToIdStructure for faster populate on large docs #12867 Uzlopak
  • fix(model): ensure consistent ordering of validation errors in insertMany() with ordered: false and rawResult: true #12866
  • fix: avoid passing final callback to pre hook, because calling the callback can mess up hook execution #12836
  • fix(types): avoid inferring timestamps if methods, virtuals, or statics set #12871
  • fix(types): correctly infer string enums on const arrays #12870 JavaScriptBach
  • fix(types): allow virtuals to be invoked in the definition of other virtuals #12874 sffc
  • fix(types): add type def for Aggregate#model without arguments #12864 hasezoey
  • docs(discriminators): add section about changing discriminator key #12861
  • docs(typescript): explain that virtuals inferred from schema only show up on Model, not raw document type #12860 #12684

6.8.2 / 2022-12-28

... (truncated)

Changelog

Sourced from mongoose's changelog.

6.9.1 / 2023-02-06

  • fix(document): isModified should not be triggered when setting a nested boolean to the same value as previously #12994 lpizzinidev
  • fix(document): save newly set defaults underneath single nested subdocuments #13002 #12905
  • fix(update): handle custom discriminator model name when casting update #12947 wassil
  • fix(connection): handles unique autoincrement ID for connections #12990 lpizzinidev
  • fix(types): fix type of options of Model.aggregate #12933 ghost91-
  • fix(types): fix "near" aggregation operator input type #12954 Jokero
  • fix(types): add missing Top operator to AccumulatorOperator type declaration #12952 lpizzinidev
  • docs(transactions): added example for Connection.transaction() method #12943 #12934 lpizzinidev
  • docs(populate): fix out of date comment referencing onModel property #13000
  • docs(transactions): fix typo in transactions.md #12995 Parth86

6.9.0 / 2023-01-25

6.8.5 / 2023-01-23

6.8.4 / 2023-01-17

  • fix(collection): handle creating model when connection disconnected with bufferCommands = false #12889
  • fix(populate): merge instead of overwrite when match is on _id #12891
  • fix: add guard to stop loadClass copying Document if Document is used as base of loaded class (same hack as implemented for Model already) #12820 sgpinkus
  • fix(types): correctly infer types on document arrays #12884 #12882 JavaScriptBach
  • fix(types): added omit for ArraySubdocument type in LeanType declaration #12903 piyushk96
  • fix(types): add returnDocument type safety #12906 AbdelrahmanHafez
  • docs(typescript): add notes about virtual context to Mongoose 6 migration and TypeScript virtuals docs #12912 #12806
  • docs(schematypes): removed dead link and fixed formatting #12897 #12885 lpizzinidev
  • docs: fix link to lean api #12910 manniL
  • docs: list all possible strings for schema.pre in one place #12868
  • docs: add list of known incompatible npm packages #12892 IslandRhythms

6.8.3 / 2023-01-06

  • perf: improve performance of assignRawDocsToIdStructure for faster populate on large docs #12867 Uzlopak
  • fix(model): ensure consistent ordering of validation errors in insertMany() with ordered: false and rawResult: true #12866
  • fix: avoid passing final callback to pre hook, because calling the callback can mess up hook execution #12836
  • fix(types): avoid inferring timestamps if methods, virtuals, or statics set #12871
  • fix(types): correctly infer string enums on const arrays #12870 JavaScriptBach
  • fix(types): allow virtuals to be invoked in the definition of other virtuals #12874 sffc
  • fix(types): add type def for Aggregate#model without arguments #12864 hasezoey
  • docs(discriminators): add section about changing discriminator key #12861
  • docs(typescript): explain that virtuals inferred from schema only show up on Model, not raw document type #12860 #12684

6.8.2 / 2022-12-28

... (truncated)

Commits


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[bot] commented 1 year ago

Superseded by #913.