Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency react-hook-form to v7.43.0 #128

Merged
merged 1 commit into from
Feb 1, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 13, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-hook-form (source) 7.41.5 -> 7.43.0 age adoption passing confidence

Release Notes

react-hook-form/react-hook-form

v7.43.0: Version 7.43.0

Compare Source

🌏 feature: support global error type #​9746

const onSubmit = async () => {
  const response = await fetch(...)
  if (response.statusCode > 200) {
      setError('root.serverError', { 
        type: response.statusCode,
      })
  }
}

const onClick = () => {
  setError('root.random', { 
    type: 'random', 
  })
}

return (
  <>
    {errors.root.serverError.type === 400 && <p>server response message</p>}
    <p>{errors.root?.serverError?.message}</p>
    <p>{errors.root?.random?.message}</p>
  </>
)

🪜 fix set values for controlled components (#​9780)

const { control } = useForm({ values: { test: '' } })
<Controller name="test" /> // no longer throw react warning for uncontrolled become controlled.

🚓 stronger typing to document non-spec attribute uses (#​9809)

register('number', {
  valueAsNumber: true,
  pattern: /[1-4]/g // ❌ type error
})

🏋🏻‍♀️ reduce package size (#​9778)
🧧 reduce unknown and any (#​9816)

thanks to @​rekliner

v7.42.1: Version 7.42.1

Compare Source

🐞 fix #​9773 useFormState missing state update (#​9777)
🐞 fix #​9765 fix issue with strictMode with isValid state (#​9771)

v7.42.0

Compare Source


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

@vercel
Copy link

vercel bot commented Jan 13, 2023

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

Name Status Preview Comments Updated
pravastacaraka ❌ Failed (Inspect) Jan 30, 2023 at 8:08AM (UTC)

@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 0846b48 to 5e4d036 Compare January 15, 2023 03:29
@renovate renovate bot changed the title fix(deps): update dependency react-hook-form to v7.42.0 fix(deps): update dependency react-hook-form to v7.42.1 Jan 15, 2023
@renovate renovate bot changed the title fix(deps): update dependency react-hook-form to v7.42.1 fix(deps): update dependency react-hook-form to v7.42.1 - autoclosed Jan 29, 2023
@renovate renovate bot closed this Jan 29, 2023
@renovate renovate bot deleted the renovate/react-hook-form-7.x branch January 29, 2023 17:44
@renovate renovate bot changed the title fix(deps): update dependency react-hook-form to v7.42.1 - autoclosed fix(deps): update dependency react-hook-form to v7.42.1 Jan 29, 2023
@renovate renovate bot reopened this Jan 29, 2023
@renovate renovate bot restored the renovate/react-hook-form-7.x branch January 29, 2023 20:27
@renovate renovate bot changed the title fix(deps): update dependency react-hook-form to v7.42.1 fix(deps): update dependency react-hook-form to v7.43.0 Jan 30, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 5e4d036 to dd1a1fb Compare January 30, 2023 08:07
@pravastacaraka pravastacaraka merged commit e86d96c into master Feb 1, 2023
@pravastacaraka pravastacaraka deleted the renovate/react-hook-form-7.x branch February 1, 2023 09:04
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.

1 participant