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

npm-backend: bump mongoose from 5.13.12 to 6.9.0 in /backend/js #366

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 1, 2023

Bumps mongoose from 5.13.12 to 6.9.0.

Release notes

Sourced from mongoose's releases.

6.9.0 / 2023-01-25

6.8.5 / 2023-01-23

6.8.4 / 2023-01-17

  • fix(collection): handle creating model when connection disconnected with bufferCommands = false #12889
  • fix(populate): merge instead of overwrite when match is on _id #12891
  • fix: add guard to stop loadClass copying Document if Document is used as base of loaded class (same hack as implemented for Model already) #12820 sgpinkus
  • fix(types): correctly infer types on document arrays #12884 #12882 JavaScriptBach
  • fix(types): added omit for ArraySubdocument type in LeanType declaration #12903 piyushk96
  • fix(types): add returnDocument type safety #12906 AbdelrahmanHafez
  • docs(typescript): add notes about virtual context to Mongoose 6 migration and TypeScript virtuals docs #12912 #12806
  • docs(schematypes): removed dead link and fixed formatting #12897 #12885 lpizzinidev
  • docs: fix link to lean api #12910 manniL
  • docs: list all possible strings for schema.pre in one place #12868
  • docs: add list of known incompatible npm packages #12892 IslandRhythms

6.8.3 / 2023-01-06

  • perf: improve performance of assignRawDocsToIdStructure for faster populate on large docs #12867 Uzlopak
  • fix(model): ensure consistent ordering of validation errors in insertMany() with ordered: false and rawResult: true #12866
  • fix: avoid passing final callback to pre hook, because calling the callback can mess up hook execution #12836
  • fix(types): avoid inferring timestamps if methods, virtuals, or statics set #12871
  • fix(types): correctly infer string enums on const arrays #12870 JavaScriptBach
  • fix(types): allow virtuals to be invoked in the definition of other virtuals #12874 sffc
  • fix(types): add type def for Aggregate#model without arguments #12864 hasezoey
  • docs(discriminators): add section about changing discriminator key #12861
  • docs(typescript): explain that virtuals inferred from schema only show up on Model, not raw document type #12860 #12684

6.8.2 / 2022-12-28

  • fix(schema): propagate strictQuery to implicitly created schemas for embedded discriminators #12827 #12796
  • fix(model): respect discriminators with Model.validate() #12824 #12621
  • fix(query): fix unexpected validation error when doing findOneAndReplace() with a nullish value #12826 #12821
  • fix(discriminator): apply built-in plugins to discriminator schema even if mergeHooks and mergePlugins are both false #12833 #12696
  • fix(types): add option "overwriteModels" as a schema option #12817 #12816 hasezoey
  • fix(types): add property "defaultOptions" #12818 hasezoey
  • docs: make search bar respect documentation version, so you can search 5.x docs #12548
  • docs(typescript): make note about recommending strict mode when using auto typed schemas #12825 #12420
  • docs: add section on sorting to query docs #12588 IslandRhythms
  • test(query.test): add write-concern option #12829 hasezoey

6.8.1 / 2022-12-19

... (truncated)

Changelog

Sourced from mongoose's changelog.

6.9.0 / 2023-01-25

6.8.5 / 2023-01-23

6.8.4 / 2023-01-17

  • fix(collection): handle creating model when connection disconnected with bufferCommands = false #12889
  • fix(populate): merge instead of overwrite when match is on _id #12891
  • fix: add guard to stop loadClass copying Document if Document is used as base of loaded class (same hack as implemented for Model already) #12820 sgpinkus
  • fix(types): correctly infer types on document arrays #12884 #12882 JavaScriptBach
  • fix(types): added omit for ArraySubdocument type in LeanType declaration #12903 piyushk96
  • fix(types): add returnDocument type safety #12906 AbdelrahmanHafez
  • docs(typescript): add notes about virtual context to Mongoose 6 migration and TypeScript virtuals docs #12912 #12806
  • docs(schematypes): removed dead link and fixed formatting #12897 #12885 lpizzinidev
  • docs: fix link to lean api #12910 manniL
  • docs: list all possible strings for schema.pre in one place #12868
  • docs: add list of known incompatible npm packages #12892 IslandRhythms

6.8.3 / 2023-01-06

  • perf: improve performance of assignRawDocsToIdStructure for faster populate on large docs #12867 Uzlopak
  • fix(model): ensure consistent ordering of validation errors in insertMany() with ordered: false and rawResult: true #12866
  • fix: avoid passing final callback to pre hook, because calling the callback can mess up hook execution #12836
  • fix(types): avoid inferring timestamps if methods, virtuals, or statics set #12871
  • fix(types): correctly infer string enums on const arrays #12870 JavaScriptBach
  • fix(types): allow virtuals to be invoked in the definition of other virtuals #12874 sffc
  • fix(types): add type def for Aggregate#model without arguments #12864 hasezoey
  • docs(discriminators): add section about changing discriminator key #12861
  • docs(typescript): explain that virtuals inferred from schema only show up on Model, not raw document type #12860 #12684

6.8.2 / 2022-12-28

  • fix(schema): propagate strictQuery to implicitly created schemas for embedded discriminators #12827 #12796
  • fix(model): respect discriminators with Model.validate() #12824 #12621
  • fix(query): fix unexpected validation error when doing findOneAndReplace() with a nullish value #12826 #12821
  • fix(discriminator): apply built-in plugins to discriminator schema even if mergeHooks and mergePlugins are both false #12833 #12696
  • fix(types): add option "overwriteModels" as a schema option #12817 #12816 hasezoey
  • fix(types): add property "defaultOptions" #12818 hasezoey
  • docs: make search bar respect documentation version, so you can search 5.x docs #12548
  • docs(typescript): make note about recommending strict mode when using auto typed schemas #12825 #12420
  • docs: add section on sorting to query docs #12588 IslandRhythms
  • test(query.test): add write-concern option #12829 hasezoey

6.8.1 / 2022-12-19

... (truncated)

Commits
  • 008560f chore: release 6.9.0
  • 97d62ef Merge pull request #12951 from Automattic/revert-12781-infer-null
  • 1e19236 Revert "typescript: Allow null for optional document fields"
  • 0f2f461 Merge pull request #12949 from Automattic/6.9
  • c6c30ed feat: use mongodb driver 4.13.0
  • 5ab7a0f Merge branch '6.9' of github.com:Automattic/mongoose into 6.9
  • 392ae0a Merge branch 'master' into 6.9
  • 3fc7054 Merge pull request #12946 from Gbengstar/patch-2
  • 0a70016 fixed typo
  • c190bd6 chore: release 6.8.5
  • 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)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 1, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 1, 2023

Superseded by #372.

@dependabot dependabot bot closed this Mar 1, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/backend/js/develop/mongoose-6.9.0 branch March 1, 2023 11:00
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants