npm / @hookform/resolvers
@hookform/resolvers
What changed in @hookform/resolvers 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-17.
1 breaking3 new APIs and options1 tooling17 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@hookform/resolvers 522 changes
Breaking changes 1
Updates Joi support to v18, allowing projects using the resolver to work with the newer Joi release.
New APIs and options 3
Adds support for Vest 6 in the resolver integration.
Adds support for Vine v4 schemas in the resolver integration.
Added an ata-validator resolver for integrating ata-validator validation.
Tooling 1
Adds TypeScript 6 support and upgrades development dependencies.
Fixes and other changes 17
Now recognizes bracket-notation array paths, preventing nested errors from being overwritten.
The peer dependency version for ata-validator was fixed.
All resolvers drop validation errors for special root field names.
Preserves validation errors for special root field names.
Fixed npm install failures caused by ERESOLVE conflicts between @hookform/resolvers and valibot versions.
Fixed a module-not-found error when importing zodResolver under Zod v3.
Preserves the ref property in errors for checkbox inputs instead of overriding it with validation metadata.
AJV Resolver no longer returns form data with properties overwritten when the AJV schema contains defaults for certain properties.
Conditional and dynamic schema resolution works again for applications using resolvers.
Zod v4 locale and global error customization are now picked up by the resolver.
Fixes an error when validating nested discriminated unions with the zod resolver.
The Zod resolver now respects union errors.
Standard schema root errors are preserved.
Control<T> works with optional fields when passed to a custom component.
The type overload works with Zod v4.3.x despite branded version mismatches.
Validation libraries are declared as optional peer dependencies, so projects need not install libraries they do not use.
Fixed an issue with toNestErrors.ts.