Skip to content

[Snyk] Upgrade react-hook-form from 7.52.0 to 7.53.1#81

Open
decause-gov wants to merge 1 commit intomainfrom
snyk-upgrade-b70c9c6785537457a6dc95ed16e27f1a
Open

[Snyk] Upgrade react-hook-form from 7.52.0 to 7.53.1#81
decause-gov wants to merge 1 commit intomainfrom
snyk-upgrade-b70c9c6785537457a6dc95ed16e27f1a

Conversation

@decause-gov
Copy link
Copy Markdown

snyk-top-banner

Snyk has created this PR to upgrade react-hook-form from 7.52.0 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 4 versions ahead of your current version.

  • The recommended version was released on a month 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

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

See this package in npm:
react-hook-form

See this project in Snyk:
https://app.snyk.io/org/ospo/project/93a1d779-c7d6-4aaa-ade6-f19ad4b51a76?utm_source=github&utm_medium=referral&page=upgrade-pr
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.

2 participants