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.8.1 #895

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps mongoose from 5.12.14 to 6.8.1.

Release notes

Sourced from mongoose's releases.

6.8.1 / 2022-12-19

  • fix(query): avoid throwing circular dependency error if same object is used in multiple properties #12774 orgads
  • fix(map): return value from super.delete() #12777 danbrud
  • fix(populate): handle virtual populate underneath document array with justOne=true and sort set where 1 element has only 1 result #12815 #12730
  • fix(update): handle embedded discriminators when casting array filters #12802 #12565
  • fix(populate): avoid calling transform if there's no populate results and using lean #12804 #12739
  • fix(model): prevent index creation on syncIndexes if not necessary #12785 #12250 lpizzinidev
  • fix(types): correctly infer this when using pre('updateOne') with { document: true, query: false } #12778
  • fix(types): make InferSchemaType: consider { required: boolean } required if it isn't explicitly false #12784 JavaScriptBach
  • docs: replace many occurrences of "localhost" with "127.0.0.1" #12811 #12741 hasezoey SadiqOnGithub
  • docs(mongoose): Added missing options to set #12810 lpizzinidev
  • docs: add info on $locals parameters to getters/setters tutorial #12814 #12550 IslandRhythms
  • docs: make Document.prototype.$clone() public #12803
  • docs(query): updated explanation for slice #12776 #12474 lpizzinidev
  • docs(middleware): fix broken links #12787 lpizzinidev
  • docs(queries): fixed broken links #12790 lpizzinidev

6.8.0 / 2022-12-05

6.7.5 / 2022-11-30

  • fix(schema): copy indexes when calling add() with schema instance #12737 #12654
  • fix(query): handle deselecting _id when another field has schema-level select: false #12736 #12670
  • fix(types): support using UpdateQuery in bulkWrite() #12742 #12595
  • docs(middleware): added note about execution policy on subdocuments #12735 #12694 lpizzinidev
  • docs(validation): clarify context for update validators in validation docs #12738 #12655 IslandRhythms

6.7.4 / 2022-11-28

  • fix: allow setting global strictQuery after Schema creation #12717 #12703 lpizzinidev
  • fix(cursor): make eachAsync() avoid modifying batch when mixing parallel and batchSize #12716
  • fix(types): infer virtuals in query results #12727 #12702 #12684
  • fix(types): correctly infer ReadonlyArray types in schema definitions #12720
  • fix(types): avoid typeof Query with generics for TypeScript 4.6 support #12712 #12688
  • chore: avoid bundling .tgz files when publishing #12725 hasezoey

6.7.3 / 2022-11-22

... (truncated)

Changelog

Sourced from mongoose's changelog.

6.8.1 / 2022-12-19

  • fix(query): avoid throwing circular dependency error if same object is used in multiple properties #12774 orgads
  • fix(map): return value from super.delete() #12777 danbrud
  • fix(populate): handle virtual populate underneath document array with justOne=true and sort set where 1 element has only 1 result #12815 #12730
  • fix(update): handle embedded discriminators when casting array filters #12802 #12565
  • fix(populate): avoid calling transform if there's no populate results and using lean #12804 #12739
  • fix(model): prevent index creation on syncIndexes if not necessary #12785 #12250 lpizzinidev
  • fix(types): correctly infer this when using pre('updateOne') with { document: true, query: false } #12778
  • fix(types): make InferSchemaType: consider { required: boolean } required if it isn't explicitly false #12784 JavaScriptBach
  • docs: replace many occurrences of "localhost" with "127.0.0.1" #12811 #12741 hasezoey SadiqOnGithub
  • docs(mongoose): Added missing options to set #12810 lpizzinidev
  • docs: add info on $locals parameters to getters/setters tutorial #12814 #12550 IslandRhythms
  • docs: make Document.prototype.$clone() public #12803
  • docs(query): updated explanation for slice #12776 #12474 lpizzinidev
  • docs(middleware): fix broken links #12787 lpizzinidev
  • docs(queries): fixed broken links #12790 lpizzinidev

6.8.0 / 2022-12-05

6.7.5 / 2022-11-30

  • fix(schema): copy indexes when calling add() with schema instance #12737 #12654
  • fix(query): handle deselecting _id when another field has schema-level select: false #12736 #12670
  • fix(types): support using UpdateQuery in bulkWrite() #12742 #12595
  • docs(middleware): added note about execution policy on subdocuments #12735 #12694 lpizzinidev
  • docs(validation): clarify context for update validators in validation docs #12738 #12655 IslandRhythms

6.7.4 / 2022-11-28

  • fix: allow setting global strictQuery after Schema creation #12717 #12703 lpizzinidev
  • fix(cursor): make eachAsync() avoid modifying batch when mixing parallel and batchSize #12716
  • fix(types): infer virtuals in query results #12727 #12702 #12684
  • fix(types): correctly infer ReadonlyArray types in schema definitions #12720
  • fix(types): avoid typeof Query with generics for TypeScript 4.6 support #12712 #12688
  • chore: avoid bundling .tgz files when publishing #12725 hasezoey

6.7.3 / 2022-11-22

... (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 #897.