fix(deps): update dependency @hookform/resolvers to v5 - autoclosed #6

Closed
renovate-bot wants to merge 1 commits from renovate/hookform-resolvers-5.x into master
Collaborator

This PR contains the following updates:

Package Type Update Change
@hookform/resolvers (source) dependencies major ^3.10.0 -> ^5.0.0

Release Notes

react-hook-form/resolvers (@​hookform/resolvers)

v5.0.1

Compare Source

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

v5.0.0

Compare Source

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.

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

v4.1.3

Compare Source

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

v4.1.2

Compare Source

Bug Fixes

v4.1.1

Compare Source

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

v4.1.0

Compare Source

Features

v4.0.0

Compare Source

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: true option 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 errorMessage object to return the original error types. This update may introduce breaking changes to your projects.

Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@hookform/resolvers](https://react-hook-form.com) ([source](https://github.com/react-hook-form/resolvers)) | dependencies | major | [`^3.10.0` -> `^5.0.0`](https://renovatebot.com/diffs/npm/@hookform%2fresolvers/3.10.0/5.0.1) | --- ### Release Notes <details> <summary>react-hook-form/resolvers (@&#8203;hookform/resolvers)</summary> ### [`v5.0.1`](https://github.com/react-hook-form/resolvers/releases/tag/v5.0.1) [Compare Source](https://github.com/react-hook-form/resolvers/compare/v5.0.0...v5.0.1) ##### Bug Fixes - relax version constraint for react-hook-form 7.55.0 → ^7.55.0 ([#&#8203;758](https://github.com/react-hook-form/resolvers/issues/758)) ([6e88393](https://github.com/react-hook-form/resolvers/commit/6e8839343dcfea0fe9b874772a01f3bc551cbb5c)) ### [`v5.0.0`](https://github.com/react-hook-form/resolvers/releases/tag/v5.0.0) [Compare Source](https://github.com/react-hook-form/resolvers/compare/v4.1.3...v5.0.0) ##### Features - infer input/output types from schema ([#&#8203;753](https://github.com/react-hook-form/resolvers/issues/753)) ([6124c59](https://github.com/react-hook-form/resolvers/commit/6124c59a99e9b05604196f8f0c310879033ed58d)) ##### BREAKING CHANGES - Requires react-hook-form@7.55.0 or higher **Before** Prior to V5, some projects used manual types like ```tsx useForm<FormValues>(); ``` **After** With V5, the correct approach is: ```tsx 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`](https://github.com/react-hook-form/resolvers/releases/tag/v4.1.3) [Compare Source](https://github.com/react-hook-form/resolvers/compare/v4.1.2...v4.1.3) ##### Bug Fixes - escape square brackets in field name regex pattern ([#&#8203;752](https://github.com/react-hook-form/resolvers/issues/752)) ([50dd4ad](https://github.com/react-hook-form/resolvers/commit/50dd4add92d4f9837efa1f147870925672f01c15)) ### [`v4.1.2`](https://github.com/react-hook-form/resolvers/releases/tag/v4.1.2) [Compare Source](https://github.com/react-hook-form/resolvers/compare/v4.1.1...v4.1.2) ##### Bug Fixes - **standard-schema:** move [@&#8203;standard-schema/utils](https://github.com/standard-schema/utils) to dependencies ([#&#8203;748](https://github.com/react-hook-form/resolvers/issues/748)) ([ded1746](https://github.com/react-hook-form/resolvers/commit/ded1746ee88778232cd162cff91f3710e90195de)) ### [`v4.1.1`](https://github.com/react-hook-form/resolvers/releases/tag/v4.1.1) [Compare Source](https://github.com/react-hook-form/resolvers/compare/v4.1.0...v4.1.1) ##### Bug Fixes - **standard-schema:** Propertly handle object path segments ([#&#8203;746](https://github.com/react-hook-form/resolvers/issues/746)) ([8ffada0](https://github.com/react-hook-form/resolvers/commit/8ffada0c7a2026ad4d311ca167f15d5b86d63349)) ### [`v4.1.0`](https://github.com/react-hook-form/resolvers/releases/tag/v4.1.0) [Compare Source](https://github.com/react-hook-form/resolvers/compare/v4.0.0...v4.1.0) ##### Features - automatically infer values from schema ([#&#8203;739](https://github.com/react-hook-form/resolvers/issues/739)) ([caaff8d](https://github.com/react-hook-form/resolvers/commit/caaff8ddbac714c7c4de5a56287bdb9469bd0e9a)) ### [`v4.0.0`](https://github.com/react-hook-form/resolvers/releases/tag/v4.0.0) [Compare Source](https://github.com/react-hook-form/resolvers/compare/v3.10.0...v4.0.0) ##### Bug Fixes - add support for names option ([#&#8203;713](https://github.com/react-hook-form/resolvers/issues/713)) ([985c48d](https://github.com/react-hook-form/resolvers/commit/985c48dab56636759914b41af1d57274ebd7d20a)) - **arktypeResolver:** resolve type error when schema is defined from an ArkType scope ([#&#8203;732](https://github.com/react-hook-form/resolvers/issues/732)) ([3233667](https://github.com/react-hook-form/resolvers/commit/3233667a599537a7228e55c6a8862883991a93ac)) - handle `raw: true` option to pass form submission values correctly ([#&#8203;733](https://github.com/react-hook-form/resolvers/issues/733)) ([7807f95](https://github.com/react-hook-form/resolvers/commit/7807f95d627919fa33b9f07656eaa64d2c980505)) - **validateFieldsNatively:** handle undefined object when reading 'refs' ([#&#8203;734](https://github.com/react-hook-form/resolvers/issues/734)) ([3da2054](https://github.com/react-hook-form/resolvers/commit/3da20544bfccca45913a1c1d5638b6142dadb3b5)) ##### Features - **ajv:** Keep original validation type while using `errorMessage` ([#&#8203;728](https://github.com/react-hook-form/resolvers/issues/728)) ([5030a59](https://github.com/react-hook-form/resolvers/commit/5030a59b4dee8f02d469d2ebeda46822e27b2d88)) - **effectResolver:** returns either all errors or only the first one based on criteriaMode ([#&#8203;737](https://github.com/react-hook-form/resolvers/issues/737)) ([12d7d8e](https://github.com/react-hook-form/resolvers/commit/12d7d8e76c99086cb1ed88c692cf89f12f68beeb)) - **standard-schema:** add standard-schema resolver ([#&#8203;738](https://github.com/react-hook-form/resolvers/issues/738)) ([b75a95a](https://github.com/react-hook-form/resolvers/commit/b75a95a170f1c69f49481a40cf7d81ce7bbe0917)) ##### BREAKING CHANGES - **ajv:** The AJV Resolver now unwraps the `errorMessage` object to return the original error types. This update may introduce breaking changes to your projects. </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4xLjIiLCJ1cGRhdGVkSW5WZXIiOiI0MC4xLjIiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOltdfQ==-->
renovate-bot added 1 commit 2025-05-09 11:06:33 +02:00
fix(deps): update dependency @hookform/resolvers to v5
Some checks failed
Check / Lint and Check (push) Has been cancelled
Check / Lint and Check (pull_request) Has been cancelled
06e40c4251
schulze force-pushed renovate/hookform-resolvers-5.x from 06e40c4251 to 9e8de52697 2025-05-09 11:54:09 +02:00 Compare
renovate-bot changed title from fix(deps): update dependency @hookform/resolvers to v5 to fix(deps): update dependency @hookform/resolvers to v5 - autoclosed 2025-05-09 12:00:22 +02:00
renovate-bot closed this pull request 2025-05-09 12:00:22 +02:00
All checks were successful
Check / Lint and Check (push) Successful in 39s
Check / Lint and Check (pull_request) Successful in 37s

Pull request closed

Sign in to join this conversation.
No description provided.