Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Bump mongoose from 5.12.6 to 6.7.4 #452

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Nov 29, 2022

Bumps mongoose from 5.12.6 to 6.7.4.

Release notes

Sourced from mongoose's releases.

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

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

... (truncated)

Changelog

Sourced from mongoose's changelog.

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

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

... (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)

Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.12.6 to 6.7.4.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](Automattic/mongoose@5.12.6...6.7.4)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 29, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Dec 1, 2022

Superseded by #453.

@dependabot dependabot bot closed this Dec 1, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/mongoose-6.7.4 branch December 1, 2022 02:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants