Skip to content

Update dependency @hookform/resolvers to v5 - #670

Open
renovate[bot] wants to merge 1 commit into
developfrom
renovate/hookform-resolvers-5.x
Open

Update dependency @hookform/resolvers to v5#670
renovate[bot] wants to merge 1 commit into
developfrom
renovate/hookform-resolvers-5.x

Conversation

@renovate

@renovate renovate Bot commented Apr 5, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@hookform/resolvers (source) ^4.0.0^5.0.0 age confidence

Release Notes

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

v5.7.1

Compare Source

v5.7.0

Compare Source

Features

v5.6.0

Compare Source

v5.5.8

Compare Source

Bug Fixes
  • Zod resolver drops validation errors for special root field names (#​869) (2f28787)

v5.5.7

Compare Source

v5.5.6

Compare Source

v5.5.5

Compare Source

Bug Fixes
  • yup resolver overrides ref property in errors object with validation metadata when using checkbox input (#​863) (0f70063)

v5.5.4

Compare Source

Bug Fixes
  • AJV Resolver - When ajv schema contains default for certain properties, getValues() returns the form data with properties overwritten (#​862) (c4b6aab)

v5.5.3

Compare Source

Bug Fixes
  • Conditional/dynamic schema resolution no longer working (#​861) (f8d6533)

v5.5.2

Compare Source

v5.5.1

Compare Source

Bug Fixes
  • [zod v4][zod resolver] error on nested discriminated unions (#​858) (4d01d01)

v5.5.0

Compare Source

Features

v5.4.3

Compare Source

Bug Fixes

v5.4.2

Compare Source

Bug Fixes

v5.4.1

Compare Source

Bug Fixes
  • declare validation libraries as optional peerDependencies (#​850) (d5e5134)

v5.4.0

Compare Source

Features
  • feat: add ata-validator resolver (#​845)
Fixes
  • fix issue with toNestErrors.ts (#​848)
  • add guidance on passing context to yupResolver (useForm context) (#​835) (3d29924)

v5.2.2

Compare Source

Bug Fixes

v5.2.1

Compare Source

Bug Fixes

v5.2.0

Compare Source

Features

v5.1.1

Compare Source

Bug Fixes

v5.1.0

Compare Source

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

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.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies label Apr 5, 2025
@codecov

codecov Bot commented Apr 5, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.67%. Comparing base (35d1a08) to head (9b9b8a4).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #670   +/-   ##
========================================
  Coverage    96.67%   96.67%           
========================================
  Files          108      108           
  Lines         5506     5506           
  Branches      1611     1611           
========================================
  Hits          5323     5323           
  Misses         174      174           
  Partials         9        9           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@louise-davies

Copy link
Copy Markdown
Member

Might have to change how we type the useForm hook as detailed: https://github.com/react-hook-form/resolvers/releases/tag/v5.0.0

@renovate renovate Bot changed the title Update dependency @hookform/resolvers to v5 fix(deps): update dependency @hookform/resolvers to v5 May 6, 2025
@renovate renovate Bot changed the title fix(deps): update dependency @hookform/resolvers to v5 Update dependency @hookform/resolvers to v5 May 14, 2025
@renovate
renovate Bot force-pushed the renovate/hookform-resolvers-5.x branch from cd9a277 to 8c7852d Compare June 17, 2025 15:18
@renovate
renovate Bot force-pushed the renovate/hookform-resolvers-5.x branch 2 times, most recently from eeb8d1a to a8e61db Compare August 1, 2025 15:30
@renovate
renovate Bot force-pushed the renovate/hookform-resolvers-5.x branch from a8e61db to 13a324d Compare August 10, 2025 12:48
@renovate
renovate Bot force-pushed the renovate/hookform-resolvers-5.x branch from 13a324d to 8239deb Compare August 19, 2025 13:13
@renovate
renovate Bot force-pushed the renovate/hookform-resolvers-5.x branch from 8239deb to 175589e Compare August 31, 2025 10:34
@renovate
renovate Bot force-pushed the renovate/hookform-resolvers-5.x branch 2 times, most recently from a52505b to 28e6edf Compare September 17, 2025 13:04
@renovate
renovate Bot force-pushed the renovate/hookform-resolvers-5.x branch from 28e6edf to 987c42c Compare October 1, 2025 08:41
@renovate
renovate Bot force-pushed the renovate/hookform-resolvers-5.x branch from 987c42c to 38b756d Compare October 21, 2025 09:15
@renovate
renovate Bot force-pushed the renovate/hookform-resolvers-5.x branch 2 times, most recently from 4d33827 to 7538714 Compare February 20, 2026 12:36
@renovate
renovate Bot force-pushed the renovate/hookform-resolvers-5.x branch 2 times, most recently from 070f51f to 080a65e Compare March 5, 2026 16:03
@renovate
renovate Bot force-pushed the renovate/hookform-resolvers-5.x branch from 080a65e to ee993db Compare March 13, 2026 10:37
@renovate
renovate Bot force-pushed the renovate/hookform-resolvers-5.x branch from ee993db to 6373a41 Compare April 1, 2026 19:38
@renovate
renovate Bot force-pushed the renovate/hookform-resolvers-5.x branch from 6373a41 to de7124e Compare April 8, 2026 19:55
@renovate
renovate Bot force-pushed the renovate/hookform-resolvers-5.x branch from de7124e to c903f12 Compare April 29, 2026 12:21
@renovate
renovate Bot force-pushed the renovate/hookform-resolvers-5.x branch from c903f12 to 4315952 Compare May 12, 2026 10:14
@renovate
renovate Bot force-pushed the renovate/hookform-resolvers-5.x branch 2 times, most recently from 1823e2f to 0edc312 Compare May 28, 2026 19:50
@renovate
renovate Bot force-pushed the renovate/hookform-resolvers-5.x branch from 0edc312 to 344c350 Compare June 1, 2026 17:17
@renovate
renovate Bot force-pushed the renovate/hookform-resolvers-5.x branch from 344c350 to 3f28990 Compare July 12, 2026 19:09
@renovate
renovate Bot force-pushed the renovate/hookform-resolvers-5.x branch 2 times, most recently from 93c10de to 6dfb3e6 Compare July 28, 2026 01:40
@renovate
renovate Bot force-pushed the renovate/hookform-resolvers-5.x branch 6 times, most recently from 8309350 to 56e82d4 Compare August 4, 2026 13:56
@renovate
renovate Bot force-pushed the renovate/hookform-resolvers-5.x branch from 56e82d4 to 09ac2e8 Compare August 5, 2026 06:16
@renovate
renovate Bot force-pushed the renovate/hookform-resolvers-5.x branch from 09ac2e8 to 9b9b8a4 Compare August 11, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant