Skip to content

fix(deps): Update dependency @hookform/resolvers to v5.2.0#438

Merged
sergiojoker11 merged 3 commits intomainfrom
renovate/hookform-resolvers-5.x-lockfile
Jul 31, 2025
Merged

fix(deps): Update dependency @hookform/resolvers to v5.2.0#438
sergiojoker11 merged 3 commits intomainfrom
renovate/hookform-resolvers-5.x-lockfile

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate bot commented Jul 25, 2025

This PR contains the following updates:

Package Change Age Confidence
@hookform/resolvers (source) 5.0.1 -> 5.2.0 age confidence

Release Notes

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

v5.2.0

Compare Source

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)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 @hookform dependencies Pull requests that update a dependency file node npm labels Jul 25, 2025
@renovate renovate bot enabled auto-merge (squash) July 25, 2025 14:56
@renovate renovate bot force-pushed the renovate/hookform-resolvers-5.x-lockfile branch 6 times, most recently from 6364fee to 35f39da Compare July 28, 2025 02:09
@renovate renovate bot force-pushed the renovate/hookform-resolvers-5.x-lockfile branch from 35f39da to 8f20678 Compare July 29, 2025 09:39
@sergiojoker11 sergiojoker11 disabled auto-merge July 29, 2025 10:31
@sergiojoker11
Copy link
Copy Markdown
Member

they broke backawards compatibility react-hook-form/resolvers#777 (comment)

};
}

type SchemaBuilder<TFormInput, TFormOutput> = (t: NotifycalTFunction) => Zod3Type<TFormOutput, TFormInput>;
Copy link
Copy Markdown
Member

@sergiojoker11 sergiojoker11 Jul 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens is zod ZopType isn't compatible with the first parameter of function zodResolver from @hookform/resolvers/zod - which is supposed to be equivalent. Sadly, that Zod3Type isn't exported. I tried the Parameter[0] trick but it ends up ugly as fuck.

They fucked up while adding support for zod 4

@renovate
Copy link
Copy Markdown
Author

renovate bot commented Jul 29, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@sergiojoker11 sergiojoker11 enabled auto-merge (squash) July 31, 2025 11:52
@sergiojoker11 sergiojoker11 merged commit 5f7fabe into main Jul 31, 2025
4 checks passed
@sergiojoker11 sergiojoker11 deleted the renovate/hookform-resolvers-5.x-lockfile branch July 31, 2025 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file @hookform node npm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants