Skip to content

[Snyk] Upgrade sonner from 1.7.4 to 2.0.4 #242

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

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

Conversation

WomB0ComB0
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade sonner from 1.7.4 to 2.0.4.

ℹ️ 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.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 9 versions ahead of your current version.

  • The recommended version was released 21 days ago.

Release notes
Package name: sonner from sonner GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • 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 sonner from 1.7.4 to 2.0.4.

See this package in npm:
sonner

See this project in Snyk:
https://app.snyk.io/org/womb0comb0/project/50c3f21a-4385-405f-99d6-387977cfff55?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

vercel bot commented Jun 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
portfolio ❌ Failed (Inspect) Jun 20, 2025 11:11pm

@WomB0ComB0
Copy link
Owner Author

WomB0ComB0 commented Jun 20, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

code/snyk check is complete. No issues have been found. (View Details)

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.

Summary of Changes

Hello @WomB0ComB0, 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 sonner package, a toast notification library, from its current version 1.7.4 to 2.0.4. This is a significant major version upgrade that brings numerous fixes and features, but also carries the potential for breaking changes, necessitating thorough testing.

Highlights

  • Dependency Upgrade: The sonner package, a toast notification library, is upgraded from its currently installed version 1.7.4 to 2.0.4.
  • Major Version Bump: This upgrade involves a major version change (from 1.x to 2.x), which the PR description explicitly warns may introduce breaking changes. Review of the sonner release notes is recommended.
  • Automated Update: This pull request was automatically generated by Snyk to keep dependencies up-to-date and improve the project's security posture. The recommended version is 9 versions ahead and was released 21 days ago.
  • Sonner 2.x Changes: The sonner 2.x series includes various bug fixes (e.g., onDismiss firing correctly, reacting to custom toast height changes, promise handling, toast.dismiss without ID), new features (e.g., inheriting color for description with rich colors, allowing icons to be fully hidden with null, promise enhancement to support ExternalToast properties), and chore updates (e.g., removing deprecated props, build system changes, styling improvements, and accessibility fixes).
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 in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

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 issue 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 is currently in preview and 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 to provide feedback.

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 PR upgrades the sonner dependency from v1.7.4 to v2.0.4. Given this is a major version upgrade, it's important to ensure no breaking changes are introduced.

@@ -89,7 +89,7 @@
"react-icons": "^5.3.0",
"server-only": "^0.0.1",
"showdown": "^2.1.0",
"sonner": "^1.5.0",
"sonner": "^2.0.4",

Choose a reason for hiding this comment

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

high

Major version upgrade for sonner from v1.5.0 to v2.0.4. Verify that this upgrade does not introduce any breaking changes or regressions in the application's toast notifications.

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