Skip to content

support joi v18 as a peer dependency - #873

Merged
bluebill1049 merged 1 commit into
react-hook-form:masterfrom
sulaysumaria:fix-joi-peer-dependency
Aug 15, 2026
Merged

support joi v18 as a peer dependency#873
bluebill1049 merged 1 commit into
react-hook-form:masterfrom
sulaysumaria:fix-joi-peer-dependency

Conversation

@sulaysumaria

Copy link
Copy Markdown
Contributor
  • Widens the joi peer dependency range to ^17.0.0 || ^18.0.0 so projects using joi 18 aren't blocked by the resolver's peer dependency constraint.
  • Bumps the joi devDependency to ^18.2.3 so the test suite actually runs and is verified against joi 18, not just joi 17.
  • This is purely a dependency range fix. All existing joi resolver tests pass unmodified against joi 18.
  • joi 17 support is kept in the peer range (rather than being replaced) to avoid a breaking change for existing consumers who haven't upgraded yet.

@sulaysumaria

Copy link
Copy Markdown
Contributor Author

@bluebill1049 , Can you check this?

@bluebill1049
bluebill1049 merged commit c8159ae into react-hook-form:master Aug 15, 2026
3 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

馃帀 This PR is included in version 5.9.0 馃帀

The release is available on:

Your semantic-release bot 馃摝馃殌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants