@hookform/resolvers
6.0.2 · 28 Oct 2026MIT41.5M / weekRepositoryHomepagenpmAtom feed
4.1.3 is the newest release of 4.x.
In short
1 breaking4 new3 fixed
- breaking
ajv: The AJV Resolver now unwraps the
errorMessageobject to return the original error types. This update may introduce breaking changes to your projects.
Release note
Bug Fixes
Add support for names option
arktypeResolver: resolve type error when schema is defined from an ArkType scope
Handle
raw: trueoption to pass form submission values correctlyvalidateFieldsNatively: handle undefined object when reading 'refs'
Features
ajv: Keep original validation type while using
errorMessageeffectResolver: returns either all errors or only the first one based on criteriaMode
standard-schema: add standard-schema resolver
Breaking changes
- breaking
ajv: The AJV Resolver now unwraps the
errorMessageobject to return the original error types. This update may introduce breaking changes to your projects.