@hookform/resolvers
6.0.2 · 28 Oct 2026MIT41.5M / weekRepositoryHomepagenpmAtom feed
6.0.2 is the newest release of 6.x.
In short
2 breaking1 new
- breaking
effect-ts: the effect-ts resolver now requires
effect@^4.0.0; Effect v3 is no longer supported. Schemas must be migrated to the Effect v4 Schema API (e.g.Schema.nonEmptyString()->.check(Schema.isNonEmpty()),Schema.Union(a, b)->Schema.Union([a, b]),Schema.transform->Schema.decodeTo). Errortypevalues follow Effect v4 issue tags:Type->InvalidType,Missing->MissingKey,Refinement->Filter,Unexpected->UnexpectedKey, plus newAnyOfandInvalidValue. Default error messages now come from Effect v4 (e.g.is missing->Missing key, and the received value is no longer included). - breaking
deps: Sync bun.lock with ata-validator ^1.23.0
Release note
Features
Breaking changes
- breaking
effect-ts: the effect-ts resolver now requires
effect@^4.0.0; Effect v3 is no longer supported.
Schemas must be migrated to the Effect v4 Schema API (e.g.Schema.nonEmptyString()->.check(Schema.isNonEmpty()),Schema.Union(a, b)->Schema.Union([a, b]),Schema.transform->Schema.decodeTo).
Errortypevalues follow Effect v4 issue tags:Type->InvalidType,Missing->MissingKey,Refinement->Filter,Unexpected->UnexpectedKey, plus newAnyOfandInvalidValue.
Default error messages now come from Effect v4 (e.g.is missing->Missing key, and the received value is no longer included). - breaking
deps: Sync bun.lock with ata-validator ^1.23.0