Skip to content

Releases: react-hook-form/resolvers

v3.4.2

20 May 22:51
Compare
Choose a tag to compare

3.4.2 (2024-05-20)

Bug Fixes

  • move back to in-build set and remove lodash.set (#685) (5754c47)

v3.4.1

20 May 22:14
bdc1f1f
Compare
Choose a tag to compare

3.4.1 (2024-05-20)

Bug Fixes

v3.4.0

15 May 00:12
79700b0
Compare
Choose a tag to compare

3.4.0 (2024-05-15)

Features

v3.3.4

04 Jan 09:06
Compare
Choose a tag to compare

3.3.4 (2024-01-04)

Bug Fixes

  • error handling for array errors with root error (1bfc6ab)

v3.3.3

26 Dec 10:24
6f1b139
Compare
Choose a tag to compare

3.3.3 (2023-12-26)

Bug Fixes

v3.3.2

11 Oct 20:03
1baed6e
Compare
Choose a tag to compare

3.3.2 (2023-10-11)

Bug Fixes

v3.3.1

28 Aug 21:47
918d72f
Compare
Choose a tag to compare

3.3.1 (2023-08-28)

Bug Fixes

v3.3.0

22 Aug 12:36
94b2b84
Compare
Choose a tag to compare

3.3.0 (2023-08-22)

Bug Fixes

Features

  • add support for root errors for field array (#621) (5f1a622)
  • pass field names and a context as arguments to a Vest suite (#584) (3519701)
  • valibot: add more tests, support of criteriaMode and reduce size (#620) (a9d319d)

v3.2.0

06 Aug 10:27
2185330
Compare
Choose a tag to compare

3.2.0 (2023-08-06)

Features

v3.1.1

12 Jun 17:05
420e862
Compare
Choose a tag to compare

3.1.1 (2023-06-12)

BREAKING CHANGES

Bug Fixes

You don't need to explicitly provide the type when using the useForm function because it automatically infers the types from the Yup schema.

Before

const schema = Yup.shape({ name: string });

const { register } = useForm<{name: string}>({ resolver: yupResolver(schema) });

After

const schema = Yup.shape({ name: string });

const { register } = useForm({ resolver: yupResolver(schema) });