Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump mongoose and mongoose-unique-validator #173

Merged
merged 1 commit into from
May 9, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 9, 2024

Bumps mongoose and mongoose-unique-validator. These dependencies needed to be updated together.
Updates mongoose from 7.6.11 to 8.3.4

Release notes

Sourced from mongoose's releases.

8.3.4 / 2024-05-06

  • perf(document): avoid cloning options using spread operator for perf reasons #14565 #14394
  • fix(query): apply translateAliases before casting to avoid strictMode error when using aliases #14562 #14521
  • fix(model): consistent top-level timestamps option for bulkWrite operations #14546 #14536
  • docs(connections): improve description of connection creation patterns #14564 #14528

8.3.3 / 2024-04-29

  • perf(document): add fast path for applying non-nested virtuals to JSON #14543
  • fix: make hydrate() recursively hydrate virtual populate docs if hydratedPopulatedDocs is set #14533 #14503
  • fix: improve timestamps option handling in bulkWrite #14546 #14536 sderrow
  • fix(model): make recompileSchema() overwrite existing document array discriminators #14527
  • types(schema): correctly infer Array #14534 #14367
  • types(query+populate): apply populate overrides to doc toObject() result #14525 #14441
  • types: add null to select override return type for findOne #14545 sderrow

8.3.2 / 2024-04-16

  • fix(populate): avoid match function filtering out null values in populate result #14518 #14494
  • types(query): make FilterQuery props resolve to any for generics support #14510 #14473 #14459
  • types(DocumentArray): pass DocType generic to Document for correct toJSON() and toObject() return types #14526 #14469
  • types(models): fix incorrect bulk write options #14513 emiljanitzek
  • docs: add documentation for calling schema.post() with async function #14514 #14305

8.3.1 / 2024-04-08

  • fix(document): make update minimization unset property rather than setting to null #14504 #14445
  • fix(model): make Model.recompileSchema() also re-apply discriminators #14500 #14444
  • fix(schema): deduplicate idGetter so creating multiple models with same schema doesn't result in multiple id getters #14492
  • fix: update kareem -> 2.6.3 for index.d.ts #14508 #14497
  • fix(mongoose): make setDriver() update mongoose.model() connections and collections #14505
  • types(validation): support function for validator message property, and add support for accessing validator reason #14499 #14496
  • docs: remove typo #14501 epmartini

8.3.0 / 2024-04-03

  • feat: use [email protected]
  • feat(document): add validateAllPaths option to validate() and validateSync() #14467 #14414
  • feat: pathsToSave option to save() function #14385 #9583
  • feat(query): add options parameter to Query.prototype.sort() #14375 #14365
  • feat: add function SchemaType.prototype.validateAll #14434 #6910
  • fix: handle array schema definitions with of keyword #14447 #14416
  • types: add overwriteMiddlewareResult and skipMiddlewareFunction to types #14328 #14829

8.2.4 / 2024-03-28

  • types(query): bring "getFilter" and "getQuery" in-line with "find" and other types #14463 hasezoey
  • types(schema): re-export the defintion for SearchIndexDescription #14464 noseworthy

... (truncated)

Changelog

Sourced from mongoose's changelog.

8.3.4 / 2024-05-06

  • perf(document): avoid cloning options using spread operator for perf reasons #14565 #14394
  • fix(query): apply translateAliases before casting to avoid strictMode error when using aliases #14562 #14521
  • fix(model): consistent top-level timestamps option for bulkWrite operations #14546 #14536
  • docs(connections): improve description of connection creation patterns #14564 #14528

8.3.3 / 2024-04-29

  • perf(document): add fast path for applying non-nested virtuals to JSON #14543
  • fix: make hydrate() recursively hydrate virtual populate docs if hydratedPopulatedDocs is set #14533 #14503
  • fix: improve timestamps option handling in bulkWrite #14546 #14536 sderrow
  • fix(model): make recompileSchema() overwrite existing document array discriminators #14527
  • types(schema): correctly infer Array #14534 #14367
  • types(query+populate): apply populate overrides to doc toObject() result #14525 #14441
  • types: add null to select override return type for findOne #14545 sderrow

8.3.2 / 2024-04-16

  • fix(populate): avoid match function filtering out null values in populate result #14518 #14494
  • types(query): make FilterQuery props resolve to any for generics support #14510 #14473 #14459
  • types(DocumentArray): pass DocType generic to Document for correct toJSON() and toObject() return types #14526 #14469
  • types(models): fix incorrect bulk write options #14513 emiljanitzek
  • docs: add documentation for calling schema.post() with async function #14514 #14305
Commits

Updates mongoose-unique-validator from 4.0.0 to 5.0.0

Changelog

Sourced from mongoose-unique-validator's changelog.

Changelog

5.0

  • Updates to mongoose 8

4.0

  • Updates to mongoose 7

3.1.0

  • Fixes "expected _id to be unique" errors.
  • Fixes error when model is the name of a field.

3.0.0

  • Re-versions and deprecates v2.0.4 due to major mongoose version bump.

2.0.4

  • Updates Mongoose dependency to 6.x.

2.0.3

  • Escapes regular expression characters when used with case-insensitive option.

2.0.2

  • Updates collection.count to collection.countDocuments for mongoose deprecation.

2.0.1

  • Restores strict mode for backwards-compat with Node 4+.

2.0.0

  • Corrects handling of _id column index when used with Mongoose v5.
  • Removes tests/support for custom _id column unique indexes.

1.0.6

  • Adds support for uniqueCaseInsensitive on index options.

1.0.5

  • Updated validator to use a promise, as async validators are deprecated as of Mongoose 4.9.

1.0.4

... (truncated)

Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

This change is Reviewable

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 9, 2024
Copy link
Contributor

deepsource-io bot commented May 9, 2024

Here's the code health analysis summary for commits e4e8e35..f2411ef. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗
DeepSource Docker LogoDocker✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/multi-326be72d12 branch from 2882f0e to 13a3b03 Compare May 9, 2024 01:58
Bumps [mongoose](https://github.com/Automattic/mongoose) and [mongoose-unique-validator](https://github.com/mongoose-unique-validator/mongoose-unique-validator). These dependencies needed to be updated together.

Updates `mongoose` from 7.6.11 to 8.3.4
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](Automattic/mongoose@7.6.11...8.3.4)

Updates `mongoose-unique-validator` from 4.0.0 to 5.0.0
- [Changelog](https://github.com/mongoose-unique-validator/mongoose-unique-validator/blob/master/CHANGELOG.md)
- [Commits](mongoose-unique-validator/mongoose-unique-validator@4.0...5.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/multi-326be72d12 branch from 13a3b03 to f2411ef Compare May 9, 2024 01:58
@DaveLuhman DaveLuhman merged commit 99ae6a2 into master May 9, 2024
5 checks passed
@DaveLuhman DaveLuhman deleted the dependabot/npm_and_yarn/multi-326be72d12 branch May 9, 2024 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant