Skip to content

[Snyk] Upgrade mongoose from 8.15.0 to 8.21.0#66

Open
earthiverse wants to merge 1 commit intomasterfrom
snyk-upgrade-bf4bb9abed28ea7c04517d96f61d864c
Open

[Snyk] Upgrade mongoose from 8.15.0 to 8.21.0#66
earthiverse wants to merge 1 commit intomasterfrom
snyk-upgrade-bf4bb9abed28ea7c04517d96f61d864c

Conversation

@earthiverse
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade mongoose from 8.15.0 to 8.21.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 26 versions ahead of your current version.

  • The recommended version was released a month ago.

Release notes
Package name: mongoose
  • 8.21.0 - 2025-12-29

    8.21.0 / 2025-12-29

    • feat(document): add support for getAtomics() to allow custom container types to utilize atomics #15817
    • feat(document+model): pass options to pre('deleteOne') and update+options to pre('updateOne') hooks #15908 #15870
    • fix: add support for typescript style enums #15914 #15913 mjfwebb
  • 8.20.4 - 2025-12-18

    8.20.4 / 2025-12-18

    • fix(model): ensure $isDeleted is set after calling doc.deleteOne() successfully #15898
    • fix(document): use bitwise OR to accumulate version mode flags #15893 #15888 AbdelrahmanHafez
  • 8.20.3 - 2025-12-15
  • 8.20.2 - 2025-12-05
  • 8.20.1 - 2025-11-20
  • 8.20.0 - 2025-11-17
  • 8.19.4 - 2025-11-14
  • 8.19.3 - 2025-11-04
  • 8.19.2 - 2025-10-20
  • 8.19.1 - 2025-10-06
  • 8.19.0 - 2025-10-02
  • 8.18.3 - 2025-09-29
  • 8.18.2 - 2025-09-22
  • 8.18.1 - 2025-09-08
  • 8.18.0 - 2025-08-22
  • 8.17.2 - 2025-08-18
  • 8.17.1 - 2025-08-07
  • 8.17.0 - 2025-07-30
  • 8.16.5 - 2025-07-25
  • 8.16.4 - 2025-07-16
  • 8.16.3 - 2025-07-10
  • 8.16.2 - 2025-07-07
  • 8.16.1 - 2025-06-26
  • 8.16.0 - 2025-06-16
  • 8.15.2 - 2025-06-12
  • 8.15.1 - 2025-05-26
  • 8.15.0 - 2025-05-16
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.15.0 to 8.21.0.

See this package in npm:
mongoose

See this project in Snyk:
https://app.snyk.io/org/earthiverse/project/779895f9-40e3-4f63-b280-af0d6d2d7142?utm_source=github&utm_medium=referral&page=upgrade-pr
@gemini-code-assist
Copy link

Summary of Changes

Hello @earthiverse, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request, automatically generated by Snyk, updates the mongoose package to its latest stable version, 8.21.0. This upgrade is crucial for maintaining the project's security and ensuring compatibility with the most recent features and bug fixes from the mongoose ecosystem and its underlying MongoDB driver. It also includes updates to several related dependencies to align with the new mongoose version.

Highlights

  • Mongoose Dependency Upgrade: The mongoose package has been upgraded from version 8.15.0 to 8.21.0 in both package.json and package-lock.json.
  • Related Dependency Updates: Several underlying dependencies for mongoose and mongodb have also been updated, including @mongodb-js/saslprep (from 1.2.2 to 1.4.5), bson (from 6.10.3 to 6.10.4), mongodb (from 6.16.0 to 6.20.0), and snappy (from 7.2.2 to 7.3.2).
  • Removal of 'peer: true' Property: The peer: true property has been removed from the metadata of several development dependencies within package-lock.json, such as @babel/core, @typescript-eslint/eslint-plugin, acorn, autoprefixer, eslint, jest, postcss, and typescript.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request, automatically generated by Snyk, upgrades the mongoose dependency from version 8.15.0 to 8.21.0. This is a minor update that, according to the release notes, includes new features and bug fixes without introducing breaking changes. The associated updates to transitive dependencies like mongodb and bson are also minor and patch-level changes, which are expected. The changes in package-lock.json, such as the removal of "peer": true properties, are typical artifacts of using a newer version of npm and do not indicate any issues. The upgrade appears to be safe and is a good step for maintaining the project's dependencies.

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