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

[Snyk] Upgrade react-hook-form from 7.46.1 to 7.53.0 #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

varensev
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade react-hook-form from 7.46.1 to 7.53.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 21 versions ahead of your current version.

  • The recommended version was released on a month ago.

Release notes
Package name: react-hook-form
  • 7.53.0 - 2024-08-24

    🌫️ feat: #12148 support isValid when mode is set to onBlur (#12194)

    // update formstate isValid with onBlur event
    const { formState: { isValid } } = useForm({
      mode: 'onBlur'
    })

    🐞 fix #12021 issue with disable prop not reflecting on re-render without trigger by useEffect (#12193)
    👩‍🌾 close #12168 optimise re-render with validating fields subscription (#12192)
    🐞 fix #12127 issue with compare object value changed with object input (#12185)
    🎲 improve : break out of recursive loops on first focus (#11827)
    📖 fix example of ObjectKeys type (#11965)

    thanks to @ suke & @ DPflasterer

  • 7.52.2 - 2024-08-03

    👍 close #12108 useController should subscribe to exact field name of form's state (#12109)
    👍 chore: upgrade app deps
    🩻 fix: add useCallback for ref callback (#12078)
    🚀 fix: skip call executeBuiltInValidation if no sub-fields left (#12054)

    thanks to @ newsiberian, @ Wendystraite and @ abnud11

  • 7.52.1 - 2024-07-02

    🐞 fix #12024 dirty not update issue with values prop (#12041)
    🐞 fix: field array validate rules shift errors (#12033)

    thanks to @ JardelCheung

  • 7.52.0 - 2024-06-15

    ⚛️ close #11932 enable react 19 peer dependency (#11935)
    👮‍♀️ close #11954 getFieldState remove unnessaried inValidating and touched subscription (#11995)
    🐞 fix #11985 logic createFormControl check field before usage (#11986)
    ⌨️ fix: enforce type safety for deps property in RegisterOptions (#11969)
    🐞 fix #11922 keep dirty on reset with dirty fields (#11958)
    🚔 close #11937 add validation in the cleanup process in useController (#11938)
    Revert "⌨️ close: correct type of error field in getFieldState return object (#11831)"
    📖 fix: change info.values type in WatchObserver (#11917)

    thanks to @ nakaakist, @ IdoBouskila, @ pincy and @ peinguin

  • 7.51.5 - 2024-05-21

    📖 fix broken link to examples in README.md (#11805)
    ⌨️ close: correct type of error field in getFieldState return object (#11831)
    🐞 fix #11842 radio buttons not disabled when multiple share a name (#11873)
    🐞 fix #11821 set value with disabled false before mount (#11880)
    🐞 fix setError to preserve existing errors elsewhere in the object (#11888)
    ⌨️ fix: add info.value type to WatchObserver (#11872)
    🫡 fix issue with internal set api (#11915)

    thanks to @ mjr2595 @ erashu212 @ SimonJTurner and @ peinguin

  • 7.51.4 - 2024-05-04

    👹 close #11778 improve unregister omit key with getValues method (#11779)
    🐞 fix #11794 issue: Fields dirty state is not updated when passing values to useForm

  • 7.51.3 - 2024-04-11

    🐞 fix #11773 regression on dirty check with reset (#11775)

  • 7.51.2 - 2024-03-26

    🐞 fix #11719 validation stuck on true state (#11723)

  • 7.51.1 - 2024-03-17

    🐛 bug(validatingFields, trigger): handle all fields validation trigger (#11624)
    💚 ci: cleanup actions versions (#11629)
    🐞 fix #11590 issue with trigger on validatingFields (#11613)

    thanks to @ Moshyfawn

  • 7.51.0 - 2024-03-01

    💬 add isValidating and validatingFields to field state (#10657)

    const { formState: { validatingFields } } = useForm({ mode: 'onBlur' });

    ⌨️ chore: replace ts-ignore with ts-expect-error (#11573)
    🧗‍♂️ chore: update lib dev deps (#11548)
    💅 related #11541 improve dirty check when undefined provided with reset api
    😾 fix #11514 issue under strict mode reset invoke twice reset mounted field names with keepDirtyValues (#11546)
    🤡 fix flush root render hack (#11521)
    🧽 chore: removed unused utils and resp. test cases (#11476)
    🐞 close #11503 issue dirty field update with async validation (#11509)

    Revert "🔧 fix data param in handleSubmit when TTransformedValues is a union type (#11420)"
    Revert "✨ feat(values): priorities values over defaultvalues (#11399)" (#11545)

    ❤️ Thanks to @ deepgolani4, @ pbankonier and @ deepgolani4
    ❤️ Thank you principal.com for your contribution

  • 7.50.1 - 2024-02-06
  • 7.50.0 - 2024-02-01
  • 7.49.3 - 2024-01-08
  • 7.49.2 - 2023-12-13
  • 7.49.1 - 2023-12-12
  • 7.49.0 - 2023-12-09
  • 7.48.2 - 2023-11-05
  • 7.48.1 - 2023-11-04
  • 7.48.0 - 2023-11-04
  • 7.47.0 - 2023-10-02
  • 7.46.2 - 2023-09-21
  • 7.46.1 - 2023-09-04
from react-hook-form GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade react-hook-form from 7.46.1 to 7.53.0.

See this package in npm:
react-hook-form

See this project in Snyk:
https://app.snyk.io/org/mevarensev/project/e7e33483-4ccb-442f-86f6-b292a48da20d?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

vercel bot commented Sep 24, 2024

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

Name Status Preview Comments Updated (UTC)
search-youtube-video-itc6 ❌ Failed (Inspect) Sep 24, 2024 10:35am

Copy link

netlify bot commented Sep 24, 2024

Deploy Preview for whimsical-conkies-5f98d9 failed.

Name Link
🔨 Latest commit 0b64098
🔍 Latest deploy log https://app.netlify.com/sites/whimsical-conkies-5f98d9/deploys/66f295de4765a30008b7f282

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