Packages

@hookform/resolvers

6.0.2 · 28 Oct 2026MIT41.5M / weekRepositoryHomepagenpmAtom feed

Your version

4.0.0

major10 Feb 2025Where it was published

4.1.3 is the newest release of 4.x.

In short

1 breaking4 new3 fixed

  • breaking

    ajv: The AJV Resolver now unwraps the errorMessage object 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: true option to pass form submission values correctly

  • validateFieldsNatively: handle undefined object when reading 'refs'

Features

  • ajv: Keep original validation type while using errorMessage

  • effectResolver: 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 errorMessage object to return the original error types. This update may introduce breaking changes to your projects.