Skip to content
This repository was archived by the owner on Feb 9, 2024. It is now read-only.

Update dependency @hookform/resolvers to v3#208

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

Update dependency @hookform/resolvers to v3#208
renovate[bot] wants to merge 1 commit intomainfrom
renovate/hookform-resolvers-3.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 23, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@hookform/resolvers (source) 2.9.10 -> 3.3.4 age adoption passing confidence

Release Notes

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

v3.3.4

Compare Source

Bug Fixes
  • error handling for array errors with root error (1bfc6ab)

v3.3.3

Compare Source

Bug Fixes

v3.3.2

Compare Source

Bug Fixes

v3.3.1

Compare Source

Bug Fixes

v3.3.0

Compare Source

Bug Fixes
Features
  • add support for root errors for field array (#​621) (5f1a622)
  • pass field names and a context as arguments to a Vest suite (#​584) (3519701)
  • valibot: add more tests, support of criteriaMode and reduce size (#​620) (a9d319d)

v3.2.0

Compare Source

Features

v3.1.1

Compare Source

BREAKING CHANGES

Bug Fixes

You don't need to explicitly provide the type when using the useForm function because it automatically infers the types from the Yup schema.

Before

const schema = Yup.shape({ name: string });

const { register } = useForm<{name: string}>({ resolver: yupResolver(schema) });

After

const schema = Yup.shape({ name: string });

const { register } = useForm({ resolver: yupResolver(schema) });

v3.1.0

Compare Source

Features

v3.0.1

Compare Source

Bug Fixes

v3.0.0

Compare Source

BREAKING CHANGES
  • Yup resolver require Yup v1
  • rename rawValues option to raw
  • classValidationResolver: schema options now includes validator and transformer options
  • Please note that ajv and ajv-errors need to be installed separately, as they are not bundled with resolvers

Before:

schemaOptions?: ValidatorOptions,

After:

schemaOptions?: {
    validator?: ValidatorOptions;
    transformer?: ClassTransformOptions;
  }
Bug Fixes
Features
import { useForm } from 'react-hook-form';
import { typeboxResolver } from '@&#8203;hookform/resolvers/typebox';
import { Type } from '@&#8203;sinclair/typebox';

const schema = Type.Object({
  username: Type.String({ minLength: 1 }),
  password: Type.String({ minLength: 1 }),
});

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

  return (
    <form onSubmit={handleSubmit((d) => console.log(d))}>
      <input {...register('username')} />
      <input type="password" {...register('password')} />
      <input type="submit" />
    </form>
  );
};
Performance Improvements

v2.9.11

Compare Source

Bug Fixes

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 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 has been generated by Mend Renovate. View repository job log here.

@vercel
Copy link

vercel bot commented Mar 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
website ❌ Failed (Inspect) Jan 7, 2024 11:10am

@renovate renovate bot added the renovate label Mar 23, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Mar 23, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: echo-karriere@3.0.0
npm ERR! Found: tailwindcss@2.2.19
npm ERR! node_modules/tailwindcss
npm ERR!   dev tailwindcss@"2.2.19" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer tailwindcss@">=3.0.0 || >= 3.0.0-alpha.1" from @tailwindcss/forms@0.5.4
npm ERR! node_modules/@tailwindcss/forms
npm ERR!   dev @tailwindcss/forms@"0.5.4" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate/cache/others/npm/_logs/2024-01-07T11_09_51_823Z-debug-0.log

@renovate renovate bot force-pushed the renovate/hookform-resolvers-3.x branch from 11c3ba8 to 3e98f89 Compare April 8, 2023 08:17
@renovate renovate bot force-pushed the renovate/hookform-resolvers-3.x branch from 3e98f89 to a6eba53 Compare April 18, 2023 20:25
@renovate renovate bot force-pushed the renovate/hookform-resolvers-3.x branch from a6eba53 to 2adb9ad Compare June 15, 2023 17:12
@renovate renovate bot force-pushed the renovate/hookform-resolvers-3.x branch from 2adb9ad to 98860b6 Compare July 16, 2023 21:44
@renovate renovate bot force-pushed the renovate/hookform-resolvers-3.x branch from 98860b6 to 92dd34e Compare August 9, 2023 10:34
@renovate renovate bot force-pushed the renovate/hookform-resolvers-3.x branch from 92dd34e to 41ee776 Compare August 25, 2023 17:27
@renovate renovate bot force-pushed the renovate/hookform-resolvers-3.x branch from 41ee776 to 0026bf0 Compare August 31, 2023 22:50
@renovate renovate bot force-pushed the renovate/hookform-resolvers-3.x branch from 0026bf0 to 4cfa202 Compare October 14, 2023 21:59
@renovate renovate bot force-pushed the renovate/hookform-resolvers-3.x branch from 4cfa202 to 0f385c6 Compare December 29, 2023 12:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants