-
-
Notifications
You must be signed in to change notification settings - Fork 0
[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
base: master
Are you sure you want to change the base?
Conversation
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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🎉 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) |
There was a problem hiding this 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 version1.7.4
to2.0.4
. - Major Version Bump: This upgrade involves a major version change (from
1.x
to2.x
), which the PR description explicitly warns may introduce breaking changes. Review of thesonner
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 withnull
, promise enhancement to supportExternalToast
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
-
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. ↩
There was a problem hiding this 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", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
The recommended version is 9 versions ahead of your current version.
The recommended version was released 21 days ago.
Release notes
Package name: sonner
What's Changed
onDismiss
fires correctly by @ emilkowalski in #645Full Changelog: v2.0.3...v2.0.4
What's Changed
true
by @ emilkowalski in #615Full Changelog: v2.0.2...v2.0.3
What's Changed
Full Changelog: v2.0.1...v2.0.2
What's Changed
Full Changelog: v2.0.0...v2.0.1
Mostly bug fixes, see more at https://sonner.emilkowal.ski/getting-started.
What's Changed
Full Changelog: v.2.0.0-beta.1...v2.0.0
You can try the beta version by installing Sonner like this:
What's Changed
New Contributors
Full Changelog: v2.0.0-beta.2...v2.0.0-beta.3
You can try the beta version by installing Sonner like this:
What's Changed
Full Changelog: v.2.0.0-beta.1...v2.0.0-beta.2
Beta of version 2.0
No real breaking changes, mostly bug fixes. Run the command bellow if you want to try it out.
I have also updated the styling docs with more information and the recommended method:
https://sonner.emilkowal.ski/styling
What's Changed
Full Changelog: v1.7.3...v.2.0.0-beta.1
Important
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: