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

[Snyk] Upgrade mongoose from 6.5.0 to 6.7.0 #200

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MaximKing1
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade mongoose from 6.5.0 to 6.7.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 14 versions ahead of your current version.
  • The recommended version was released 25 days ago, on 2022-10-24.
Release notes
Package name: mongoose
  • 6.7.0 - 2022-10-24

    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
  • 6.6.7 - 2022-10-21

    6.6.7 / 2022-10-21

    • fix: correct browser build and improve isAsyncFunction check for browser #12577 #12576 #12392
    • fix(query): allow overwriting discriminator key with overwriteDiscriminatorKey if strict: 'throw' #12578 #12513
  • 6.6.6 - 2022-10-20

    6.6.6 / 2022-10-20

    • fix(update): handle runValidators when using $set on a doc array in discriminator schema #12571 #12518
    • fix(document): allow creating document with document array and top-level key named schema #12569 #12480
    • fix(cast): make schema-level strictQuery override schema-level strict for query filters #12570 #12508
    • fix(aggregate): avoid adding extra $match stage if user manually set discriminator key to correct value in first pipeline stage #12568 #12478
    • fix: Throws error when updating a key name that match the discriminator key name on nested object #12534 #12517 lpizzinidev
    • fix(types): add limit to $filter expression #12553 raphael-papazikas
    • fix(types): correct replaceWith type pipeline stage #12535 FabioCingottini
    • fix(types): add missing densify type pipeline type #12533 FabioCingottini
    • docs(populate): added transform option description #12560 #12551 lpizzinidev
    • docs(connection): add sample to useDb() documentation #12541 lpizzinidev
    • docs(guide): update broken read-preference links #12538 #12525 hasezoey
    • chore: add TypeScript version field to issue template #12532 hasezoey
  • 6.6.5 - 2022-10-05

    6.6.5 / 2022-10-05

    • fix(document): set defaults on subdocuments underneath init-ed single nested subdocument #12523 #12515
    • fix: make Jest fake timers check more robust to other libs that overwrite time functions #12527 #12514
    • fix(types): indicate that Schema.prototype.discriminator() returns this #12522 #12457
    • fix(types): add "estimatedDocumentCount" and "countDocuments" as possible hooks #12519 #12516
    • docs(models): add section on MongoDB Views #12526 #5694
    • docs(subdocs): clarify that populated docs are not subdocs #12521 #12398
    • docs(change-streams): remove unnecessary obsolete comment about needing to use mongodb driver change streams #12444
  • 6.6.4 - 2022-10-03

    6.6.4 / 2022-10-03

    • fix(model): avoid saving applied defaults if path is deselected #12506 #12414
    • fix(types): correct DocType for auto typed query helpers #12342
    • fix(types): avoid "excessively deep" type instantiation error when using bulkWrite() with type that extends from document #12277
    • fix(types): avoid relying on typeof this, which isn't supported in TypeScript < 4.4 #12375
    • docs(schema): correct example for Schema.prototype.discriminator() #12493
    • docs(typescript): clean up query helpers examples #12342
    • chore: use mongodb-memory-server for testing #12262 hasezoey
  • 6.6.3 - 2022-09-30
    Read more
  • 6.6.2 - 2022-09-26
    Read more
  • 6.6.1 - 2022-09-14
    Read more
  • 6.6.0 - 2022-09-08
  • 6.5.5 - 2022-09-07
  • 6.5.4 - 2022-08-30
  • 6.5.3 - 2022-08-25
  • 6.5.2 - 2022-08-10
  • 6.5.1 - 2022-08-03
  • 6.5.0 - 2022-07-26
from mongoose GitHub release notes
Commit messages
Package name: mongoose
  • 695d73a chore: release 6.7.0
  • b2af0fe Merge pull request #12587 from Automattic/6.7
  • a20f7bf Merge pull request #12268 from hasezoey/addUUID
  • 49cca93 feat: upgrade to mongodb driver 4.11.0
  • dc42696 Merge branch 'master' into 6.7
  • 61e96d7 chore: release 6.6.7
  • 7cd8ea3 Merge pull request #12578 from Automattic/vkarpov15/gh-12513
  • 8e33a32 fix: more robust fix for #12513
  • 136d6af fix(query): allow overwriting discriminator key with `overwriteDiscriminatorKey` if `strict: 'throw'`
  • b46fc92 Merge pull request #12577 from Automattic/vkarpov15/gh-12576
  • 785b987 fix: correct browser build and improve isAsyncFunction check for browser
  • 1ef7bcd Merge branch 'master' of github.com:Automattic/mongoose
  • c3e9206 chore: release 6.6.6
  • dcbff09 Merge pull request #12570 from Automattic/vkarpov15/gh-12508
  • d595544 refactor: create separate helper to get strictQuery re: code review comments
  • 6f16056 Merge branch 'master' into vkarpov15/gh-12508
  • 7fb5114 Merge pull request #12571 from Automattic/vkarpov15/gh-12518
  • 9133393 Merge pull request #12569 from Automattic/vkarpov15/gh-12480
  • 03f19f5 Merge pull request #12568 from Automattic/vkarpov15/gh-12478
  • 2b8434d fix(update): handle runValidators when using `$set` on a doc array in discriminator schema
  • a455d4a fix(cast): make schema-level strictQuery override schema-level strict for query filters
  • 3141cb6 fix(document): allow creating document with document array and top-level key named `schema`
  • c798368 fix(aggregate): avoid adding extra `$match` stage if user manually set discriminator key to correct value in first pipeline stage
  • e519505 Merge pull request #12534 from lpizzinidev/fix-nested-discriminator-key

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants