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.18.1 to 7.48.2 #1462

Closed

Conversation

liangyuanruo
Copy link
Contributor

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.18.1 to 7.48.2.

ℹ️ 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 123 versions ahead of your current version.
  • The recommended version was released a month ago, on 2023-11-05.
Release notes
Package name: react-hook-form
  • 7.48.2 - 2023-11-05

    🐞 #11106 fix disabled prop not update dirty formState (#11143)
    🐞 fix controller update with disabled prop from useForm (#11142)

  • 7.48.1 - 2023-11-04

    🐞 fix controller update with disabled prop from useForm

  • 7.48.0 - 2023-11-04

    🧱 feature: disable prop for useForm (#10496)

    const App = () => {
    const [disabled, setDisabled] = useState(false);
    const { handleSubmit } = useForm({ disabled });

    return (
    <form
    onSubmit={handleSubmit(async () => {
    setDisabled(true);
    await sleep(100);
    setDisabled(false);
    })}
    / >
    );
    }

    😵‍💫 fixed typo in useFormContext (#11126)
    🫡 strictly manage constants and improve types (#11101)
    🐞 fix #11076 disable toggle issue (#11090)
    🚀 fix: Solve the issue of race condition with resolver. (#10991)
    📖 docs: fix useWatch example syntax error (#11005)
    📝 readme arabic version (#10992)

    thanks to @ Iyadchafroud @ domuk-k @ mehunk @ ssi02014 and @ tykhan

  • 7.47.0 - 2023-10-02

    🫡 allow keepIsSubmitSuccessful flag (#9640)

    const { reset } = useForm()

    <Form
    onSubmit={() => {
    reset(formValues, {
    keepIsSubmitSuccessful: true,
    });
    }}
    />

    🦉 fix typo in form.ts (#10978)
    🤡 close #10907 potential fix on unmounted component (#10980)
    🪖 simplify logic for subscription by name (#10947)

    thanks to @ stefanpl, @ kai-dorschner-twinsity & @ nitschSB

  • 7.46.2 - 2023-09-21

    🐞 fix implicit type coercion (#10949)
    🙄 close #10932 omit disabled prop when not defined (#10937)
    🔧 fix controller test is dirty (#10899)

    thanks to @ samimakicc & @ pierluigigiancola

  • 7.46.1 - 2023-09-04

    🐞 fix #10878 return disabled field state (#10879)

    thanks to @ Moshyfawn

  • 7.46.0 - 2023-09-03

    🧟‍♂️ feat: support disabled prop for useController (#10810)

    const [disabled, setDisabled] = useState(false)
    useController({
      disabled
    })
    • field value will be disabled
    • field value will be omitted

    🫖 prevent reset argument mutation (#10847)
    🐞 fix: add exact option for array name in useWatch. (#10707)
    🐞 update isDirty when setting disabled in register (#10805)
    🧶 feat: trigger passed names to construct resolver options (#10590)

    thanks to @ selimb @ vonagam @ jgullstr and @ rabbitson87

  • 7.46.0-next.0 - 2023-08-13
    Read more
  • 7.45.4 - 2023-08-05

    🐞 fix #10767 dep issue with replayio (#10768)
    🐞 fix #10762 async submit with Form component (#10766)
    🫖 add test case for issue #10744 to avoid future regressions (#10759)

    thanks to @ eg-bernardo

  • 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
from react-hook-form GitHub release notes
Commit messages
Package name: react-hook-form
  • ba8cc31 7.48.2
  • 30e5c42 🐞 #11106 fix disabled prop not update dirty formState (#11143)
  • 32f632a 🐞 fix `controller` update with `disabled` prop from `useForm` (#11142)
  • e18e49b 7.48.1
  • e2ffa7a 🥼 update changelog 7.48.0
  • 9e7d812 7.48.0
  • c3b2249 😵‍💫 fixed typo in useFormContext (#11126)
  • a7ee911 🫡 strictly manage constants and improve types (#11101)
  • dd89833 🐞 fix #11076 disable toggle issue (#11090)
  • 6d83aac 🚀 fix: Solve the issue of race condition with resolver. (#10991)
  • 0d565fc 🧱 feature: `disable` prop for `useForm` (#10496)
  • 5fef1f2 📖 docs: fix useWatch example syntax error (#11005)
  • 99f9217 📝 readme arabic version (#10992)
  • dde09ee 📖 update changelog
  • 78f9870 7.47.0
  • d7d45c8 🤡 close #10907 potential fix on unmounted component (#10980)
  • f540e34 🦉 fix typo in form.ts (#10978)
  • dab71a5 📖 update README.md
  • 5dbe834 🫡 allow `keepIsSubmitSuccessful` flag (#9640)
  • ef34e90 📝 update README.md
  • de4a917 🪖 simplify logic for subscription by name (#10947)
  • 75393f1 7.46.2
  • 27ff8af 🐞 fix implicit type coercion (#10949)
  • 5fe5614 🙄 close #10932 omit disabled prop when not defined (#10937)

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

@policop policop bot added policop:snyk:pending-delete Indicates that this PR will be closed soon as we have deprecated Snyk. policop:snyk:deleted Dependabot is the spiritual successor and should be used in the future in place of Snyk. labels Aug 12, 2024
@policop policop bot closed this Aug 12, 2024
@policop policop bot deleted the snyk-upgrade-7af463c337706daf28785e2397fa8c72 branch August 12, 2024 09:09
@policop policop bot removed the policop:snyk:pending-delete Indicates that this PR will be closed soon as we have deprecated Snyk. label Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
policop:snyk:deleted Dependabot is the spiritual successor and should be used in the future in place of Snyk.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants