Update dependency @hookform/resolvers to v3.9.0 #39

Merged
Fascinated merged 1 commits from renovate/hookform-resolvers-3.x-lockfile into master 2024-07-30 20:06:01 +00:00
Contributor

This PR contains the following updates:

Package Type Update Change
@hookform/resolvers (source) dependencies minor 3.3.4 -> 3.9.0

Release Notes

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

v3.9.0

Compare Source

Features
  • fluentvalidation-ts: add fluentvalidation-ts resolver (#​702) (5fc1e63)
import { useForm } from 'react-hook-form';
import { fluentValidationResolver } from '@​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: 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 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 | minor | [`3.3.4` -> `3.9.0`](https://renovatebot.com/diffs/npm/@hookform%2fresolvers/3.3.4/3.9.0) | --- ### Release Notes <details> <summary>react-hook-form/resolvers (@&#8203;hookform/resolvers)</summary> ### [`v3.9.0`](https://github.com/react-hook-form/resolvers/releases/tag/v3.9.0) [Compare Source](https://github.com/react-hook-form/resolvers/compare/v3.8.0...v3.9.0) ##### Features - **fluentvalidation-ts:** add fluentvalidation-ts resolver ([#&#8203;702](https://github.com/react-hook-form/resolvers/issues/702)) ([5fc1e63](https://github.com/react-hook-form/resolvers/commit/5fc1e63c24a516dd83c6eb4833f55bba4c81d2a4)) ```tsx 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`](https://github.com/react-hook-form/resolvers/releases/tag/v3.8.0) [Compare Source](https://github.com/react-hook-form/resolvers/compare/v3.7.0...v3.8.0) ##### Features - add typeschema resolver ([#&#8203;699](https://github.com/react-hook-form/resolvers/issues/699)) ([18e423f](https://github.com/react-hook-form/resolvers/commit/18e423f670de6eddc3ca550e7505f6a24b469aad)), closes [#&#8203;693](https://github.com/react-hook-form/resolvers/issues/693) - **typeboxResolver:** make TypeBox resolver work with compiled schema ([#&#8203;674](https://github.com/react-hook-form/resolvers/issues/674)) ([e8e0f80](https://github.com/react-hook-form/resolvers/commit/e8e0f8000e5f62d76b2926f1584ed12a12d3c980)) ### [`v3.7.0`](https://github.com/react-hook-form/resolvers/releases/tag/v3.7.0) [Compare Source](https://github.com/react-hook-form/resolvers/compare/v3.6.0...v3.7.0) ##### Bug Fixes - **zodResolver:** cannot read properties of undefined (reading 'length') ([a3e50c6](https://github.com/react-hook-form/resolvers/commit/a3e50c6897250a1875eb1fcc54e4d0d06e06e170)) - chore: update valibot dependency to version >=0.33.0 ([#&#8203;695](https://github.com/react-hook-form/resolvers/issues/695)) ##### Features - add VineJS resolver ([#&#8203;677](https://github.com/react-hook-form/resolvers/issues/677)) ([c0d528b](https://github.com/react-hook-form/resolvers/commit/c0d528b0d4c41266bb767d1a594f30f0840e8423)) ```tsx 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`](https://github.com/react-hook-form/resolvers/releases/tag/v3.6.0) [Compare Source](https://github.com/react-hook-form/resolvers/compare/v3.5.0...v3.6.0) ##### Features - upgrade and migrate Valibot to v0.31.0 ([#&#8203;688](https://github.com/react-hook-form/resolvers/issues/688)) ([bdd5ef5](https://github.com/react-hook-form/resolvers/commit/bdd5ef59fe68d05ed76339a30b3981db8a7c7ed9)) ### [`v3.5.0`](https://github.com/react-hook-form/resolvers/releases/tag/v3.5.0) [Compare Source](https://github.com/react-hook-form/resolvers/compare/v3.4.2...v3.5.0) ##### Features - migrate arktype resolver to v2 ([#&#8203;686](https://github.com/react-hook-form/resolvers/issues/686)) ([c53864f](https://github.com/react-hook-form/resolvers/commit/c53864fdf87b0b88cac4018f74f365f8f4013bf9)) ### [`v3.4.2`](https://github.com/react-hook-form/resolvers/releases/tag/v3.4.2) [Compare Source](https://github.com/react-hook-form/resolvers/compare/v3.4.1...v3.4.2) ##### Bug Fixes - move back to in-build set and remove lodash.set ([#&#8203;685](https://github.com/react-hook-form/resolvers/issues/685)) ([5754c47](https://github.com/react-hook-form/resolvers/commit/5754c4748390dca8f7e51e9141793446f5bb50df)) ### [`v3.4.1`](https://github.com/react-hook-form/resolvers/releases/tag/v3.4.1) [Compare Source](https://github.com/react-hook-form/resolvers/compare/v3.4.0...v3.4.1) ##### Bug Fixes - migrate set to lodash.set package ([#&#8203;684](https://github.com/react-hook-form/resolvers/issues/684)) ([bdc1f1f](https://github.com/react-hook-form/resolvers/commit/bdc1f1f1aeb7e8dea4badd5112308049ccf41c9c)) ### [`v3.4.0`](https://github.com/react-hook-form/resolvers/releases/tag/v3.4.0) [Compare Source](https://github.com/react-hook-form/resolvers/compare/v3.3.4...v3.4.0) ##### Features - effect-ts resolver ([#&#8203;676](https://github.com/react-hook-form/resolvers/issues/676)) ([9ba2f89](https://github.com/react-hook-form/resolvers/commit/9ba2f899c12731233de79f7b6f33dad0daa4f33a)) </details> --- ### Configuration 📅 **Schedule**: 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. --- - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQyNC4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
renovate-bot changed title from Update dependency @hookform/resolvers to v3.4.0 to Update dependency @hookform/resolvers to v3.4.2 2024-05-20 23:01:32 +00:00
renovate-bot changed title from Update dependency @hookform/resolvers to v3.4.2 to Update dependency @hookform/resolvers to v3.5.0 2024-06-05 00:01:56 +00:00
renovate-bot changed title from Update dependency @hookform/resolvers to v3.5.0 to Update dependency @hookform/resolvers to v3.6.0 2024-06-06 01:01:28 +00:00
renovate-bot changed title from Update dependency @hookform/resolvers to v3.6.0 to Update dependency @hookform/resolvers to v3.7.0 2024-07-02 17:00:50 +00:00
renovate-bot changed title from Update dependency @hookform/resolvers to v3.7.0 to Update dependency @hookform/resolvers to v3.8.0 2024-07-05 10:00:50 +00:00
renovate-bot changed title from Update dependency @hookform/resolvers to v3.8.0 to Update dependency @hookform/resolvers to v3.9.0 2024-07-06 00:01:31 +00:00
renovate-bot force-pushed renovate/hookform-resolvers-3.x-lockfile from 944b0ca745 to d407ae2db1 2024-07-08 09:31:03 +00:00 Compare
renovate-bot force-pushed renovate/hookform-resolvers-3.x-lockfile from d407ae2db1 to 8062ca00d7 2024-07-08 10:02:07 +00:00 Compare
renovate-bot force-pushed renovate/hookform-resolvers-3.x-lockfile from 8062ca00d7 to 65a154a5dc 2024-07-09 14:01:44 +00:00 Compare
Fascinated merged commit 78987e0c55 into master 2024-07-30 20:06:01 +00:00
Fascinated deleted branch renovate/hookform-resolvers-3.x-lockfile 2024-07-30 20:06:01 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: MinecraftUtilities/Frontend#39
No description provided.