Skip to content
This repository has been archived by the owner on Feb 10, 2025. It is now read-only.

[Snyk] Upgrade react-hook-form from 7.43.9 to 7.51.3 #25

Closed

Conversation

dmitrymarokhonov
Copy link

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade react-hook-form from 7.43.9 to 7.51.3.

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

  • The recommended version was released a month ago, on 2024-04-11.

Release notes
Package name: react-hook-form
  • 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

    🥲 Regression: Revert "⌨️ fix #10734 watch and useWatch without parameters return type (#11359)"

  • 7.50.0 - 2024-02-01

    🔧 fix data param in handleSubmit when TTransformedValues is a union type (#11420)
    👷 build(Engines): remove pnpm dependency (#11425)
    🐞 fixes #11386 get new dirtyFields when reset keeping defaults and dirty values (#11401)
    🏷️ improve CustomElement type (#11309)
    💫 feat(useForm): leave formState flags in a consistent state when throwing in handleSubmit onValid (#11214)
    ⌨️ fix: change DeepPartial to account for object union types & unknown (#11385)
    ✨ feat(values): priorities values over defaultvalues (#11399)
    🐞 close #11246 skip root validation on action when mode and revalidate mode is onSubmit (#11395)
    💩 fix #11322 trigger extra re-render with useWatch plus shouldUnregister (#11394)
    ⌨️ fix #10734 watch and useWatch without parameters return type (#11359)
    🧑‍✈️ fix #11281 issue with upgrade node version (#11392)
    🐞 fix #11368 keep form state mounted when keeping values (#11384)
    🐞 fix #11374: Nested deep partial with unknown (#11373)

    thanks to @ Moshyfawn, @ jonahallibone, @ eladattias1996, @ RulerOfCakes, @ anonkey, @ Ar4ys, @ IanVS and @ r-kataoka11

  • 7.49.3 - 2024-01-08

    🐛 fix(formState, disabled): infer controlled disabled form state (#11361)
    🐛 fix(reset): remove global reset option flag (#11355)
    🐛 fix(useController): check if disabled state was set by user (#11353)
    🖨️ fix: Change DeepPartial type definition to be compatible with unknown (#11333)
    🐞 fix #11328 resetField with object as defaultValue (#11329)

    thanks to @ Moshyfawn, @ geeee and @ RulerOfCakes

  • 7.49.2 - 2023-12-13

    🐞 fix #11292 issue with controller validation prop (#11294)

  • 7.49.1 - 2023-12-12

    🐞 fix #11276 issue with disabled omit on Controller (#11277)
    🐞 fix #11287 disabled prop cause const dirtyFields update (#11291)

  • 7.49.0 - 2023-12-09

    📮 feat: add reactive errors prop at useForm (#11188)

    useForm({
      errors, // server errors
    })

    🖥️ feat: add react-server bundle (#11162)
    🔩 chore: upgrade Node.js and pnpm (#11163)
    🪖 feat: add ValidationModeFlags Type (#11144)
    🐞 fix #11267 disabled prop does not affect controller validation (#11273)
    🔧 refactor(util function): Enhance Consistency in Utility Functions: Standardizing Export, Function Types, and Naming (#11268)
    ⌨️ change type structure of UseFormHandleSubmit (#11245)
    📮 fix(#11239): Set fields disabled state based on form and field disabled (#11241)
    🍢 improved getDirtyFieldsFromDefaultValues type (#11238)
    🐞 fix #11229 issue with values not re-render the root form (#11231)
    🐞 fix #11218 useFieldArray focus issue with rules prop (#11221)
    🔧 chore: improved isObjectType and swap (#11183)

    thanks to @ kotarella1110, @ ssi02014, @ thomasdbock, @ mildfuzz and @ Lennon57

  • 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
from react-hook-form GitHub release notes
Commit messages
Package name: react-hook-form
  • c152074 7.51.3
  • ca78e72 🐞 fix #11773 regression on dirty check with reset (#11775)
  • 306627e 7.51.2
  • dce13a6 fix #11719 validation stuck on true state (#11723)
  • 00ce24a 7.51.1
  • 4632f8a 🐛 bug(validatingFields, trigger): handle all fields validation trigger (#11624)
  • b300a65 💚 ci: cleanup actions versions (#11629)
  • 202a1b7 🐞 fix #11590 issue with trigger on validatingFields (#11613)
  • 97c3ba4 🥼 update changelog v7.51.0
  • 9b14d0f 7.51.0
  • 215d633 ⌨️ chore: replace ts-ignore with ts-expect-error (#11573)
  • ec8a46e 🧗‍♂️ chore: update lib dev deps (#11548)
  • bba5524 💅 related #11541 improve dirty check when `undefined` provided with `reset` api
  • ebc1f2c 💬 add `isValidating` and `validatingFields` to field state (#10657)
  • 92a9a97 😾 fix #11514 issue under strict mode reset invoke twice reset mounted field names with keepDirtyValues (#11546)
  • 2d58212 Revert "✨ feat(values): priorities values over defaultvalues (#11399)" (#11545)
  • b6bbd8a 🤡 fix flush root render hack (#11521)
  • 8b12f99 Revert "🔧 fix data param in handleSubmit when TTransformedValues is a union type (#11420)"
  • 73d7c10 ❤️ thank you principal.com for your contribution
  • 626eacc 🧽 chore: removed unused utils and resp. test cases (#11476)
  • 744456c 🐞 close #11503 issue dirty field update with async validation (#11509)
  • 6a57117 7.50.1
  • 7cffc95 Revert "⌨️ fix #10734 watch and useWatch without parameters return type (#11359)"
  • 5c3b4c0 ✅ chore: add noop Utils Function (#11455)

Compare


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:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Note: This is a default PR template raised by Snyk. Find out more about how you can customise Snyk PRs in our documentation.

Snyk has created this PR to upgrade react-hook-form from 7.43.9 to 7.51.3.

See this package in npm:
react-hook-form

See this project in Snyk:
https://app.snyk.io/org/dmitrymarokhonov/project/72fa9a68-0390-48a3-aa99-0fc51bd158bd?utm_source=github&utm_medium=referral&page=upgrade-pr
@rce rce closed this Jun 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.