github react-hook-form/react-hook-form v7.33.0
Version 7.33.0

latest releases: v7.51.4, v7.51.3, v7.51.2...
22 months ago

⚛️ 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

Don't miss a new react-hook-form release

NewReleases is sending notifications on new releases.