Packages

@hookform/resolvers

7.0.7 · 17 Nov 2026MIT55.1M / weekRepositoryHomepagenpmAtom feed

Your version

7.0.0

major31 Oct 2026Where it was published

7.0.8 is the newest release of 7.x.

Summary· from the note as AI read it

Migration neededRead before upgrading: 3 changes to make.

Before you upgrade

  • Install typebox ^1.0.0 instead of @sinclair/typebox
  • Check typebox resolver typings; inferred context types may fail typecheck

New minimums

  • Switch peer to typebox ^1.0.0; update error type checks and Compile imports

In short

3 breaking

  • Breaking

    feat(typebox)!: migrate to the typebox 1.x package

  • Breaking

    the typebox resolver now requires typebox ^1.0.0 as peer dependency instead of @sinclair/typebox. Error type values are now keyword names (e.g. minLength) instead of numeric ValueErrorType codes, messages use TypeBox 1.x wording, and TypeCompiler.Compile is replaced by Compile from typebox/compile.

  • Breaking

    fix(typebox): infer validator context in resolver types

Release note

  • Breaking

    typebox: Migrate to the typebox 1.x package

Breaking changes

  • Breaking

    The typebox resolver now requires typebox ^1.0.0 as peer
    dependency instead of @sinclair/typebox. Error type values are now keyword
    names (e.g. minLength) instead of numeric ValueErrorType codes, messages use
    TypeBox 1.x wording, and TypeCompiler.Compile is replaced by Compile from
    typebox/compile.

  • Breaking

    typebox: Infer validator context in resolver types

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.