chore(deps): update dependency react-hook-form to v7.68.0 #22

Merged
renovate-bot merged 1 commits from renovate/react-hook-form-7.x-lockfile into main 2025-12-07 01:48:41 +01:00
Collaborator

This PR contains the following updates:

Package Change Age Confidence
react-hook-form (source) 7.67.0 -> 7.68.0 age confidence

Release Notes

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

v7.68.0: Version 7.68.0

Compare Source

🎧 feat: <FormStateSubscribe /> component (#​13142)

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

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

  return (
    <div>
      <form>
        <input {...register('foo')} />
        <input {...register('bar')} />
      </form>
      {/* re-render only when formState of `foo` changes */}
      <FormStateSubscribe
        control={control}
        name={"foo"}
        render={({errors}) => <span>{errors.foo?.message}</span>}
      />
    </div>
  );
};

🐞 fix: clear validation errors synchronously in reset() to fix Next.js 16 Server Actions issue (#​13139)
Revert " fix(types): allow undefined value with async defaultValues in Contr…" (#​13171)

thanks to @​xiangnuans, @​abnud11, @​ntatoud & @​ap0nia


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), 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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [react-hook-form](https://react-hook-form.com) ([source](https://github.com/react-hook-form/react-hook-form)) | [`7.67.0` -> `7.68.0`](https://renovatebot.com/diffs/npm/react-hook-form/7.67.0/7.68.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/react-hook-form/7.68.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-hook-form/7.67.0/7.68.0?slim=true) | --- ### Release Notes <details> <summary>react-hook-form/react-hook-form (react-hook-form)</summary> ### [`v7.68.0`](https://github.com/react-hook-form/react-hook-form/releases/tag/v7.68.0): Version 7.68.0 [Compare Source](https://github.com/react-hook-form/react-hook-form/compare/v7.67.0...v7.68.0) 🎧 feat: `<FormStateSubscribe />` component ([#&#8203;13142](https://github.com/react-hook-form/react-hook-form/issues/13142)) ```tsx import { useForm, FormStateSubscribe } from 'react-hook-form'; const App = () => { const { register, control } = useForm(); return ( <div> <form> <input {...register('foo')} /> <input {...register('bar')} /> </form> {/* re-render only when formState of `foo` changes */} <FormStateSubscribe control={control} name={"foo"} render={({errors}) => <span>{errors.foo?.message}</span>} /> </div> ); }; ``` 🐞 fix: clear validation errors synchronously in reset() to fix Next.js 16 Server Actions issue ([#&#8203;13139](https://github.com/react-hook-form/react-hook-form/issues/13139)) Revert "✨ fix(types): allow undefined value with async defaultValues in Contr…" ([#&#8203;13171](https://github.com/react-hook-form/react-hook-form/issues/13171)) thanks to [@&#8203;xiangnuans](https://github.com/xiangnuans), [@&#8203;abnud11](https://github.com/abnud11), [@&#8203;ntatoud](https://github.com/ntatoud) & [@&#8203;ap0nia](https://github.com/ap0nia) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4zOS4wIiwidXBkYXRlZEluVmVyIjoiNDIuMzkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
renovate-bot added 1 commit 2025-12-07 01:01:24 +01:00
chore(deps): update dependency react-hook-form to v7.68.0
Some checks failed
renovate/stability-days Updates have met minimum release age requirement
Lint / Lint and Typecheck (push) Failing after 37s
Lint / Lint and Typecheck (pull_request) Failing after 40s
886ffa39ef
renovate-bot scheduled this pull request to auto merge when all checks succeed 2025-12-07 01:01:25 +01:00
Author
Collaborator

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks
### Branch automerge failure This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead. ___ * Branch has one or more failed status checks
schulze force-pushed renovate/react-hook-form-7.x-lockfile from 886ffa39ef to c5e912d4ed 2025-12-07 01:46:03 +01:00 Compare
renovate-bot merged commit 6c09c22656 into main 2025-12-07 01:48:41 +01:00
renovate-bot deleted branch renovate/react-hook-form-7.x-lockfile 2025-12-07 01:48:42 +01:00
Sign in to join this conversation.