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.66.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.66.1
Choose a head ref
  • 8 commits
  • 14 files changed
  • 5 contributors

Commits on Nov 1, 2025

  1. Configuration menu
    Copy the full SHA
    2596e5e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    67770d3 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2025

  1. 🐞 fix(deepEqual): handle NaN comparison correctly using Object.is (#1…

    …3120)
    
    - Replace === with Object.is() for primitive comparison
    - Add comprehensive tests for NaN in objects, arrays, and nested structures
    - Fixes incorrect isDirty behavior when using valueAsNumber with empty inputs
    kamja44 authored Nov 2, 2025
    Configuration menu
    Copy the full SHA
    4922698 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2025

  1. 🐞 fix(useForm): recompute isValid after reset when values update asyn…

    …chronously (#13126)
    
    * fix(useForm): recompute isValid after reset when values update asynchronously
    
    - Call _setValid() at the end of _reset() unless keepIsValid is set.
    - Ensures formState.isValid updates correctly when props.values change asynchronously.
    
    Signed-off-by: Eric Chen <[email protected]>
    
    * fix(useForm): ensure validity state is updated after reset
    
    - Call _setValid() in useForm when resetOptions.keepIsValid is false.
    
    ---------
    
    Signed-off-by: Eric Chen <[email protected]>
    a28689604 authored Nov 9, 2025
    Configuration menu
    Copy the full SHA
    fb6423f View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2025

  1. 🐞 fix(createFormControl): skip setValid() during batch array updates (#…

    …13140)
    
    * perf(createFormControl): skip setValid() during batch array updates
    
    * test(useFieldArray): Add test for useFieldArray actions with resolver
    Add tests to ensure resolver is invoked correctly during append, insert, prepend, replace, and update operations
    a28689604 authored Nov 10, 2025
    Configuration menu
    Copy the full SHA
    932c957 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2025

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

Commits on Nov 14, 2025

  1. ⚡ perf: reduce redundant property access in getDirtyFields (#13146)

    Cache data[key] and formValues[key] in variables to eliminate
    repeated lookups.
    
    Performance improvement: ~10% faster across different form sizes.
    - Medium forms (50 fields): 19.58ms → 17.44ms (11.0% faster)
    - Large forms (100+ fields): 21.48ms → 19.65ms (8.5% faster)
    
    All tests pass (13/13).
    kimtaejin3 authored Nov 14, 2025
    Configuration menu
    Copy the full SHA
    d13be6a View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2025

  1. 7.66.1

    bluebill1049 committed Nov 17, 2025
    Configuration menu
    Copy the full SHA
    caa514c View commit details
    Browse the repository at this point in the history
Loading