Skip to content

Conversation

fer-rouco
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade react-hook-form from 7.16.2 to 7.53.1.

ℹ️ 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 149 versions ahead of your current version.

  • The recommended version was released on 23 days ago.

Release notes
Package name: react-hook-form
  • 7.53.1 - 2024-10-19

    🐞 fix: #12294 ensure Invalid Date is evaluated correctly (#12295)
    🐞 fix #12316 setValue should work for arrays of primitives to handle checkboxes (#12316) (#12317)
    🐞 fix #12097 Use dirty fields along with mount names for form reset with keepDirtyValues (#12211)
    🫀 fix #12237 disabled state trigger formState dirty/dirtyFields to update (#12239)
    🐞 fix #12291 field array remove cause undefined with FormData (#12305)
    📝 improve flatten function with object type check (#12306)
    🖐️ improve: resolve type of set function (#12145)
    🔧 chore: upgrade eslint to v9 (#12150)
    📖 fix: code example input field placeholder name (#12296)
    📖 docs: fix typo in code example (#12271)

    thanks to @ rasikhq @ abnud11 @ crypt0box @ developer-bandi @ matmannion @ hasancruk & @ vismay7

  • 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
  • 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
  • 7.46.0 - 2023-09-03
  • 7.46.0-next.0 - 2023-08-13
  • 7.45.4 - 2023-08-05
  • 7.45.3 - 2023-08-04
  • 7.45.2 - 2023-07-17
  • 7.45.1 - 2023-06-28
  • 7.45.0 - 2023-06-19
  • 7.45.0-next.1 - 2023-06-18
  • 7.45.0-next.0 - 2023-06-11
  • 7.44.3 - 2023-06-01
  • 7.44.3-beta.1 - 2023-05-31
  • 7.44.3-beta.0 - 2023-05-31
  • 7.44.2 - 2023-05-28
  • 7.44.1 - 2023-05-27
  • 7.44.0 - 2023-05-27
  • 7.44.0-rc.5 - 2023-05-20
  • 7.44.0-rc.4 - 2023-05-20
  • 7.44.0-rc.3 - 2023-05-07
  • 7.44.0-rc.1 - 2023-04-15
  • 7.44.0-rc.0 - 2023-03-10
  • 7.44.0-next.1 - 2023-02-16
  • 7.44.0-next.0 - 2023-02-09
  • 7.43.9 - 2023-03-30
  • 7.43.8 - 2023-03-24
  • 7.43.7 - 2023-03-18
  • 7.43.6 - 2023-03-17
  • 7.43.5 - 2023-03-06
  • 7.43.4 - 2023-03-03
  • 7.43.3 - 2023-03-01
  • 7.43.2 - 2023-02-22
  • 7.43.1 - 2023-02-07
  • 7.43.0 - 2023-01-30
  • 7.43.0-next.0 - 2023-01-18
  • 7.42.1 - 2023-01-15
  • 7.42.0 - 2023-01-13
  • 7.42.0-next.0 - 2023-01-01
  • 7.41.8-beta.0 - 2023-01-04
  • 7.41.5 - 2023-01-04
  • 7.41.4 - 2023-01-03
  • 7.41.3 - 2022-12-30
  • 7.41.2 - 2022-12-28
  • 7.41.1 - 2022-12-23
  • 7.41.0 - 2022-12-16
  • 7.40.0 - 2022-11-29
  • 7.40.0-next.1 - 2022-11-23
  • 7.40.0-next.0 - 2022-11-17
  • 7.39.7 - 2022-11-28
  • 7.39.6 - 2022-11-27
  • 7.39.5 - 2022-11-21
  • 7.39.4 - 2022-11-14
  • 7.39.3 - 2022-11-10
  • 7.39.2 - 2022-11-09
  • 7.39.1 - 2022-11-02
  • 7.39.0 - 2022-11-01
  • 7.38.0 - 2022-10-18
  • 7.37.0 - 2022-10-06
  • 7.37.0-next.0 - 2022-09-29
  • 7.36.1 - 2022-09-23
  • 7.36.0 - 2022-09-20
  • 7.35.0 - 2022-09-09
  • 7.35.0-next.0 - 2022-08-25
  • 7.34.2 - 2022-08-15
  • 7.34.1 - 2022-08-12
  • 7.34.0 - 2022-07-28
  • 7.34.0-next.0 - 2022-07-10
  • 7.33.1 - 2022-07-01
  • 7.33.0 - 2022-06-24
  • 7.32.2 - 2022-06-17
  • 7.32.1 - 2022-06-14
  • 7.32.0 - 2022-06-10
  • 7.31.3 - 2022-05-27
  • 7.31.2 - 2022-05-20
  • 7.31.1 - 2022-05-10
  • 7.31.0 - 2022-05-10
  • 7.30.0 - 2022-04-17
  • 7.29.0 - 2022-03-30
  • 7.28.1 - 2022-03-20
  • 7.28.0 - 2022-03-13
  • 7.28.0-next.0 - 2022-02-26
  • 7.27.1 - 2022-02-19
  • 7.27.0 - 2022-02-11
  • 7.26.1 - 2022-02-07
  • 7.26.0 - 2022-02-04
  • 7.25.3 - 2022-01-29
  • 7.25.2 - 2022-01-28
  • 7.25.1 - 2022-01-25
  • 7.25.0 - 2022-01-21
  • 7.24.2 - 2022-01-20
  • 7.24.1 - 2022-01-18
  • 7.24.0 - 2022-01-14
  • 7.23.0 - 2022-01-12
  • 7.23.0-next.1 - 2022-01-07
  • 7.23.0-next.0 - 2021-12-30
  • 7.22.5 - 2021-12-24
  • 7.22.4 - 2021-12-23
  • 7.22.3 - 2021-12-21
  • 7.22.2 - 2021-12-18
  • 7.22.1 - 2021-12-15
  • 7.22.0 - 2021-12-13
  • 7.21.3-beta.0 - 2021-12-11
  • 7.21.2 - 2021-12-10
  • 7.21.1 - 2021-12-10
  • 7.21.1-0 - 2021-12-09
  • 7.21.0 - 2021-12-06
  • 7.20.5 - 2021-11-30
  • 7.20.4 - 2021-11-26
  • 7.20.3 - 2021-11-26
  • 7.20.2 - 2021-11-20
  • 7.20.1 - 2021-11-19
  • 7.20.0 - 2021-11-19
  • 7.19.5 - 2021-11-12
  • 7.19.4 - 2021-11-11
  • 7.19.3 - 2021-11-10
  • 7.19.2 - 2021-11-10
  • 7.19.1 - 2021-11-07
  • 7.19.0 - 2021-11-05
  • 7.19.0-next.0 - 2021-10-30
  • 7.18.1 - 2021-11-01
  • 7.18.0 - 2021-10-27
  • 7.18.0-next.0 - 2021-10-09
  • 7.17.5 - 2021-10-20
  • 7.17.4 - 2021-10-14
  • 7.17.3 - 2021-10-13
  • 7.17.2 - 2021-10-08
  • 7.17.1 - 2021-10-05
  • 7.17.0 - 2021-10-02
  • 7.16.2 - 2021-09-30
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.
  • Snyk has automatically assigned this pull request, set who gets assigned.

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.16.2 to 7.53.1.

See this package in npm:
react-hook-form

See this project in Snyk:
https://app.snyk.io/org/fernet87/project/0a548a0b-ec7a-4b02-bdae-32ab4425904c?utm_source=github&utm_medium=referral&page=upgrade-pr
@fer-rouco fer-rouco self-assigned this Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment