Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 8, 2025

This PR contains the following updates:

Package Change Age Confidence
react-hook-form (source) 7.56.4 -> 7.65.0 age confidence

Release Notes

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

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

v7.62.0: Version 7.62.0

Compare Source

👨‍🔧 prevent onBlur for readOnly fields (#​12971)
🐞 fix #​12988 sync two defaultValues after reset with new defaultValues (#​12990)
🐞 fix: do not override prototype of data in cloneObject (#​12985)
🐞 fix field name type conflict in nested FieldErrors (#​12972)

thanks to @​candymask0712, @​Adityapradh, @​Ty3uK & @​kichikawa57

v7.61.1: Version 7.61.1

Compare Source

Revert "⌨️ fix: watch return type based on defaultValue (#​12896)"

v7.61.0: Version 7.61.0

Compare Source

🧮 feat: compute prop for useWatch subscription (#​12503)

  • subscribe to the entire form but only return updated value with certain condition
type FormValue = {
  test: string;
}

const watchedValue = useWatch({
  control: methods.control,
  compute: (data: FormValue) => {
    if (data.test?.length) {
      return data.test;
    }

    return '';
  },
});
  • subscribe to a specific form value state
type FormValue = {
  test: string;
}

const watchedValue = useWatch({
  control: methods.control,
  name: 'test',
  compute: (data: string) => {
      return data.length > 3 ? data : '';
  },
});

👨‍🔧 trigger watch callbacks in response to value changes only (#​12945)
🙏 track name with setValue subscription callbacks (#​12946)
⌨️ fix: watch return type based on defaultValue (#​12896)
🐞 fix #​12959 subscribe with latest defaultValues #​12961
🐞 fix: handle explicit "multipart/form-data" encType in Form Component (#​12948)
🐞 fix(build): Remove React wildcard import to resolve ESM build issues (#​12942)
🦭 chore: improve exclude patterns (#​12935)
🐿️ chore: remove unused omit function (#​12958)

Big thanks to @​joshkel for helping with some of the subscription bugs! and also @​kamja44, @​mrazauskas, @​codepunkt, @​afontcu and @​rururux

v7.60.0: Version 7.60.0

Compare Source

🦘 feat: reset new keepFieldsRef options keep fields reference (#​12923)

// This option will skip input reference gets reset and avoid re-register input reference after reset
reset(data, { keepFieldsRef: true })

v7.59.0: Version 7.59.0

Compare Source

🪱 feat: support deep equality checking with circular references (#​12914)
🐞 fix #​12900 issue with formData reference clone (#​12906)
🐞 fix #​12873 issue with undefined value for submit data (#​12905)
🐞 fix case when useWatch accept object variable param (#​12897)
🐞 fix: typo in UseFormSubscribe and missing event type for callback data in subscribe (#​12904)
Revert "⌨️ rename to UseFormResetFieldOptions for type consistency" (#​12907)

thanks to @​aspirisen @​n8pjl @​SKOLZ @​pushys & @​candymask0712

v7.58.1: Version 7.58.1

Compare Source

🔧 check window.crypto undefined (#​12893)

v7.58.0: Version 7.58.0

Compare Source

⌨️ feat: add FieldArrayPathByValue type (#​12481)
📇 feat #​12813 use stringToPath to prevent error at field name with quotes (#​12858)
🧧 default to crypto.randomUUID in generateId (#​12890)
🐞 close #​12857 incorrect formControl return from useForm (#​12878)
🐞 fix Initial useFieldArray fields (#​12847)
🥷 chore: improve type import (#​12879)
📇 chore: Added displayName to useFormContext (#​11448)
✍️ chore: fix typo in assert-esm-exports.mjs (#​12860)

thanks to @​mastermatt, @​clonemycode, @​dusan233, @​candymask0712, @​tran-simon & @​adnanalbeda

v7.57.0: Version 7.57.0

Compare Source

🫚 feat: root errors count in schema error lookup (#​12839)
👁️ feat: focus form field for errors supplied by errors prop (#​12805)
⌨️ feat: add and export options config for resetField api (#​12819)
🐞 close #​12707 useController focus function runtime issue (#​12843)
🐞 fix: add proper types to form.subscribe (#​12850)
🐞 fix: add type info for callback args in subscribe (#​12859)
🔄 close #​12835 revert original fix on errors empty object check (#​12846)

thanks to @​candymask0712, @​CertainlyAria, @​jkbach, @​chrisgarber and @​evgeniyworkbel


Configuration

📅 Schedule: 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 was generated by Mend Renovate. View the repository job log.

Copy link

vercel bot commented Jun 8, 2025

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

Project Deployment Preview Comments Updated (UTC)
chat-io Ready Ready Preview Comment Oct 11, 2025 1:18am

Copy link
Contributor

coderabbitai bot commented Jun 8, 2025

Important

Review skipped

Bot user detected.

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.


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

@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from e6e3012 to b4cc2f6 Compare June 8, 2025 15:37
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from b4cc2f6 to 1f5b7a8 Compare June 15, 2025 14:12
@renovate renovate bot changed the title fix(deps): update dependency react-hook-form to v7.57.0 fix(deps): update dependency react-hook-form to v7.58.0 Jun 15, 2025
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 1f5b7a8 to 9046755 Compare June 17, 2025 14:00
@renovate renovate bot changed the title fix(deps): update dependency react-hook-form to v7.58.0 fix(deps): update dependency react-hook-form to v7.58.1 Jun 17, 2025
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 9046755 to eea7224 Compare June 19, 2025 11:47
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from eea7224 to 4d14a28 Compare June 25, 2025 12:05
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 4d14a28 to b0533a1 Compare June 28, 2025 05:09
@renovate renovate bot changed the title fix(deps): update dependency react-hook-form to v7.58.1 fix(deps): update dependency react-hook-form to v7.59.0 Jun 28, 2025
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from b0533a1 to 60509ef Compare July 2, 2025 11:42
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 60509ef to 2e3baec Compare July 4, 2025 23:12
@renovate renovate bot changed the title fix(deps): update dependency react-hook-form to v7.59.0 fix(deps): update dependency react-hook-form to v7.60.0 Jul 4, 2025
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 2e3baec to 445871a Compare July 10, 2025 17:28
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 445871a to 176e118 Compare July 23, 2025 23:40
@renovate renovate bot changed the title fix(deps): update dependency react-hook-form to v7.60.0 fix(deps): update dependency react-hook-form to v7.61.0 Jul 23, 2025
@renovate renovate bot changed the title fix(deps): update dependency react-hook-form to v7.61.0 fix(deps): update dependency react-hook-form to v7.61.1 Jul 24, 2025
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 176e118 to 1c9b3b4 Compare July 24, 2025 15:56
@renovate renovate bot changed the title fix(deps): update dependency react-hook-form to v7.61.1 fix(deps): update dependency react-hook-form to v7.62.0 Aug 7, 2025
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 1c9b3b4 to 88fdc47 Compare August 7, 2025 00:13
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 88fdc47 to 0d52525 Compare September 20, 2025 01:38
@renovate renovate bot changed the title fix(deps): update dependency react-hook-form to v7.62.0 fix(deps): update dependency react-hook-form to v7.63.0 Sep 20, 2025
Copy link

socket-security bot commented Sep 20, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedreact-hook-form@​7.56.4 ⏵ 7.65.0100 +1100100 +195 +1100

View full report

@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 0d52525 to 1884fd4 Compare October 4, 2025 01:43
@renovate renovate bot changed the title fix(deps): update dependency react-hook-form to v7.63.0 fix(deps): update dependency react-hook-form to v7.64.0 Oct 4, 2025
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 1884fd4 to 3651293 Compare October 11, 2025 01:15
@renovate renovate bot changed the title fix(deps): update dependency react-hook-form to v7.64.0 fix(deps): update dependency react-hook-form to v7.65.0 Oct 11, 2025
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