Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 29, 2025

Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.

This PR contains the following updates:

Package Change Age Confidence
react-hook-form (source) ^7.54.2 -> ^7.63.0 age confidence

Release Notes

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

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

Compare Source

v7.61.1: Version 7.61.1

Compare Source

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

v7.61.0

Compare Source

v7.60.0

Compare Source

v7.59.0

Compare Source

v7.58.1

Compare Source

v7.58.0

Compare Source

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)

v7.56.4

Compare Source

v7.56.3

Compare Source

v7.56.2: Version 7.56.2

Compare Source

🐞 fix #​12785 regression on default value gets overwritten by values props (#​12790)
🐞 fix: use layoutEffect in useWatch for subscription similar to useForm (#​12786)
🐞 fix #​12772 reset form useWatch to utilize ref for defaultValue and … (#​12780)
📭 close #​12773 pass input ref instead partial (#​12775)

v7.56.1

Compare Source

v7.56.0

Compare Source

v7.55.0: Version 7.55.0

Compare Source

⚡️ createFormControl

  • Allow us to start subscribing outside of the React component
const { formControl, control } = createFormControl(props)

function App() {
  const { register } = useForm({
    formControl,
  })

  return <form />
}

function Test() {
  useFormState({
    control // no longer need context api
  })
}

⚡️ subscribe

  • subscribe form state update without re-render
  • subscribe outside of the react component
const { formControl } = createFormControl(props)

formControl.subscribe({
  formState: { isDirty: true },
  callback: (formState) => {
    if (formState.isDirty) {
      // do something here
    }
  }
})

function App() {
  const { register } = useForm({
    formControl,
  })

  return <form />
}

🪲 fix https://github.com/react-hook-form/react-hook-form/issues/12680: Update Fieldarray Unmount Status (https://github.com/react-hook-form/react-hook-form/pull/12690)
🫡 fix: improve type inference for useFormContext (https://github.com/react-hook-form/react-hook-form/pull/12689)
👮‍♂️ feat: infer resolver output types (https://github.com/react-hook-form/react-hook-form/pull/12638)
🐞 fix(useForm): make values and defaultValues work correctly with createFormControl and useMemo (https://github.com/react-hook-form/react-hook-form/pull/12675)
🥹 close https://github.com/react-hook-form/react-hook-form/issues/12665 issue with values not populate form
🐞 fix https://github.com/react-hook-form/react-hook-form/issues/12665 regression on values over take default values
🫡 allow use of handleSubmit with native events (https://github.com/react-hook-form/react-hook-form/pull/12645)
🐞 fix https://github.com/react-hook-form/react-hook-form/issues/12631 revalidateMode issue with useFieldArray validation (https://github.com/react-hook-form/react-hook-form/pull/12646)
🦥 close https://github.com/react-hook-form/react-hook-form/issues/12634 allow components with useController hook be memoized (https://github.com/react-hook-form/react-hook-form/pull/12635)
🐞 fix https://github.com/react-hook-form/react-hook-form/issues/12580 setError in useEffect does not work when used inside the FormProvider context (https://github.com/react-hook-form/react-hook-form/pull/12642)
🛟 fix: add the condition to prevent infinite render with errors prop (https://github.com/react-hook-form/react-hook-form/pull/12622)
🐞 fix https://github.com/react-hook-form/react-hook-form/issues/12580 valid state update with onBlur mode (https://github.com/react-hook-form/react-hook-form/pull/12612)
🐞 fix https://github.com/react-hook-form/react-hook-form/issues/12572 disabled field value not get undefined in resolver (https://github.com/react-hook-form/react-hook-form/pull/12573)
🦾 feat: reference stable for useWatch defaultValue (https://github.com/react-hook-form/react-hook-form/pull/12564)
⏰ chore: remove typetest folder from build (https://github.com/react-hook-form/react-hook-form/pull/12555)
🐞 fix https://github.com/react-hook-form/react-hook-form/issues/12532 useController should unregister issue with strict mode (https://github.com/react-hook-form/react-hook-form/pull/12538)
👁️ feat: improve reference update with useWatch (https://github.com/react-hook-form/react-hook-form/pull/12537)
🦥 close https://github.com/react-hook-form/react-hook-form/issues/12531 disabled state issue with touched and dirty (https://github.com/react-hook-form/react-hook-form/pull/12536)

thanks to @​jtomaszewski, @​joshkel, @​candymask0712, @​kotarella1110, @​jorisre, @​jtomaszewski, @​controversial and @​jedahu


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 Mar 29, 2025

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

Project Deployment Preview Comments Updated (UTC)
ui-www Error Error Sep 20, 2025 1:39am

@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 569f7fe to af145cc Compare March 29, 2025 05:35
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from af145cc to ce3bcef Compare March 30, 2025 17:49
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from ce3bcef to 97dbf92 Compare March 30, 2025 21:29
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 97dbf92 to 74bc6ab Compare March 31, 2025 20:15
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 74bc6ab to fbeebd7 Compare March 31, 2025 22:50
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from fbeebd7 to 0fbdaed Compare April 1, 2025 03:13
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 0fbdaed to a335c9f Compare April 1, 2025 07:04
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from a335c9f to 3e43953 Compare April 1, 2025 16:59
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 3e43953 to 3078f32 Compare April 1, 2025 21:45
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 3078f32 to c75c68a Compare April 2, 2025 02:35
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from c75c68a to 647d8ab Compare April 2, 2025 06:25
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 647d8ab to b4feab1 Compare April 2, 2025 12:16
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from b4feab1 to c3b9601 Compare April 2, 2025 15:24
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from c3b9601 to 44bc523 Compare April 2, 2025 18:58
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 8d8a031 to a1d4739 Compare August 18, 2025 05:26
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from a1d4739 to d854135 Compare August 18, 2025 18:39
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from d854135 to aa111c0 Compare August 18, 2025 20:35
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from aa111c0 to 83a8271 Compare August 19, 2025 05:35
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 83a8271 to 64fc51b Compare August 19, 2025 23:57
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 64fc51b to 5f0a699 Compare August 20, 2025 03:02
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 5f0a699 to 6f93868 Compare August 20, 2025 04:26
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 6f93868 to 5493adc Compare August 21, 2025 01:46
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 5493adc to a608901 Compare August 24, 2025 05:49
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from a608901 to 807dc61 Compare August 24, 2025 09:28
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 807dc61 to fd267ae Compare August 24, 2025 14:26
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from fd267ae to 316b331 Compare August 24, 2025 18:31
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 316b331 to 85ccb8c Compare August 31, 2025 10:59
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 85ccb8c to 0502f2a Compare September 20, 2025 01:38
@renovate renovate bot changed the title fix(deps): update dependency react-hook-form to ^7.62.0 fix(deps): update dependency react-hook-form to ^7.63.0 Sep 20, 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