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 8.6.3 to 8.7.0 #41

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

Conversation

acellam
Copy link
Contributor

@acellam acellam commented Oct 19, 2024

Snyk has created this PR to upgrade mongoose from 8.6.3 to 8.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 2 versions ahead of your current version.
  • The recommended version was released 22 days ago, on 2024-09-27.
Release notes
Package name: mongoose
  • 8.7.0 - 2024-09-27

    8.7.0 / 2024-09-27

    • feat(model): add Model.applyVirtuals() to apply virtuals to a POJO #14905 #14818
    • feat: upgrade mongodb -> 6.9.0 #14914
    • feat(query): cast $rename to string #14887 #3027
    • feat(SchemaType): add getEmbeddedSchemaType() method to SchemaTypes #14880 #8389
    • fix(model): throw MongooseBulkSaveIncompleteError if bulkSave() didn't completely succeed #14884 #14763
    • fix(connection): avoid returning readyState = connected if connection state is stale #14812 #14727
    • fix: depopulate if push() or addToSet() with an ObjectId on a populated array #14883 #1635
    • types: make __v a number, only set __v on top-level documents #14892
  • 8.6.4 - 2024-09-26

    8.6.4 / 2024-09-26

    • fix(document): avoid massive perf degradation when saving new doc with 10 level deep subdocs #14910 #14897
    • fix(model): skip applying static hooks by default if static name conflicts with aggregate middleware #14904 dragontaek-lee
    • fix(model): filter applying static hooks by default if static name conflicts with mongoose middleware #14908 dragontaek-lee
  • 8.6.3 - 2024-09-17

    8.6.3 / 2024-09-17

    • fix: make getters convert uuid to string when calling toObject() and toJSON() #14890 #14869
    • fix: fix missing Aggregate re-exports for ESM #14886 wongsean
    • types(document): add generic param to depopulate() to allow updating properties #14891 #14876
from mongoose GitHub release notes
Commit messages
Package name: mongoose
  • 136cab5 chore: release 8.7.0
  • 49b0339 Merge pull request #14915 from Automattic/8.7
  • c4d96ea chore: release 8.6.4
  • a53f430 Merge pull request #14914 from Automattic/vkarpov15/mongodb-6.9
  • a4e3308 Merge pull request #14905 from Automattic/vkarpov15/gh-14818-2
  • 54844e3 types: add applyVirtuals() to types
  • 5b86fa3 feat: upgrade mongodb -> 6.9.0
  • adb4fb0 Merge branch 'master' into 8.7
  • c6bd31d Merge branch '7.x'
  • 3ede837 chore: release 7.8.2
  • 34ed360 Merge pull request #14910 from Automattic/vkarpov15/gh-14897
  • d273278 Merge branch 'master' into vkarpov15/gh-14897
  • 8522f39 style: fix lint
  • 95500b6 perf(document): remove unnecessary reset logic
  • cc60077 Merge pull request #14908 from dragontaek-lee/skip-applying-static-hooks-model-document-middleware
  • 1f7c742 Update applyStaticHooks.js
  • 5ebe00a Merge pull request #14894 from Automattic/vkarpov15/gh-14893
  • fdfb385 refactor: rename doc to obj in applyVirtuals helper
  • 660aad0 docs(applyVirtuals): add jsdoc comments and clean up some unnecessary code
  • c143d8e remove duplicate test
  • a199929 Update lib/model.js
  • bcbc9e0 Update lib/model.js
  • 5851261 perf(document): avoid unnecessarily pulling all subdocs when validating a subdoc
  • 0426329 perf: add createDeepNestedDocArray benchmark re: #14897

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

Copy link

codecov bot commented Oct 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

see 8 files with indirect coverage changes

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