Skip to content
New issue

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

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

Already on GitHub? # to your account

[Snyk] Upgrade mongoose from 8.8.4 to 8.9.1 #271

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

lholmquist
Copy link
Member

snyk-top-banner

Snyk has created this PR to upgrade mongoose from 8.8.4 to 8.9.1.

ℹ️ 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 2 versions ahead of your current version.

  • The recommended version was released 24 days ago.

Release notes
Package name: mongoose
  • 8.9.1 - 2024-12-16

    8.9.1 / 2024-12-16

    • fix(connection): remove heartbeat check in load balanced mode #15089 #15042 #14812
    • fix(discriminator): gather childSchemas when creating discriminator to ensure $getAllSubdocs() can properly get all subdocs #15099 #15088 #15092
    • fix(model): handle discriminators in castObject() #15096 #15075
    • fix(schema): throw error if duplicate index definition using unique in schema path and subsequent .index() call #15093 #15056
    • fix: mark documents that are populated using hydratedPopulatedDocs option as populated in top-level doc #15080 #15048
    • fix(document+schema): improve error message for get() on invalid path #15098 #15071
    • docs: remove more callback doc references & some small other changes #15095
  • 8.9.0 - 2024-12-13

    8.9.0 / 2024-12-13

    • feat: upgrade mongodb -> 6.12
    • feat: add int32 schematype #15054 aditi-khare-mongoDB
    • feat: add double schematype #15061 aditi-khare-mongoDB
    • feat: allow specifying error message override for duplicate key errors unique: true #15059 #12844
    • feat(connection): add support for Connection.prototype.bulkWrite() with MongoDB server 8.0 #15058 #15028
    • feat: add forceRepopulate option for populate() to allow avoiding repopulating already populated docs #15044 #14979
    • fix(connection): remove heartbeat check in load balanced mode #15089 #15042
    • fix(query): clone PopulateOptions when setting _localModel to avoid state leaking between subpopulate instances #15082 #15026
    • types: add splice() to DocumentArray to allow adding partial objects with splice() #15085 #15041
    • types(aggregate): add $firstN, $lastN, $bottom, $bottomN, $minN and $maxN operators #15087 mlomnicki
    • docs: Remove merge conflict markers #15090 sponrad
  • 8.8.4 - 2024-12-05

    8.8.4 / 2024-12-05

    • fix: cast using overwritten embedded discriminator key when set #15076 #15051
    • fix: avoid throwing error if saveOptions undefined when invalidating subdoc cache #15062
from mongoose GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

Snyk has created this PR to upgrade mongoose from 8.8.4 to 8.9.1.

See this package in npm:
mongoose

See this project in Snyk:
https://app.snyk.io/org/nodeshift-agg/project/0865fbfa-c5be-44cc-ab70-e2f03f8f4eb1?utm_source=github&utm_medium=referral&page=upgrade-pr
@coveralls
Copy link

Pull Request Test Coverage Report for Build 12686032431

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-35.1%) to 0.0%

Totals Coverage Status
Change from base Build 12584102506: -35.1%
Covered Lines: 0
Relevant Lines: 0

💛 - Coveralls

@coveralls
Copy link

Pull Request Test Coverage Report for Build 12686032432

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 35.088%

Totals Coverage Status
Change from base Build 12584102506: 0.0%
Covered Lines: 20
Relevant Lines: 51

💛 - Coveralls

Copy link
Member

@pacostas pacostas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pacostas pacostas merged commit 23fd042 into main Jan 13, 2025
9 checks passed
@pacostas pacostas deleted the snyk-upgrade-2d875dba494c07bd871224379800e727 branch January 13, 2025 17:09
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants