✨ Features
🐞 Fixes
- Fix
useWatchreturning stale values when the watched name changes tonull. (#13668) - Fix
unregisterkeepDirtybehavior. (#13669) - Fix
setValuesfor fields registered under object or array values. (#13667) - Fix
Controllernotifications for field array item roots. (#13665) - Fix validation state checks. (#13661)
- Fix
setCustomValiditywithcriteriaMode: 'all'. (#13655) - Fix
File,Blob, andFileListhandling inflatten. (#13652) - Fix stale errors and touched state after updating a field array item. (#13650)
- Fix stale field names leaking into persisted
formState. (#13649)
🚀 Performance
- Improve
createFormControlperformance. (#13648) - Improve
cloneObjectperformance. - Avoid unnecessary value cloning in
unregister. (#13662) - Improve performance in
onChange-heavy workloads.
🧹 Chores & Refactoring
- Remove unnecessary
anyusage. (#13660) - Improve TypeScript handling around checkbox values. (#13659)
- Improve UUID generation. (#13658)
- Clean up repository structure and APIs. (#13657)
- Remove unreachable revalidation logic in
useFieldArray. (#13654)
Thanks to @dfedoryshchev, @zigzagdev, @official-burak, @Jaybhade, @candymask0712, and @bluebill1049 for their contributions! 🎉