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

fix(deps): Bump mongoose and @typegoose/typegoose #582

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 2, 2021

Bumps mongoose and @typegoose/typegoose. These dependencies needed to be updated together.
Updates mongoose from 5.10.18 to 5.13.5

Changelog

Sourced from mongoose's changelog.

5.13.5 / 2021-07-30

5.13.4 / 2021-07-28

  • fix: avoid pulling non-schema paths from documents into nested paths #10449
  • fix(update): support overwriting nested map paths #10485
  • fix(update): apply timestamps to subdocs that would be newly created by $setOnInsert #10460
  • fix(map): correctly clone subdocs when calling toObject() on a map #10486
  • fix(cursor): cap parallel batchSize for populate at 5000 #10449
  • fix(index.d.ts): improve autocomplete for new Model() by making doc an object with correct keys #10475
  • fix(index.d.ts): add MongooseOptions interface #10471 thiagokisaki
  • fix(index.d.ts): make LeanDocument work with PopulatedDoc #10494
  • docs(mongoose+connection): correct default value for bufferTimeoutMS #10476
  • chore: remove unnecessary 'eslint-disable' comments #10466 thiagokisaki

5.13.3 / 2021-07-16

  • fix(model): avoid throwing error when bulkSave() called on a document with no changes #10437
  • fix(timestamps): apply timestamps when creating new subdocs with $addToSet and with positional operator #10447
  • fix(schema): allow calling Schema#loadClass() with class that has a static getter with no setter #10436
  • fix(model): handle re-applying object defaults after explicitly unsetting #10442 semirturgay
  • fix: bump mongodb driver -> 3.6.10 #10440 AbdelrahmanHafez
  • fix(index.d.ts): consistently use NativeDate instead of Date for Date validators and timestamps functions #10426
  • fix(index.d.ts): allow calling discriminator() with non-document #10452 #10421 DouglasGabr
  • fix(index.d.ts): allow passing ResultType generic to Schema#path() #10435

5.13.2 / 2021-07-03

  • fix: hardcode @​types/node version for now to avoid breaking changes from DefinitelyTyped/DefinitelyTyped#53669 #10415
  • fix(index.d.ts): allow using type: Date with Date paths in SchemaDefinitionType #10409
  • fix(index.d.ts): allow extra VirtualTypeOptions for better plugin support #10412
  • docs(api): add SchemaArray to docs #10397
  • docs(schema+validation): fix broken links #10396
  • docs(transactions): add note about creating a connection to transactions docs #10406

5.13.1 / 2021-07-02

  • fix(discriminator): allow using array as discriminator key in schema and as tied value #10303
  • fix(index.d.ts): allow using & Document in schema definition for required subdocument arrays #10370
  • fix(index.d.ts): if using DocType that doesn't extends Document, default to returning that DocType from toObject() and toJSON() #10345
  • fix(index.d.ts): use raw DocType instead of LeanDocument when using lean() with queries if raw DocType doesn't extends Document #10345
  • fix(index.d.ts): remove err: any in callbacks, use err: CallbackError instead #10340
  • fix(index.d.ts): allow defining map of schemas in TypeScript #10389
  • fix(index.d.ts): correct return type for Model.createCollection() #10359
  • docs(promises+discriminators): correctly escape () in regexp to pull in examples correctly #10364
  • docs(update): fix outdated URL about unindexed upsert #10406 grimmer0125

... (truncated)

Commits
  • c36bd64 chore: release 5.13.5
  • b33599c Merge pull request #10510 from thiagokisaki/gh-10504
  • d88f981 Merge pull request #10515 from andreialecu/perf-types
  • 9c41c19 perf: improve typescript type checking performance
  • f1e0de1 Merge pull request #10501 from gfrancz/patch-1
  • ae819cc fix(index.d.ts): fix debug type in MongooseOptions
  • 28b1aa3 fix: get rid of hardcoding of @​types/node re: DefinitelyTyped/DefinitelyTyped...
  • b82aa37 Update depopulate documentation for document.js
  • 6b33a7b chore: release 5.13.4
  • 060039d fix(index.d.ts): improve autocomplete for new Model() by making doc an ob...
  • Additional commits viewable in compare view

Updates @typegoose/typegoose from 7.6.3 to 8.1.0

Release notes

Sourced from @​typegoose/typegoose's releases.

v8.1.0

8.1.0 (2021-08-01)

Features

  • add error "CannotBeSymbol" to replace custom error (f6754cb)
  • add error "InvalidWhatIsItError" to replace custom error (cc30146)
  • add error "SelfContainingClassError" to replace custom error (3a32dde)
  • rename error "NoValidClass" to "NoValidClassError" (2ec44af)
  • types: passthrough some mongoose option-types (50370d1), closes typegoose/typegoose#259

Style

  • processProp: change to "import type" from "../types" (94b8046)
  • types: fix comment / tsdoc for "IndexOptions" (75cbb27)

Fixes

  • errors: change parameter for "NoValidClassError" from "any" to "unknown" (dbb95d8)

Dependencies

  • eslint: upgrade to version 7.32.0 (cd56ce6)

v8.0.1

8.0.1 (2021-07-30)

Style

  • typegoose: add link to mongoose issue for "Passthrough" class (3fd6f4f)

v8.0.0

8.0.0 (2021-07-28)

⚠ BREAKING CHANGES

  • typeguards: isRefType now is way more stricter and requires an second parameter to work
  • NodeJS 10 & 11 are now unsupported, lowest supported is now NodeJS 12
  • processProp: "ref" and "refPath" now use "mapArrayOptions" that means that some options might be mapped differently
  • Changing types from unofficial to official is an breaking change
  • prop: Removing deprecated options "items", "of", "refType"
  • prop: Removing deprecated function "mapProp"
  • prop: Removing deprecated function "arrayProp"

... (truncated)

Changelog

Sourced from @​typegoose/typegoose's changelog.

8.1.0 (2021-08-01)

Features

  • add error "CannotBeSymbol" to replace custom error (f6754cb)
  • add error "InvalidWhatIsItError" to replace custom error (cc30146)
  • add error "SelfContainingClassError" to replace custom error (3a32dde)
  • rename error "NoValidClass" to "NoValidClassError" (2ec44af)
  • types: passthrough some mongoose option-types (50370d1), closes typegoose/typegoose#259

Style

  • processProp: change to "import type" from "../types" (94b8046)
  • types: fix comment / tsdoc for "IndexOptions" (75cbb27)

Fixes

  • errors: change parameter for "NoValidClassError" from "any" to "unknown" (dbb95d8)

Dependencies

  • eslint: upgrade to version 7.32.0 (cd56ce6)

8.0.1 (2021-07-30)

Style

  • typegoose: add link to mongoose issue for "Passthrough" class (3fd6f4f)

8.0.0 (2021-07-28)

⚠ BREAKING CHANGES

  • typeguards: isRefType now is way more stricter and requires an second parameter to work
  • NodeJS 10 & 11 are now unsupported, lowest supported is now NodeJS 12
  • processProp: "ref" and "refPath" now use "mapArrayOptions" that means that some options might be mapped differently
  • Changing types from unofficial to official is an breaking change
  • prop: Removing deprecated options "items", "of", "refType"
  • prop: Removeing deprecated function "mapProp"
  • prop: Removeing deprecated function "arrayProp"

Features

... (truncated)

Commits
  • fdee49d release: v8.1.0
  • 9dbee8d chore(website): update docusaurus to "2.0.0-beta.4"
  • 7ef8d90 docs(prop): fix link in "Passthrough Class" section
  • 8180504 chore: lockfile maintenance
  • cd56ce6 dependencies(eslint): upgrade to version 7.32.0
  • 25780a1 docs(error-warning-details): update W001 to match code
  • eb17390 docs(error-warning-details): update E003 Error to match code
  • dbb95d8 fix(errors): change parameter for "NoValidClassError" from "any" to "unknown"
  • 2ec44af feat: rename error "NoValidClass" to "NoValidClassError"
  • 3a32dde feat: add error "SelfContainingClassError" to replace custom error
  • Additional commits viewable in compare view

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 dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 2, 2021
kodiakhq[bot]
kodiakhq bot previously approved these changes Aug 2, 2021
Bumps [mongoose](https://github.com/Automattic/mongoose) and [@typegoose/typegoose](https://github.com/typegoose/typegoose). These dependencies needed to be updated together.

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

Updates `@typegoose/typegoose` from 7.6.3 to 8.1.0
- [Release notes](https://github.com/typegoose/typegoose/releases)
- [Changelog](https://github.com/typegoose/typegoose/blob/master/CHANGELOG.md)
- [Commits](typegoose/typegoose@v7.6.3...v8.1.0)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: "@typegoose/typegoose"
  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/mongoose-and-typegoose/typegoose-5.13.5 branch from 7076890 to cb967b3 Compare August 6, 2021 14:50
@gnarea gnarea changed the title chore(deps): Bump mongoose and @typegoose/typegoose fix(deps): Bump mongoose and @typegoose/typegoose Aug 6, 2021
@kodiakhq kodiakhq bot merged commit 3ecdbf9 into master Aug 9, 2021
@kodiakhq kodiakhq bot deleted the dependabot/npm_and_yarn/mongoose-and-typegoose/typegoose-5.13.5 branch August 9, 2021 09:12
@github-actions
Copy link

github-actions bot commented Aug 9, 2021

🎉 This PR is included in version 1.25.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

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 javascript Pull requests that update Javascript code released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant