Skip to content

[Snyk] Upgrade react-hook-form from 7.68.0 to 7.69.0#325

Open
chirag127 wants to merge 1 commit into
mainfrom
snyk-upgrade-7c5b94689d274f289856fdec267c8210
Open

[Snyk] Upgrade react-hook-form from 7.68.0 to 7.69.0#325
chirag127 wants to merge 1 commit into
mainfrom
snyk-upgrade-7c5b94689d274f289856fdec267c8210

Conversation

@chirag127

Copy link
Copy Markdown
Owner

snyk-top-banner

Snyk has created this PR to upgrade react-hook-form from 7.68.0 to 7.69.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 1 version ahead of your current version.

  • The recommended version was released a month ago.

Release notes
Package name: react-hook-form
  • 7.69.0 - 2025-12-20

    📏 feat: align API with useWatch (#13192)
    🤦🏻‍♂️ chore: update @ deprecated names prop on (#13198)
    🏥 chore: safely call function methods on elements (#13190)
    🪖 chore: cve-2025-67779 (#13196)
    🪖 chore: cve-2025-55184 & cve-2025-55183 (#13194)
    🪖 chore: CVE-2025-55182 Critical RCE vulnerabilty (#13175)
    🔬 test: add regression tests for #12837 and #13136 (#13187)
    🐞 fix(reset): preserve isValid state when keepIsValid option is used (#13173)
    🐞 fix: ensure each createFormControl.subscribe subscription listens only to the changes it subscribes to (#12968)
    🐞 fix(validation): batch isValidating state updates with validation result (#13181)
    🐞 fix(createFormControl): resolve race condition between setError and setFocus (#13138) (#13169)
    🧿 fix control prop type (#13189)
    🔔 chore: clean cloneObject logic (#13179)

    thanks to @ PierreCrb, @ a28689604, @ AnuragM7666, @ ap0nia, @ dusan233 & @ hlongc

  • 7.68.0 - 2025-12-03

    🎧 feat: <FormStateSubscribe /> component (#13142)

    import { useForm, FormStateSubscribe } from 'react-hook-form';

    const App = () => {
    const { register, control } = useForm();

    return (
    <div>
    <form>
    <input {...register('foo')} />
    <input {...register('bar')} />
    </form>
    {/* re-render only when formState of foo changes */}
    <FormStateSubscribe
    control={control}
    name={"foo"}
    render={({errors}) => <span>{errors.foo?.message}</span>}
    />
    </div>
    );
    };

    🐞 fix: clear validation errors synchronously in reset() to fix Next.js 16 Server Actions issue (#13139)
    Revert "✨ fix(types): allow undefined value with async defaultValues in Contr…" (#13171)

    thanks to @ xiangnuans, @ abnud11, @ ntatoud & @ ap0nia

from react-hook-form 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 react-hook-form from 7.68.0 to 7.69.0.

See this package in npm:
react-hook-form

See this project in Snyk:
https://app.snyk.io/org/whyiswhen/project/cd4d58de-7b38-4b2b-947d-24b405938084?utm_source=github&utm_medium=referral&page=upgrade-pr
@coderabbitai

coderabbitai Bot commented Jan 16, 2026

Copy link
Copy Markdown

Important

Review skipped

Ignore keyword(s) in the title.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist

Copy link
Copy Markdown

Summary of Changes

Hello @chirag127, 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 performs a routine dependency upgrade for react-hook-form to its latest patch version, 7.69.0. The primary motivation for this update is to integrate recent bug fixes, performance improvements, and, most importantly, critical security patches that address several identified vulnerabilities, thereby enhancing the stability and security of the application's form handling.

Highlights

  • Dependency Upgrade: Upgrades the react-hook-form dependency from version 7.68.0 to 7.69.0.
  • Security Fixes: Incorporates critical security patches for multiple CVEs (CVE-2025-67779, CVE-2025-55184, CVE-2025-55183, CVE-2025-55182), addressing potential vulnerabilities including a Critical RCE.
  • Bug Fixes: Resolves several bugs, such as preserving isValid state when using the keepIsValid option in reset, ensuring that createFormControl.subscribe listens only to relevant changes, and fixing race conditions between setError and setFocus.
  • API Alignment and Chores: Aligns the useForm API with useWatch and updates deprecated names prop usage, along with other internal chore updates like cleaning cloneObject logic.
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.

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

Copy link
Copy Markdown

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 upgrades react-hook-form from version 7.68.0 to 7.69.0. This is a minor update that, according to the release notes, includes several important security fixes, one of which is a critical RCE vulnerability. The changes in package.json and package-lock.json are correct for this dependency bump. Merging this is recommended to improve the security of the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants