Skip to content

Conversation

@sestinj
Copy link
Contributor

@sestinj sestinj commented Jan 16, 2026

snyk-top-banner

Snyk has created this PR to upgrade react-hook-form from 7.62.0 to 7.69.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 8 versions ahead of your current version.

  • The recommended version was released a month ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
medium severity Prototype Pollution
SNYK-JS-DAGRED3ES-13110069
636 Proof of Concept
Release notes
Package name: react-hook-form
  • 7.69.0 - 2025-12-20

    📏 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

  • 7.68.0 - 2025-12-03

    🎧 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

  • 7.67.0 - 2025-11-28

    🎯 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 Controller (#13160)
    🐞 fix(types): correct PathValueImpl type inference (#13150)

    thanks to @ ap0nia, @ Fasping & @ joseph0926

  • 7.66.1 - 2025-11-17

    ⚡ perf: reduce redundant property access in getDirtyFields (#13146)
    🐞 fix(createFormControl): skip setValid() during batch array updates (#13140)
    🐞 fix(useForm): recompute isValid after reset when values update asynchronously (#13126)
    🐞 fix(deepEqual): handle NaN comparison correctly using Object.is (#13120)

    thanks to @ kimtaejin3, @ a28689604 & @ WuMingDao

  • 7.66.0 - 2025-10-31

    🎥 feat: make useWatch and useController to react to name change (#13070)
    🐛 fix: watch() returning undefined immediately after reset() - Issue #13088 (#13091)
    🐞 fix <Watch />: correct render function parameter typing (#13108)

    thanks to @ aspirisen, @ scato3, @ dusan233 & @ zoldyzdk

  • 7.65.0 - 2025-10-10

    🧿 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

  • 7.64.0 - 2025-10-04

    🚏 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

  • 7.63.0 - 2025-09-19

    🥢 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

  • 7.62.0 - 2025-08-01
from react-hook-form GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:


Continue Tasks

Status Task Actions
▶️ Queued Create GitHub Issue (OS) View
▶️ Queued Update PostHog Dashboards View

Powered by Continue


Summary by cubic

Upgrade react-hook-form to ^7.69.0 (locks to 7.71.1) to pull in bug fixes, minor performance improvements, and upstream security patches. This is a non-breaking v7 update; no app code changes expected.

Written for commit 617fd11. Summary will update on new commits.

Snyk has created this PR to upgrade react-hook-form from 7.62.0 to 7.69.0.

See this package in npm:
react-hook-form

See this project in Snyk:
https://app.snyk.io/org/continue-dev-inc.-default/project/c5fb30df-a06c-44cb-83af-5ada5ff6e4a9?utm_source=github&utm_medium=referral&page=upgrade-pr
@sestinj sestinj requested a review from a team as a code owner January 16, 2026 17:48
@sestinj sestinj requested review from Patrick-Erichsen and removed request for a team January 16, 2026 17:48
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jan 16, 2026
@github-actions
Copy link

⚠️ PR Title Format

Your PR title doesn't follow the conventional commit format, but this won't block your PR from being merged. We recommend using this format for better project organization.

Expected Format:

<type>[optional scope]: <description>

Examples:

  • feat: add changelog generation support
  • fix: resolve login redirect issue
  • docs: update README with new instructions
  • chore: update dependencies

Valid Types:

feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert

This helps with:

  • 📝 Automatic changelog generation
  • 🚀 Automated semantic versioning
  • 📊 Better project history tracking

This is a non-blocking warning - your PR can still be merged without fixing this.

@github-actions
Copy link

github-actions bot commented Jan 16, 2026

✅ Review Complete

Code Review Summary

⚠️ Continue API authentication failed. Please check your CONTINUE_API_KEY.


Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 1 file

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them.


<file name="gui/package.json">

<violation number="1" location="gui/package.json:59">
P2: react-hook-form bumped in package.json without updating gui/package-lock.json; lock still resolves 7.62.0, so the upgrade won’t apply</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Jan 18, 2026
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jan 18, 2026
@RomneyDa RomneyDa merged commit 0258b51 into main Jan 18, 2026
58 checks passed
@RomneyDa RomneyDa deleted the snyk-upgrade-67febeeff1178fdd5a933b856634f6b4 branch January 18, 2026 23:12
@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PRs Jan 18, 2026
@github-actions github-actions bot locked and limited conversation to collaborators Jan 18, 2026
@sestinj
Copy link
Contributor Author

sestinj commented Jan 22, 2026

🎉 This PR is included in version 1.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm This PR has been approved by a maintainer released size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants