Skip to content

chore(deps): update dependency react-hook-form to v7.62.0 #495

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 8, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-hook-form (source) 7.51.2 -> 7.62.0 age adoption passing confidence

Release Notes

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

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

v7.54.2: Version 7.54.2

Compare Source

⚛️ fix #​12478 issue should unregister input with controller (#​12480)
⏰ close #​12443 track disabled fields and only omit data on submit (#​12491)
⚛️ upgrade e2e automation app to react 19 (#​12482)
🧪 test(useWatch): destructure setValue from useForm

Thanks very much, @​marcalexiei for your contribution to the documentation!

v7.54.1: Version 7.54.1

Compare Source

Revert "🦥 fix: useForm should return a new object on formState changes (#​12424)" (#​12475)

v7.54.0

Compare Source

Changed
  • useForm return methods will be memorized based formState update

v7.53.2: Version 7.53.2

Compare Source

🐞 fix #​12398 staled disabled issue with resubmit form (#​12403)
🐞 fix: add type guard to fieldRef.select (#​12390)
Revert "🏺 watch reference update on formState update (#​12326)" (#​12391)

thanks to @​developer-bandi

v7.53.1: Version 7.53.1

Compare Source

🐞 fix: #​12294 ensure Invalid Date is evaluated correctly (#​12295)
🐞 fix #​12316 setValue should work for arrays of primitives to handle checkboxes (#​12316) (#​12317)
🐞 fix #​12097 Use dirty fields along with mount names for form reset with keepDirtyValues (#​12211)
🫀 fix #​12237 disabled state trigger formState dirty/dirtyFields to update (#​12239)
🐞 fix #​12291 field array remove cause undefined with FormData (#​12305)
📝 improve flatten function with object type check (#​12306)
🖐️ improve: resolve type of set function (#​12145)
🔧 chore: upgrade eslint to v9 (#​12150)
📖 fix: code example input field placeholder name (#​12296)
📖 docs: fix typo in code example (#​12271)

thanks to @​rasikhq @​abnud11 @​crypt0box @​developer-bandi @​matmannion @​hasancruk & @​vismay7

v7.53.0

Compare Source

Added
  • add support for onBlur with formState isValid
Changed
  • validateFields will only trigger re-render for async validation

v7.52.2: Version 7.52.2

Compare Source

👍 close #​12108 useController should subscribe to exact field name of form's state (#​12109)
👍 chore: upgrade app deps
🩻 fix: add useCallback for ref callback (#​12078)
🚀 fix: skip call executeBuiltInValidation if no sub-fields left (#​12054)

thanks to @​newsiberian, @​Wendystraite and @​abnud11

v7.52.1: Version 7.52.1

Compare Source

🐞 fix #​12024 dirty not update issue with values prop (#​12041)
🐞 fix: field array validate rules shift errors (#​12033)

thanks to @​JardelCheung

v7.52.0: Version 7.52.0

Compare Source

⚛️ close #​11932 enable react 19 peer dependency (#​11935)
👮‍♀️ close #​11954 getFieldState remove unnessaried inValidating and touched subscription (#​11995)
🐞 fix #​11985 logic createFormControl check field before usage (#​11986)
⌨️ fix: enforce type safety for deps property in RegisterOptions (#​11969)
🐞 fix #​11922 keep dirty on reset with dirty fields (#​11958)
🚔 close #​11937 add validation in the cleanup process in useController (#​11938)
Revert "⌨️ close: correct type of error field in getFieldState return object (#​11831)"
📖 fix: change info.values type in WatchObserver (#​11917)

thanks to @​nakaakist, @​IdoBouskila, @​pincy and @​peinguin

v7.51.5: Version 7.51.5

Compare Source

📖 fix broken link to examples in README.md (#​11805)
⌨️ close: correct type of error field in getFieldState return object (#​11831)
🐞 fix #​11842 radio buttons not disabled when multiple share a name (#​11873)
🐞 fix #​11821 set value with disabled false before mount (#​11880)
🐞 fix setError to preserve existing errors elsewhere in the object (#​11888)
⌨️ fix: add info.value type to WatchObserver (#​11872)
🫡 fix issue with internal set api (#​11915)

thanks to @​mjr2595 @​erashu212 @​SimonJTurner and @​peinguin

v7.51.4: Version 7.51.4

Compare Source

👹 close #​11778 improve unregister omit key with getValues method (#​11779)
🐞 fix #​11794 issue: Fields dirty state is not updated when passing values to useForm

v7.51.3: Version 7.51.3

Compare Source

🐞 fix #​11773 regression on dirty check with reset (#​11775)


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

cloudflare-workers-and-pages bot commented Feb 8, 2025

Deploying sos24-client-storybook with  Cloudflare Pages  Cloudflare Pages

Latest commit: fe82549
Status: ✅  Deploy successful!
Preview URL: https://352dd973.sos24-client-storybook.pages.dev
Branch Preview URL: https://renovate-react-hook-form-7-x.sos24-client-storybook.pages.dev

View logs

Copy link

cloudflare-workers-and-pages bot commented Feb 8, 2025

Deploying sos24-client with  Cloudflare Pages  Cloudflare Pages

Latest commit: fe82549
Status: ✅  Deploy successful!
Preview URL: https://6729571c.sos24-client.pages.dev
Branch Preview URL: https://renovate-react-hook-form-7-x.sos24-client.pages.dev

View logs

@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 3b6647d to 6bf3146 Compare February 9, 2025 14:47
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 6bf3146 to 1b9fee9 Compare March 3, 2025 15:50
Copy link

github-actions bot commented Mar 3, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 3.58% 511 / 14259
🔵 Statements 3.58% 511 / 14259
🔵 Functions 38.87% 131 / 337
🔵 Branches 59.81% 189 / 316
File CoverageNo changed files found.
Generated in workflow #1455 for commit 71e59e1 by the Vitest Coverage Report Action

@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 1b9fee9 to 89eb1bd Compare March 11, 2025 13:52
@renovate renovate bot changed the title Update dependency react-hook-form to v7.54.2 chore(deps): update dependency react-hook-form to v7.54.2 Mar 14, 2025
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 89eb1bd to 0793b1d Compare March 17, 2025 12:28
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.54.2 Update dependency react-hook-form to v7.54.2 Mar 20, 2025
@renovate renovate bot changed the title Update dependency react-hook-form to v7.54.2 Update dependency react-hook-form to v7.55.0 Mar 28, 2025
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 0793b1d to f72cd5f Compare March 28, 2025 22:39
@renovate renovate bot changed the title Update dependency react-hook-form to v7.55.0 chore(deps): update dependency react-hook-form to v7.55.0 Apr 11, 2025
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from f72cd5f to 8a6eaaf Compare April 18, 2025 20:02
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 8a6eaaf to fe82549 Compare April 19, 2025 16:10
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.55.0 chore(deps): update dependency react-hook-form to v7.56.0 Apr 20, 2025
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from fe82549 to 1f763f6 Compare April 20, 2025 11:08
Copy link

cloudflare-workers-and-pages bot commented Apr 20, 2025

Deploying sos25-client with  Cloudflare Pages  Cloudflare Pages

Latest commit: 71e59e1
Status: ✅  Deploy successful!
Preview URL: https://f2450c95.sos25-client.pages.dev
Branch Preview URL: https://renovate-react-hook-form-7-x.sos25-client.pages.dev

View logs

@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 1f763f6 to 46d00f7 Compare April 23, 2025 01:49
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.56.0 chore(deps): update dependency react-hook-form to v7.56.1 Apr 23, 2025
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 4ee466a to 0d58dc6 Compare June 2, 2025 01:30
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.56.4 chore(deps): update dependency react-hook-form to v7.57.0 Jun 2, 2025
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 0d58dc6 to 58689f7 Compare June 15, 2025 12:53
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.57.0 chore(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-lockfile branch from 58689f7 to 314d8bd Compare June 17, 2025 16:01
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.58.0 chore(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-lockfile branch from 314d8bd to d9a136b Compare June 22, 2025 12:36
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from d9a136b to b3bffc2 Compare June 28, 2025 03:10
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.58.1 chore(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-lockfile branch from b3bffc2 to 17f197b Compare July 2, 2025 17:30
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 17f197b to fdd0b9d Compare July 4, 2025 23:09
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.59.0 chore(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-lockfile branch from fdd0b9d to 9c3e488 Compare July 24, 2025 02:38
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.60.0 chore(deps): update dependency react-hook-form to v7.61.0 Jul 24, 2025
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 9c3e488 to 71e59e1 Compare July 24, 2025 14:48
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.61.0 chore(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-lockfile branch from 71e59e1 to c53185e Compare August 1, 2025 22:49
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.61.1 chore(deps): update dependency react-hook-form to v7.62.0 Aug 1, 2025
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from c53185e to 6ba52ff Compare August 3, 2025 17:13
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