Skip to content

Update dependency react-hook-form to v7.72.1 - autoclosed#117

Closed
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/react-hook-form-7.x-lockfile
Closed

Update dependency react-hook-form to v7.72.1 - autoclosed#117
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/react-hook-form-7.x-lockfile

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 11, 2026

This PR contains the following updates:

Package Change Age Confidence
react-hook-form (source) 7.62.07.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)

const { register, formState: { errors } } = useForm({
  validate: async (formValue) => {
    if (formValue.test1.length > formValue.test.length) {
      return {
        type: 'formError',
        message: 'something is wrong here',
      };
    }

    if (formValue.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)

v7.71.2: Version 7.71.2

Compare Source

🕵️‍♂️ fix: use DeepPartialSkipArrayKey for WatchObserver value parameter (#​13278)
🧹 fix(clearErrors): emit name signal for targeted field updates (#​13280)

thanks to @​veeceey, @​kaigritun, @​pgoslatara & @​seongbiny

v7.71.1

Compare Source

v7.71.0: Version 7.71.0

Compare Source

⚡ perf: memoize FormProvider context value to prevent unnecessary rerenders (#​13235)
🚄 perf: separate control context to prevent unnecessary rerenders (#​13234)
🐞 fix: update isValid when field disabled state changes (#​13231)
👌 chore: optimize bundle size via safe terser options (#​13243) (#​13244)

thanks to @​kamja44, @​a28689604 & @​newsiberian

v7.70.0

Compare Source

v7.69.0: 🎄 Version 7.69.0

Compare Source

📏 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

v7.68.0

Compare Source

v7.67.0: Version 7.67.0

Compare Source

🎯 feat: add exact to useController props (#​13154)

useForm({
  defaultValues: {
    user: {
      name: ''
    }
  }
})

<Controller control={control} name="user" exact={false} /> // subscribe to all user object

✨ fix(types): allow undefined value with async defaultValues in Contr… (#​13160)
🐞 fix(types): correct PathValueImpl type inference (#​13150)

v7.66.1

Compare Source

v7.66.0

Compare Source

v7.65.0: Version 7.65.0

Compare Source

🧿 feat: <Watch /> component (#​12986)

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

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

  return (
    <div>
      <form>
        <input {...register('foo')} />
        <input {...register('bar')} />
      </form>
      {/* re-render only when value of `foo` changes */}
      <Watch
        control={control}
        names={['foo']}
        render={([foo]) => <span>{foo}</span>}
      />
    </div>
  );
};

🐞 fix: respect parent-provided useFieldArray rules (#​13082) (#​13083
🐞 fix: getDirtyFields submit fields with null values when using useForm (#​13079)

thanks to @​tesseractjh, @​Han5991 & @​jonathanarnault

v7.64.0: Version 7.64.0

Compare Source

🚏 Support optional array fields in PathValueImpl type (#​13057)
🐞 fix: preserve Controller's defaultValue with shouldUnregister prop (#​13063)
✂ chore: remove unused field ids ref in useFieldArray (#​13066)

thanks to @​MPrieur-chaps, @​gynekolog & @​uk960214

v7.63.0: Version 7.63.0

Compare Source

🥢 feat: extract form values by form state (#​12936)

getValues(undefined, { dirtyFields: true }); // return only dirty fields 
getValues(undefined, { touchedFields: true });  // return only touched fields 

🦍 feat: improve get dirty fields logic (#​13049)
🐿️ chore: remove duplicated function isMessage (#​13050)
🐞 fix: use field name to update isValidating fields (#​13000)
🐞 fix: unregister previous field when switching conditional Controllers (#​13041)
🐞 fix: only excuse trigger function when deps has a valid array (#​13056)

thanks to @​candymask0712, @​GorkemKir, @​kimtaejin3, @​m2na7 & @​abnud11


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, on day 1 of the month (* 0-3 1 * *)
  • 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title Update dependency react-hook-form to v7.72.1 Update dependency react-hook-form to v7.72.1 - autoclosed Apr 11, 2026
@renovate renovate Bot closed this Apr 11, 2026
@renovate renovate Bot deleted the renovate/react-hook-form-7.x-lockfile branch April 11, 2026 11:40
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.

0 participants