danielfsousa / express-rest-boilerplate

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

Bump mongoose from 5.13.5 to 6.7.1 #642

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps mongoose from 5.13.5 to 6.7.1.

Release notes

Sourced from mongoose's releases.

6.7.1 / 2022-11-02

  • fix(query): select Map field with select: false when explicitly requested #12616 #12603 lpizzinidev
  • fix: correctly find paths underneath single nested document with an array of mixed #12605 #12530
  • fix(populate): better support for populating maps of arrays of refs #12601 #12494
  • fix(types): add missing create constructor signature override type #12585 naorpeled
  • fix(types): make array paths optional in inferred type of array default returns undefined #12649 #12420
  • fix(types): improve ValidateOpts type #12606 Freezystem
  • docs: add Lodash guide highlighting issues with cloneDeep() #12609
  • docs: removed v5 link from v6 docs #12641 #12624 lpizzinidev
  • docs: removed outdated connection example #12618 lpizzinidev

6.7.0 / 2022-10-24

  • feat: upgrade to mongodb driver 4.11.0 #12446
  • feat: add UUID Schema Type (BSON Buffer SubType 4) #12268 #3208 hasezoey
  • feat(aggregation): add $fill pipeline stage #12545 raphael-papazikas
  • feat(types+schema): allow defining schema paths using mongoose.Types.* to work around TS type inference issues #12352
  • feat(schema): add alias() method that makes it easier to define multiple aliases for a given path #12368
  • feat(model): add mergeHooks option to Model.discriminator() to avoid duplicate hooks #12542
  • feat(document): add $timestamps() method to set timestamps for save(), bulkSave(), and insertMany() #12540

6.6.7 / 2022-10-21

  • fix: correct browser build and improve isAsyncFunction check for browser #12577 #12576 #12392
  • fix(query): allow overwriting discriminator key with overwriteDiscriminatorKey if strict: 'throw' #12578 #12513

6.6.6 / 2022-10-20

  • fix(update): handle runValidators when using $set on a doc array in discriminator schema #12571 #12518
  • fix(document): allow creating document with document array and top-level key named schema #12569 #12480
  • fix(cast): make schema-level strictQuery override schema-level strict for query filters #12570 #12508
  • fix(aggregate): avoid adding extra $match stage if user manually set discriminator key to correct value in first pipeline stage #12568 #12478
  • fix: Throws error when updating a key name that match the discriminator key name on nested object #12534 #12517 lpizzinidev
  • fix(types): add limit to $filter expression #12553 raphael-papazikas
  • fix(types): correct replaceWith type pipeline stage #12535 FabioCingottini
  • fix(types): add missing densify type pipeline type #12533 FabioCingottini
  • docs(populate): added transform option description #12560 #12551 lpizzinidev
  • docs(connection): add sample to useDb() documentation #12541 lpizzinidev
  • docs(guide): update broken read-preference links #12538 #12525 hasezoey
  • chore: add TypeScript version field to issue template #12532 hasezoey

6.6.5 / 2022-10-05

  • fix(document): set defaults on subdocuments underneath init-ed single nested subdocument #12523 #12515
  • fix: make Jest fake timers check more robust to other libs that overwrite time functions #12527 #12514
  • fix(types): indicate that Schema.prototype.discriminator() returns this #12522 #12457
  • fix(types): add "estimatedDocumentCount" and "countDocuments" as possible hooks #12519 #12516
  • docs(models): add section on MongoDB Views #12526 #5694
  • docs(subdocs): clarify that populated docs are not subdocs #12521 #12398

... (truncated)

Changelog

Sourced from mongoose's changelog.

6.7.1 / 2022-11-02

  • fix(query): select Map field with select: false when explicitly requested #12616 #12603 lpizzinidev
  • fix: correctly find paths underneath single nested document with an array of mixed #12605 #12530
  • fix(populate): better support for populating maps of arrays of refs #12601 #12494
  • fix(types): add missing create constructor signature override type #12585 naorpeled
  • fix(types): make array paths optional in inferred type of array default returns undefined #12649 #12420
  • fix(types): improve ValidateOpts type #12606 Freezystem
  • docs: add Lodash guide highlighting issues with cloneDeep() #12609
  • docs: removed v5 link from v6 docs #12641 #12624 lpizzinidev
  • docs: removed outdated connection example #12618 lpizzinidev

6.7.0 / 2022-10-24

  • feat: upgrade to mongodb driver 4.11.0 #12446
  • feat: add UUID Schema Type (BSON Buffer SubType 4) #12268 #3208 hasezoey
  • feat(aggregation): add $fill pipeline stage #12545 raphael-papazikas
  • feat(types+schema): allow defining schema paths using mongoose.Types.* to work around TS type inference issues #12352
  • feat(schema): add alias() method that makes it easier to define multiple aliases for a given path #12368
  • feat(model): add mergeHooks option to Model.discriminator() to avoid duplicate hooks #12542
  • feat(document): add $timestamps() method to set timestamps for save(), bulkSave(), and insertMany() #12540

6.6.7 / 2022-10-21

  • fix: correct browser build and improve isAsyncFunction check for browser #12577 #12576 #12392
  • fix(query): allow overwriting discriminator key with overwriteDiscriminatorKey if strict: 'throw' #12578 #12513

6.6.6 / 2022-10-20

  • fix(update): handle runValidators when using $set on a doc array in discriminator schema #12571 #12518
  • fix(document): allow creating document with document array and top-level key named schema #12569 #12480
  • fix(cast): make schema-level strictQuery override schema-level strict for query filters #12570 #12508
  • fix(aggregate): avoid adding extra $match stage if user manually set discriminator key to correct value in first pipeline stage #12568 #12478
  • fix: Throws error when updating a key name that match the discriminator key name on nested object #12534 #12517 lpizzinidev
  • fix(types): add limit to $filter expression #12553 raphael-papazikas
  • fix(types): correct replaceWith type pipeline stage #12535 FabioCingottini
  • fix(types): add missing densify type pipeline type #12533 FabioCingottini
  • docs(populate): added transform option description #12560 #12551 lpizzinidev
  • docs(connection): add sample to useDb() documentation #12541 lpizzinidev
  • docs(guide): update broken read-preference links #12538 #12525 hasezoey
  • chore: add TypeScript version field to issue template #12532 hasezoey

6.6.5 / 2022-10-05

  • fix(document): set defaults on subdocuments underneath init-ed single nested subdocument #12523 #12515
  • fix: make Jest fake timers check more robust to other libs that overwrite time functions #12527 #12514
  • fix(types): indicate that Schema.prototype.discriminator() returns this #12522 #12457
  • fix(types): add "estimatedDocumentCount" and "countDocuments" as possible hooks #12519 #12516
  • docs(models): add section on MongoDB Views #12526 #5694
  • docs(subdocs): clarify that populated docs are not subdocs #12521 #12398

... (truncated)

Commits
  • f90e73d chore: release 6.7.1
  • 64f6ff4 Merge pull request #12649 from Automattic/vkarpov15/gh-12420
  • 1f6864f test: address some code review comments to streamline tests
  • f9501d2 Merge pull request #12646 from hasezoey/updateCheckout
  • 80f597f fix(types): make array paths optional in inferred type of array default retur...
  • fd2d826 Merge pull request #12632 from Automattic/dependabot/npm_and_yarn/master/axio...
  • 76e5940 chore(workflows): update actions/checkout to 3.1.0
  • 0d37fa5 Merge pull request #12640 from Automattic/dependabot/npm_and_yarn/master/mark...
  • b66f457 chore(deps-dev): bump marked from 4.1.1 to 4.2.1
  • 9d4cac8 Merge pull request #12641 from lpizzinidev/fix-12624
  • 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 2 years ago

Superseded by #646.