Skip to content

Releases: react-hook-form/resolvers

v5.2.1

29 Jul 13:36
49a0d7b
Compare
Choose a tag to compare

5.2.1 (2025-07-29)

Bug Fixes

v5.2.0

25 Jul 12:52
f040039
Compare
Choose a tag to compare

5.2.0 (2025-07-25)

Features

  • ajv: add ajv-formats for ajvResolver (#797) (f040039)

v5.1.1

09 Jun 07:53
79cd8b2
Compare
Choose a tag to compare

5.1.1 (2025-06-09)

Bug Fixes

v5.1.0

07 Jun 13:39
8d083bd
Compare
Choose a tag to compare

5.1.0 (2025-06-07)

Features

  • support Zod 4, Zod v4 mini, and retains compatibility with Zod v3. (#777) (8d083bd)

v5.0.1

02 Apr 05:50
6e88393
Compare
Choose a tag to compare

5.0.1 (2025-04-02)

Bug Fixes

  • relax version constraint for react-hook-form 7.55.0 → ^7.55.0 (#758) (6e88393)

v5.0.0

01 Apr 09:15
Compare
Choose a tag to compare

5.0.0 (2025-04-01)

Features

  • infer input/output types from schema (#753) (6124c59)

BREAKING CHANGES

  • Requires react-hook-form@7.55.0 or higher

Before
Prior to V5, some projects used manual types like

useForm<FormValues>();

After
With V5, the correct approach is:

useForm<Input, Context, Output>();
useForm<FormInputValues, Context, FormOutputValues>();

This update enables distinct outputs when utilizing features like transform from validation libraries.

ℹ️ The best approach is to let the types be inferred from your schema, rather than manually defining them.

v4.1.3

03 Mar 06:43
50dd4ad
Compare
Choose a tag to compare

4.1.3 (2025-03-03)

Bug Fixes

  • escape square brackets in field name regex pattern (#752) (50dd4ad)

v4.1.2

24 Feb 09:58
ded1746
Compare
Choose a tag to compare

4.1.2 (2025-02-24)

Bug Fixes

  • standard-schema: move @standard-schema/utils to dependencies (#748) (ded1746)

v4.1.1

22 Feb 09:01
8ffada0
Compare
Choose a tag to compare

4.1.1 (2025-02-22)

Bug Fixes

  • standard-schema: Propertly handle object path segments (#746) (8ffada0)

v4.1.0

15 Feb 10:17
8ea953c
Compare
Choose a tag to compare

4.1.0 (2025-02-15)

Features

  • automatically infer values from schema (#739) (caaff8d)