unstale

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

@unstale/cli 0.1.0 on npm

@hookform/resolvers 522 changes

Breaking changes 1

  • Updates Joi support to v18, allowing projects using the resolver to work with the newer Joi release.

    5.9.0release notes

New APIs and options 3

  • Adds support for Vest 6 in the resolver integration.

    5.8.0release notes

  • Adds support for Vine v4 schemas in the resolver integration.

    5.7.0release notes

  • Added an ata-validator resolver for integrating ata-validator validation.

    5.4.0release notes

Tooling 1

  • Adds TypeScript 6 support and upgrades development dependencies.

    5.5.0release notes

Fixes and other changes 17

  • Now recognizes bracket-notation array paths, preventing nested errors from being overwritten.

    5.9.1release notes

  • The peer dependency version for ata-validator was fixed.

    5.7.1release notes

  • All resolvers drop validation errors for special root field names.

    5.6.0release notes

  • Preserves validation errors for special root field names.

    5.5.8release notes

  • Fixed npm install failures caused by ERESOLVE conflicts between @hookform/resolvers and valibot versions.

    5.5.7release notes

  • Fixed a module-not-found error when importing zodResolver under Zod v3.

    5.5.6release notes

  • Preserves the ref property in errors for checkbox inputs instead of overriding it with validation metadata.

    5.5.5release notes

  • AJV Resolver no longer returns form data with properties overwritten when the AJV schema contains defaults for certain properties.

    5.5.4release notes

  • Conditional and dynamic schema resolution works again for applications using resolvers.

    5.5.3release notes

  • Zod v4 locale and global error customization are now picked up by the resolver.

    5.5.2release notes

  • Fixes an error when validating nested discriminated unions with the zod resolver.

    5.5.1release notes

  • The Zod resolver now respects union errors.

    5.4.3release notes

  • Standard schema root errors are preserved.

    5.4.2release notes

  • Control<T> works with optional fields when passed to a custom component.

    5.4.2release notes

  • The type overload works with Zod v4.3.x despite branded version mismatches.

    5.4.2release notes

  • Validation libraries are declared as optional peer dependencies, so projects need not install libraries they do not use.

    5.4.1release notes

  • Fixed an issue with toNestErrors.ts.

    5.4.0release notes