Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: react-hook-form/react-hook-form
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v7.79.0
Choose a base ref
...
head repository: react-hook-form/react-hook-form
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.80.0
Choose a head ref
  • 8 commits
  • 26 files changed
  • 5 contributors

Commits on Jun 13, 2026

  1. Configuration menu
    Copy the full SHA
    7bb1825 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2026

  1. 🍖 chore: bench mark on perf (#13530)

    * chore: bench mark on perf
    
    * include ci cd for bench mark
    
    * fix ci cd
    
    * update ci
    
    * add more apis
    
    * Revert "update ci"
    
    This reverts commit 2de7302.
    
    * Revert "fix ci cd"
    
    This reverts commit c7708b7.
    
    * Revert "include ci cd for bench mark"
    
    This reverts commit 6612c10.
    bluebill1049 authored Jun 14, 2026
    Configuration menu
    Copy the full SHA
    01930f0 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2026

  1. 🧪 tests: add tests for setValue within form.subscribe (#13531)

    This commit adds tests for calling `setValue` within `form.subscribe`.
    This is related to #13372
    BrendanC23 authored Jun 15, 2026
    Configuration menu
    Copy the full SHA
    782313f View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2026

  1. 🛺 perf: make rhf more performant (#13524)

    * perf: improve onChange performance
    
    * add perf test cases
    
    * 🚅 perf: improve setValid (#13525)
    
    * perf: improve on dirty checking
    
    * test out reset
    
    * try latest cypress
    
    * test set to chrome
    
    * revert back
    
    * skip the test for now
    
    * revert back change
    
    * perf: improve setValid (#13526)
    
    * add test back
    
    * test out
    
    * perf: improve setValue (#13527)
    
    * cache valdiation mode
    
    * fix counter go negative
    
    * add test guard
    
    * improve is watch check
    
    * improve more on setValues
    
    * improve `shouldRenderFormState` check
    
    * improve getDirty check
    
    * improve more ulity functions
    
    * improve logic folder
    
    * perf: improve TypeScript compile-time performance
    
    - Cap PathImpl/ArrayPathImpl recursion at 10 path segments via Prev
      decrement table — bounds path union size from O(N^depth) to O(N^10)
    - Remove dead IsPrimitiveLike second branch (Primitive & object = never)
    - Remove always-false FieldErrors ternary (FieldValues extends IsAny<FieldValues>)
    - Collapse WatchValue array check to readonly FieldPath<T>[] (mutable
      arrays satisfy readonly constraint; removes one FieldPath instantiation)
    - Move Prev table to path/common.ts so eager.ts imports it
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
    
    * update api
    
    * update
    
    * Revert "perf: improve TypeScript compile-time performance"
    
    This reverts commit edf775b.
    
    * update api
    
    * remove comments
    
    ---------
    
    Co-authored-by: Claude Sonnet 4.6 <[email protected]>
    bluebill1049 and claude authored Jun 19, 2026
    Configuration menu
    Copy the full SHA
    cee92e2 View commit details
    Browse the repository at this point in the history
  2. 🐞 fix(deepEqual): empty array and empty plain object should not be eq…

    …ual (#13533)
    
    * fix(deepEqual): empty array and empty plain object should not be equal
    
    deepEqual([], {}) and deepEqual({}, []) incorrectly returned true because
    both have zero enumerable keys and neither triggered the
    isEmptyObjectWithCustomPrototype guard ([] is excluded by Array.isArray
    and {} is excluded by isPlainObject).
    
    Add an early-return check: when both objects have zero keys and their
    array-ness differs, return false. This preserves the intentional
    sparse-array / plain-object compatibility introduced in #13347 (only
    non-empty containers need that treatment) while fixing the degenerate
    empty case.
    
    Fixes: deepEqual([], {}) => false (was true)
    Fixes: deepEqual({ items: [] }, { items: {} }) => false (was true)
    
    * Update src/utils/deepEqual.ts
    
    ---------
    
    Co-authored-by: JSap0914 <[email protected]>
    Co-authored-by: Bill <[email protected]>
    3 people authored Jun 19, 2026
    Configuration menu
    Copy the full SHA
    62be736 View commit details
    Browse the repository at this point in the history
  3. 🧄 feat: disable useFieldArray fields (#13535)

    * feature: disable useFieldArray fields
    
    * update api
    bluebill1049 authored Jun 19, 2026
    Configuration menu
    Copy the full SHA
    3f38974 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4755fd0 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2026

  1. 7.80.0

    bluebill1049 committed Jun 20, 2026
    Configuration menu
    Copy the full SHA
    ebcf9c2 View commit details
    Browse the repository at this point in the history
Loading