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 #104

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 18, 2023

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

Release notes

Sourced from mongoose's releases.

7.0.4 / 2023-04-17

7.0.3 / 2023-03-23

  • fix(query): avoid executing transforms if query wasn't executed #13185 #13165
  • fix(schema): make creating top-level virtual underneath subdocument equivalent to creating virtual on the subdocument #13197 #13189
  • fix(timestamps): set timestamps on empty replaceOne() #13196 #13170
  • fix(types): change return type of lean() to include null if nullable #13155 #13151 lpizzinidev
  • fix(types): fixed type of DocumentArray constructor parameter #13183 #13087 lpizzinidev
  • docs: refactor header naming to lessen conflicts #12901 hasezoey
  • docs: change header levels to be consistent across files #13173 hasezoey

7.0.2 / 2023-03-15

7.0.1 / 2023-03-06

  • fix(aggregate): added await to prevent exception in aggregate exec #13126 lpizzinidev
  • fix(types): handle Record as value for HydratedDocument TOverrides parameter #13123 #13094
  • fix(types): remove "update" function #13120 hasezoey
  • docs(compatibility): added mongoDB server compatibility for mongoose 7 #13102 lpizzinidev
  • docs: Updated callback method for Model.findOne() #13096 Arghyahub
  • chore: update github actions to not use ubuntu-18.04 anymore #13137 hasezoey

7.0.0 / 2023-02-27

  • BREAKING CHANGE: copy schema options when merging schemas using new Schema() or Schema.prototype.add() #13092
  • feat(types): export mongodb types more robustly #12948 simon-abbott
  • docs: fix populate docs #13090 hasezoey
  • docs(migrating_to_6): added info about removal of reconnectTries and reconnectInterval options #13083 lpizzinidev

7.0.0-rc0 / 2023-02-23

... (truncated)

Changelog

Sourced from mongoose's changelog.

7.0.4 / 2023-04-17

Commits

Updates @typegoose/typegoose from 10.3.4 to 11.0.1

Release notes

Sourced from @​typegoose/typegoose's releases.

v11.0.1

11.0.1 (2023-04-15)

Fixes

  • typegoose::getDiscriminatorModelForClass: fix "from" type for models with different _id type (fb752fc)

v11.0.0

11.0.0 (2023-03-27)

⚠ BREAKING CHANGES

  • mongoose: mongoose 7.0.0 is now in use
  • Default-Class "FindOrCreate" (and type "FindOrCreateResult") has been removed, because mongoose-findorcreate is not compatible with mongoose 7.0

Features

  • remove usage and references to "mongoose-findorcreate" (6de3aa9)

Fixes

  • update types and type-tests for mongoose 7.0 (b3df459)

Style

  • hooks: update version notice (02fc3bb)
  • test::model::typeguards: add comments noting that a type is meant to be (6aa8f17)

Dependencies

  • @​semantic-release/changelog: upgrade to 6.0.3 (3196d08)
  • @​types/jest: upgrade to 29.5.0 (a2aeefb)
  • @typescript-eslint/*: upgrade to 5.55.0 (40d882f)
  • @typescript-eslint/*: upgrade to 5.56.0 (0116947)
  • commitlint: upgrade to 17.5.0 (d7986a1)
  • eslint-config-prettier: upgrade to 8.7.0 (9394fcf)
  • eslint-config-prettier: upgrade to 8.8.0 (25bfc89)
  • eslint: upgrade to 8.36.0 (4b1db7a)
  • jest: upgrade to 29.5.0 (50491f0)
  • lint-staged: upgrade to 13.2.0 (4417d74)
  • mongodb-memory-server: upgrade to 9.12.1 (fd2874b)
  • mongoose: upgrade to 7.0.0 (0e06ec9)
  • mongoose: upgrade to 7.0.2 (bedb61d)
  • mongoose: upgrade to 7.0.3 (8e964ea)
  • prettier: upgrade to 2.8.7 (c72bd0c)

... (truncated)

Changelog

Sourced from @​typegoose/typegoose's changelog.

11.0.1 (2023-04-15)

Fixes

  • typegoose::getDiscriminatorModelForClass: fix "from" type for models with different _id type (fb752fc)

11.0.0 (2023-03-27)

⚠ BREAKING CHANGES

  • mongoose: mongoose 7.0.0 is now in use
  • Default-Class "FindOrCreate" (and type "FindOrCreateResult") has been removed, because mongoose-findorcreate is not compatible with mongoose 7.0

Features

  • remove usage and references to "mongoose-findorcreate" (6de3aa9)

Fixes

  • update types and type-tests for mongoose 7.0 (b3df459)

Style

  • hooks: update version notice (02fc3bb)
  • test::model::typeguards: add comments noting that a type is meant to be (6aa8f17)

Dependencies

  • @​semantic-release/changelog: upgrade to 6.0.3 (3196d08)
  • @​types/jest: upgrade to 29.5.0 (a2aeefb)
  • @typescript-eslint/*: upgrade to 5.55.0 (40d882f)
  • @typescript-eslint/*: upgrade to 5.56.0 (0116947)
  • commitlint: upgrade to 17.5.0 (d7986a1)
  • eslint-config-prettier: upgrade to 8.7.0 (9394fcf)
  • eslint-config-prettier: upgrade to 8.8.0 (25bfc89)
  • eslint: upgrade to 8.36.0 (4b1db7a)
  • jest: upgrade to 29.5.0 (50491f0)
  • lint-staged: upgrade to 13.2.0 (4417d74)
  • mongodb-memory-server: upgrade to 9.12.1 (fd2874b)
  • mongoose: upgrade to 7.0.0 (0e06ec9)
  • mongoose: upgrade to 7.0.2 (bedb61d)
  • mongoose: upgrade to 7.0.3 (8e964ea)
  • prettier: upgrade to 2.8.7 (c72bd0c)
  • rimraf: upgrade to 4.1.2 (88181b6)
  • rimraf: upgrade to 4.4.0 (3395239)

... (truncated)

Commits
  • 6ebf6be release: v11.0.1
  • fb752fc fix(typegoose::getDiscriminatorModelForClass): fix "from" type for models wit...
  • 5fad338 docs(changeIDType): update documentation to better note how things work
  • 236ad65 docs(faq): add entry for not overwriting "_id"
  • f5b3d4b docs: fix minor typos(#809)
  • 3f0b7d1 docs(prop): fix invalid link
  • e3f80b9 docs(reference-other-classes): add note about circular dependency finding tools
  • 6ebbc74 docs(README): update typegoose 11 release date
  • 31c53c9 docs(common-plugins): update versions for "@​typegoose/auto-increment"
  • 749db10 docs: update notes about "mongoose-findorcreate"
  • 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 the dependencies Pull requests that update a dependency file label Apr 18, 2023
@github-actions github-actions bot added the automerge Allow kodiak to automerge commit when all checks pass label Apr 18, 2023
kodiakhq[bot]
kodiakhq bot previously approved these changes Apr 18, 2023
@gnarea
Copy link
Member

gnarea commented Apr 20, 2023

@dependabot recreate

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 6.10.5 to 7.0.4
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](Automattic/mongoose@6.10.5...7.0.4)

Updates `@typegoose/typegoose` from 10.3.4 to 11.0.1
- [Release notes](https://github.com/typegoose/typegoose/releases)
- [Changelog](https://github.com/typegoose/typegoose/blob/master/CHANGELOG.md)
- [Commits](typegoose/typegoose@v10.3.4...v11.0.1)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: "@typegoose/typegoose"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/mongoose-and-typegoose/typegoose-7.0.4 branch from 3fe8a76 to 657de7b Compare April 20, 2023 13:44
@kodiakhq kodiakhq bot merged commit 960dcff into main Apr 20, 2023
@kodiakhq kodiakhq bot deleted the dependabot/npm_and_yarn/mongoose-and-typegoose/typegoose-7.0.4 branch April 20, 2023 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Allow kodiak to automerge commit when all checks pass dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant