Version 7.33.0
⚛️ upgrade to react 18 (#8529)
🐞 fix #8558 missing select function for controlled component (#8559)
🔬 improve nested field errors
type (#8527)
🗑 UseFormHandleSubmit
remove unused generic (#8526)
👋 deprecate on NestedValue
and UnpackNestedValue
(#8528)
type FormValues = {
- select: NestedValue<{
- nested: string
- }>
+ select: {
+ nested: string
+ }
}
errors.select.message ✅
Important (25/06/2022)
The deprecation with UnpackNestedValue
caused a breaking change on the @hookform/resolvers
package, please refer to the changelog and upgrade the resolver to the latest.
🥼 close #8564 update changelog for breaking change with resolver
💥 The above type deprecation cause breaking change with @hookform/resolvers
needs to be upgraded to version ^2.9.3
above
Huge thanks go to @felixschorer on type improvement and @romain-trotard for improving tests for react 18