fix(deps): update dependency @hookform/resolvers to v5
This MR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| @hookform/resolvers (source) | ^3.9.0 → ^5.0.0 |
Release Notes
react-hook-form/resolvers (@hookform/resolvers)
v5.2.2
Bug Fixes
v5.2.1
Bug Fixes
- discriminated union for zod v4 mini (#784) (49a0d7b)
- zod v4 peer deps (#798) (2d28e6a)
- zod: fix output type for Zod 4 resolver (#801) (bc09647)
v5.2.0
Features
v5.1.1
Bug Fixes
v5.1.0
Features
v5.0.1
Bug Fixes
v5.0.0
Features
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.
v4.1.3
Bug Fixes
v4.1.2
Bug Fixes
- standard-schema: move @standard-schema/utils to dependencies (#748) (ded1746)
v4.1.1
Bug Fixes
v4.1.0
Features
v4.0.0
Bug Fixes
- add support for names option (#713) (985c48d)
- arktypeResolver: resolve type error when schema is defined from an ArkType scope (#732) (3233667)
- handle
raw: trueoption to pass form submission values correctly (#733) (7807f95) - validateFieldsNatively: handle undefined object when reading 'refs' (#734) (3da2054)
Features
-
ajv: Keep original validation type while using
errorMessage(#728) (5030a59) - effectResolver: returns either all errors or only the first one based on criteriaMode (#737) (12d7d8e)
- standard-schema: add standard-schema resolver (#738) (b75a95a)
BREAKING CHANGES
-
ajv: The AJV Resolver now unwraps the
errorMessageobject to return the original error types. This update may introduce breaking changes to your projects.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.