unstale

npm / @hookform/resolvers

@hookform/resolvers

What changed in @hookform/resolvers 3 to 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

16 breaking8 new APIs and options1 performance3 behavior and defaults1 tooling36 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@hookform/resolvers 715 changes

Breaking changes 3

  • Use Compile from typebox/compile in place of TypeCompiler.Compile.

    7.0.0release notes

  • Error type values are now keyword names such as minLength instead of numeric ValueErrorType codes.

    7.0.0release notes

  • The TypeBox resolver now requires typebox ^1.0.0 as a peer dependency instead of @sinclair/typebox.

    7.0.0release notes

Behavior and default changes 1

Fixes and other changes 11

  • Async validation results are awaited.

    7.0.7release notes

  • Path-less validation issues are preserved.

    7.0.7release notes

  • The Zod 4 overload is selected for a generic Zod 4 schema.

    7.0.7release notes

  • Object-level issues are now reported on the empty path.

    7.0.6release notes

  • Native validation errors are now cleared after successful validation.

    7.0.6release notes

  • Accepts ajv-formats v3 as a peer dependency, allowing projects using that version to use the Ajv resolver.

    7.0.5release notes

  • Object-level issues are now reported on the empty path.

    7.0.4release notes

  • The effect-ts resolver now honors the raw resolver option.

    7.0.3release notes

  • The io-ts resolver now honors the raw resolver option.

    7.0.2release notes

  • Primitive array error messages are preserved by the fluentvalidation-ts resolver.

    7.0.1release notes

  • Resolver types now infer validator context.

    7.0.0release notes

@hookform/resolvers 69 changes

Breaking changes 6

  • Default error messages come from Effect v4; for example, “is missing” becomes “Missing key,” and messages no longer include the received value.

    6.0.0release notes

  • The effect-ts resolver now requires effect@^4.0.0; Effect v3 is no longer supported.

    6.0.0release notes

  • Error type values follow Effect v4 issue tags: Type, Missing, Refinement, and Unexpected map to InvalidType, MissingKey, Filter, and UnexpectedKey; AnyOf and InvalidValue are also added.

    6.0.0release notes

  • Migrate from Schema.nonEmptyString() to .check(Schema.isNonEmpty()) for the Effect v4 Schema API.

    6.0.0release notes

  • Migrate from Schema.transform to Schema.decodeTo for the Effect v4 Schema API.

    6.0.0release notes

  • Effect v4 Schema.Union takes an array of schemas instead of separate arguments.

    6.0.0release notes

Behavior and default changes 1

Fixes and other changes 2

  • Preserves escaped field names in validation errors.

    6.0.2release notes

  • Dropped @typeschema/main from peerDependencies, so it is no longer required as a peer dependency.

    6.0.1release notes

@hookform/resolvers 525 changes

Breaking changes 2

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

    5.9.0release notes

  • Requires react-hook-form@7.55.0 or higher.

    5.0.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

Behavior and default changes 1

  • Input and output types can be inferred from the schema, enabling distinct output types for features like transform.

    5.0.0release notes

Tooling 1

  • Adds TypeScript 6 support and upgrades development dependencies.

    5.5.0release notes

Fixes and other changes 18

  • Preserves escaped field names in validation errors.

    5.9.2release notes

  • 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

@hookform/resolvers 47 changes

Breaking changes 1

  • The AJV Resolver unwraps the errorMessage object and returns the original error types, which may require project changes.

    4.0.0release notes

New APIs and options 3

Fixes and other changes 3

  • Resolves a type error when the schema is defined from an ArkType scope.

    4.0.0release notes

  • Handles raw: true so form submission values are passed correctly.

    4.0.0release notes

  • Handles an undefined object when reading refs.

    4.0.0release notes

@hookform/resolvers 39 changes

Breaking changes 4

  • Install ajv-errors separately; it is no longer bundled with resolvers.

    3.0.0release notes

  • Install ajv separately; it is no longer bundled with resolvers.

    3.0.0release notes

  • The raw-values option is now named raw instead of rawValues.

    3.0.0release notes

  • The resolver supports Yup v1, which is now required.

    3.0.0release notes

New APIs and options 2

Performance 1

Fixes and other changes 2