Performant, flexible and extensible forms library for React Hooks
Published Node.js and peer-dependency requirements.
No declared requirement changes.
24 Jun 2022 · Newest first
Last checked
Checking sources…
Showing 1 of 1 releases. Full release notes.
Signals highlight changes worth reviewing. They cannot determine whether your application is affected.
The deprecation with
UnpackNestedValuecaused a breaking change on the@hookform/resolverspackage, please refer to the changelog and upgrade the resolver to the latest.
⚛️ upgrade to react 18 (https://github.com/react-hook-form/react-hook-form/pull/8529)
🐞 fix https://github.com/react-hook-form/react-hook-form/issues/8558 missing select function for controlled component (https://github.com/react-hook-form/react-hook-form/pull/8559)
🔬 improve nested field errors type (https://github.com/react-hook-form/react-hook-form/pull/8527)
🗑 UseFormHandleSubmit remove unused generic (https://github.com/react-hook-form/react-hook-form/pull/8526)
👋 deprecate on NestedValue and UnpackNestedValue (https://github.com/react-hook-form/react-hook-form/pull/8528)
type FormValues = {
- select: NestedValue<{
- nested: string
- }>
+ select: {
+ nested: string
+ }
}
errors.select.message ✅
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 https://github.com/react-hook-form/react-hook-form/issues/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