danielfsousa / express-rest-boilerplate

⌛️ Express starter for building RESTful APIs
MIT License
2.36k stars 620 forks source link

chore(deps): bump mongoose from 5.13.5 to 6.8.0 #663

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps mongoose from 5.13.5 to 6.8.0.

Release notes

Sourced from mongoose's releases.

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

6.7.2 / 2022-11-07

  • fix(discriminator): skip copying base schema plugins if applyPlugins == false #12613 #12604 lpizzinidev
  • fix(types): add UUID to types #12650 #12593
  • fix(types): allow setting SchemaTypeOptions' index property to IndexOptions #12562
  • fix(types): set this to doc type in SchemaType.prototype.validate() #12663 #12590
  • fix(types): correct handling for model #12659 #12573
  • fix(types): pre hook with deleteOne should resolve this as Query #12642 #12622 lpizzinidev

... (truncated)

Changelog

Sourced from mongoose's changelog.

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

6.7.2 / 2022-11-07

  • fix(discriminator): skip copying base schema plugins if applyPlugins == false #12613 #12604 lpizzinidev
  • fix(types): add UUID to types #12650 #12593
  • fix(types): allow setting SchemaTypeOptions' index property to IndexOptions #12562
  • fix(types): set this to doc type in SchemaType.prototype.validate() #12663 #12590
  • fix(types): correct handling for model #12659 #12573
  • fix(types): pre hook with deleteOne should resolve this as Query #12642 #12622 lpizzinidev

... (truncated)

Commits
  • 82943da chore: release 6.8.0
  • 687dfe6 Merge pull request #12768 from Automattic/6.8
  • c561459 Merge branch 'master' into 6.8
  • 1717e16 Merge pull request #12769 from Automattic/revert-12751-dependabot/npm_and_yar...
  • 40dba69 Revert "chore(deps-dev): bump typescript from 4.8.4 to 4.9.3"
  • 7676f5c Merge branch 'master' into 6.8
  • efed0a4 Merge pull request #12723 from Automattic/vkarpov15/gh-12595
  • 170e6df Merge pull request #12750 from Automattic/dependabot/npm_and_yarn/master/sino...
  • 52cdf92 Merge pull request #12753 from Automattic/dependabot/npm_and_yarn/master/babe...
  • 51bb927 Merge pull request #12751 from Automattic/dependabot/npm_and_yarn/master/type...
  • 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[bot] commented 1 year ago

Superseded by #665.