Skip to content

Update dependency @hookform/resolvers to v5#634

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

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

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Apr 23, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@hookform/resolvers (source) ^3.3.4^5.0.0 age adoption passing confidence

Release Notes

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

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.

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.

v3.10.0

Compare Source

Features

v3.9.1

Compare Source

Bug Fixes

v3.9.0

Compare Source

Features
  • fluentvalidation-ts: add fluentvalidation-ts resolver (#​702) (5fc1e63)
import { useForm } from 'react-hook-form';
import { fluentValidationResolver } from '@&#8203;hookform/resolvers/fluentvalidation-ts';
import { Validator } from 'fluentvalidation-ts';

class FormDataValidator extends Validator<FormData> {
  constructor() {
    super();

    this.ruleFor('username')
      .notEmpty()
      .withMessage('username is a required field');
    this.ruleFor('password')
      .notEmpty()
      .withMessage('password is a required field');
  }
}

const App = () => {
  const { register, handleSubmit } = useForm({
    resolver: fluentValidationResolver(new FormDataValidator()),
  });

  return (
    <form onSubmit={handleSubmit((d) => console.log(d))}>
      <input {...register('username')} />
      {errors.username && <span role="alert">{errors.username.message}</span>}
      <input {...register('password')} />
      {errors.password && <span role="alert">{errors.password.message}</span>}
      <button type="submit">submit</button>
    </form>
  );
};

v3.8.0

Compare Source

Features

v3.7.0

Compare Source

Bug Fixes
  • zodResolver: cannot read properties of undefined (reading 'length') (a3e50c6)
  • chore: update valibot dependency to version >=0.33.0 (#​695)
Features
import { useForm } from 'react-hook-form';
import { vineResolver } from '@&#8203;hookform/resolvers/vine';
import vine from '@&#8203;vinejs/vine';

const schema = vine.compile(
  vine.object({
    username: vine.string().minLength(1),
    password: vine.string().minLength(1),
  }),
);

const App = () => {
  const { register, handleSubmit } = useForm({
    resolver: vineResolver(schema),
  });

  return (
    <form onSubmit={handleSubmit((d) => console.log(d))}>
      <input {...register('username')} />
      {errors.username && <span role="alert">{errors.username.message}</span>}
      <input {...register('password')} />
      {errors.password && <span role="alert">{errors.password.message}</span>}
      <button type="submit">submit</button>
    </form>
  );
};

v3.6.0

Compare Source

Features

v3.5.0

Compare Source

Features

v3.4.2

Compare Source

Bug Fixes

v3.4.1

Compare Source

Bug Fixes

v3.4.0

Compare Source

Features

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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.

@github-actions
Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 3.59% 511 / 14206
🔵 Statements 3.59% 511 / 14206
🔵 Functions 38.87% 131 / 337
🔵 Branches 59.81% 189 / 316
File CoverageNo changed files found.
Generated in workflow #1105 for commit b39c079 by the Vitest Coverage Report Action

@renovate renovate bot force-pushed the renovate/hookform-resolvers-5.x branch 2 times, most recently from 9e48e1b to 7fca2f5 Compare July 29, 2025 17:36
@renovate renovate bot force-pushed the renovate/hookform-resolvers-5.x branch from 7fca2f5 to fb59f01 Compare August 10, 2025 13:52
@renovate renovate bot force-pushed the renovate/hookform-resolvers-5.x branch from fb59f01 to 5a5075d Compare September 14, 2025 10:40
@renovate renovate bot force-pushed the renovate/hookform-resolvers-5.x branch from 5a5075d to a234b3e Compare September 25, 2025 21:01
@renovate renovate bot force-pushed the renovate/hookform-resolvers-5.x branch from a234b3e to 88c23fd Compare October 21, 2025 22:02
@renovate renovate bot force-pushed the renovate/hookform-resolvers-5.x branch from 88c23fd to 3f29dc0 Compare November 10, 2025 17:50
@renovate renovate bot force-pushed the renovate/hookform-resolvers-5.x branch from 3f29dc0 to 175f254 Compare November 18, 2025 13:08
@renovate renovate bot force-pushed the renovate/hookform-resolvers-5.x branch from 175f254 to afe240b Compare December 3, 2025 19:55
@renovate renovate bot force-pushed the renovate/hookform-resolvers-5.x branch from afe240b to a0d2b58 Compare December 31, 2025 15:43
@renovate renovate bot force-pushed the renovate/hookform-resolvers-5.x branch from a0d2b58 to d676c5b Compare January 8, 2026 19:54
@renovate renovate bot force-pushed the renovate/hookform-resolvers-5.x branch from d676c5b to 2f64af2 Compare January 19, 2026 14:43
@renovate renovate bot force-pushed the renovate/hookform-resolvers-5.x branch from 2f64af2 to 23a0ed6 Compare March 5, 2026 18:06
@renovate renovate bot force-pushed the renovate/hookform-resolvers-5.x branch from 23a0ed6 to 4d178c2 Compare April 1, 2026 16:52
@renovate renovate bot changed the title chore(deps): update dependency @hookform/resolvers to v5 Update dependency @hookform/resolvers to v5 Apr 8, 2026
@renovate renovate bot force-pushed the renovate/hookform-resolvers-5.x branch from 4d178c2 to 5cbd07c Compare April 8, 2026 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants