Skip to content

fix(deps): update dependency react-hook-form to v7.72.1#426

Merged
WomB0ComB0 merged 2 commits intomasterfrom
renovate/react-hook-form-7.x
Apr 10, 2026
Merged

fix(deps): update dependency react-hook-form to v7.72.1#426
WomB0ComB0 merged 2 commits intomasterfrom
renovate/react-hook-form-7.x

Conversation

@WomB0ComB0
Copy link
Copy Markdown
Owner

@WomB0ComB0 WomB0ComB0 commented Mar 26, 2026

This PR contains the following updates:

Package Change Age Confidence
react-hook-form (source) 7.71.27.72.1 age confidence

Release Notes

react-hook-form/react-hook-form (react-hook-form)

v7.72.1: Version 7.72.1

Compare Source

🐞 fix: add isDirty check for numeric string keys in defaultValues (issue #​13346) (#​13347)
🐞 fix: prevent setValue with shouldDirty from polluting unrelated dirty fields (#​13326)
🐞 fix: memoize control in HookFormControlContext to prevent render conflicts (#​13272) (#​13312)
🐞 fix: isNameInFieldArray should check all ancestor paths for nested field arrays (#​13318)
🐞 fix: #​13320 formState.isValid incorrect on Controller re-mount (#​13324)

thanks to @​6810779s, @​candymask0712, @​olagokemills, @​shahmir-oscilar & @​bae080311

v7.72.0: Version 7.72.0

Compare Source

⚓️ feat: built-in form level validate (#​13195)

useForm({
  validate: async ({ formValues }: FormValidateResult) => {
    if (formValues.test1.length > formValues.test.length) {
      return {
        type: 'formError',
        message: 'something is wrong here',
      };
    }

    if (formValues.test === 'test') {
      return 'direct error message';
    }

    return true;
  },
});

🐞 fix: prevent useFieldArray from marking unrelated fields as dirty (#​13299)
🐞 fix #​13300 checkbox form validation ignored with native validation (#​13310)
🌉 allow subscribe formState to track submit state (#​13319)

thanks to @​WiXSL, @​BrendanC23 & @​6810779s


Configuration

📅 Schedule: (in timezone America/New_York)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Summary by CodeRabbit

  • Chores
    • Updated form handling library dependency to the latest version.

@WomB0ComB0 WomB0ComB0 added the dependencies Pull requests that update a dependency file label Mar 26, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
portfolio Error Error Apr 10, 2026 8:03pm

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 26, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: e7f4ce04-8464-47b7-9d27-1948f9358780

📥 Commits

Reviewing files that changed from the base of the PR and between 542ee72 and 8068a0f.

📒 Files selected for processing (1)
  • package.json

📝 Walkthrough

Walkthrough

The react-hook-form dependency in package.json is updated from version 7.71.2 to 7.72.1, a patch-level version bump. No other dependencies or configurations are modified.

Changes

Cohort / File(s) Summary
Dependency Update
package.json
Updated react-hook-form from 7.71.2 to 7.72.1.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate/react-hook-form-7.x

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
Contributor

Summary of Changes

Hello, 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 updates the react-hook-form library to its latest version, 7.72.0. This update primarily focuses on enhancing form validation capabilities by introducing a built-in form-level validation feature and resolving several reported bugs related to field array dirty states and checkbox validation. Additionally, it improves form state management by allowing formState to track the submit state, contributing to a more robust and user-friendly form experience.

Highlights

  • Dependency Update: The react-hook-form dependency has been updated from version 7.71.2 to 7.72.0.
  • New Feature: Form-Level Validation: Version 7.72.0 introduces a new built-in form-level validation feature, allowing for more flexible and comprehensive validation logic.
  • Bug Fixes: Several bugs were addressed, including preventing useFieldArray from marking unrelated fields as dirty and resolving an issue with checkbox form validation being ignored with native validation.
  • Enhanced Form State Tracking: The formState now allows subscription to track the submit state, providing more granular control and feedback during form submission.

🧠 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.

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
Copy Markdown
Contributor

@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 updates the react-hook-form dependency from version 7.71.2 to 7.72.0. There is no specific feedback to provide on this change.

@WomB0ComB0 WomB0ComB0 force-pushed the renovate/react-hook-form-7.x branch from 002e424 to aaf3424 Compare April 3, 2026 08:07
@WomB0ComB0 WomB0ComB0 changed the title fix(deps): update dependency react-hook-form to v7.72.0 fix(deps): update dependency react-hook-form to v7.72.1 Apr 3, 2026
@WomB0ComB0 WomB0ComB0 merged commit 6a742bc into master Apr 10, 2026
7 of 13 checks passed
@WomB0ComB0 WomB0ComB0 deleted the renovate/react-hook-form-7.x branch April 10, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant