ladunjexa / nextjs14-devoverflow

šŸ§  DevOverflow is a complex Next.js 14 app that exhibits Q&A platform for developers to ask questions, share knowledge, and learn from each other.
https://nextjs14-devoverflow.vercel.app
MIT License
61 stars 26 forks source link

[Snyk] Upgrade react-hook-form from 7.47.0 to 7.50.1 #12

Closed ladunjexa closed 4 months ago

ladunjexa commented 4 months ago

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.47.0 to 7.50.1.

:information_source: 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 **9 versions** ahead of your current version. - The recommended version was released **a month ago**, on 2024-02-06.
Release notes
Package name: react-hook-form
  • 7.50.1 - 2024-02-06

    šŸ„² Regression: Revert "āŒØļø fix #10734 watch and useWatch without parameters return type (#11359)"

      </li>
      <li>
        <b>7.50.0</b> - <a href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/releases/tag/v7.50.0">2024-02-01</a></br><p>šŸ”§ fix data param in handleSubmit when TTransformedValues is a union type (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2092050754" data-permission-text="Title is private" data-url="https://github.com/react-hook-form/react-hook-form/issues/11420" data-hovercard-type="pull_request" data-hovercard-url="/react-hook-form/react-hook-form/pull/11420/hovercard" href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/pull/11420">#11420</a>)<br>

    šŸ‘· 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

      </li>
      <li>
        <b>7.49.3</b> - <a href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/releases/tag/v7.49.3">2024-01-08</a></br><p>šŸ› fix(formState, disabled): infer controlled disabled form state (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2065020866" data-permission-text="Title is private" data-url="https://github.com/react-hook-form/react-hook-form/issues/11361" data-hovercard-type="pull_request" data-hovercard-url="/react-hook-form/react-hook-form/pull/11361/hovercard" href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/pull/11361">#11361</a>)<br>

    šŸ› 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

      </li>
      <li>
        <b>7.49.2</b> - <a href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/releases/tag/v7.49.2">2023-12-13</a></br><p>šŸž fix <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2038625897" data-permission-text="Title is private" data-url="https://github.com/react-hook-form/react-hook-form/issues/11292" data-hovercard-type="issue" data-hovercard-url="/react-hook-form/react-hook-form/issues/11292/hovercard" href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/issues/11292">#11292</a> issue with controller validation prop (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2039336737" data-permission-text="Title is private" data-url="https://github.com/react-hook-form/react-hook-form/issues/11294" data-hovercard-type="pull_request" data-hovercard-url="/react-hook-form/react-hook-form/pull/11294/hovercard" href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/pull/11294">#11294</a>)</p>
      </li>
      <li>
        <b>7.49.1</b> - <a href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/releases/tag/v7.49.1">2023-12-12</a></br><p>šŸž fix <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2034409208" data-permission-text="Title is private" data-url="https://github.com/react-hook-form/react-hook-form/issues/11276" data-hovercard-type="issue" data-hovercard-url="/react-hook-form/react-hook-form/issues/11276/hovercard" href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/issues/11276">#11276</a> issue with disabled omit on Controller (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2034531410" data-permission-text="Title is private" data-url="https://github.com/react-hook-form/react-hook-form/issues/11277" data-hovercard-type="pull_request" data-hovercard-url="/react-hook-form/react-hook-form/pull/11277/hovercard" href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/pull/11277">#11277</a>)<br>

    šŸž fix #11287 disabled prop cause const dirtyFields update (#11291)

  • 7.49.0 - 2023-12-09
    Read more
  •   <li>
        <b>7.48.2</b> - <a href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/releases/tag/v7.48.2">2023-11-05</a></br><p>šŸž <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1966211414" data-permission-text="Title is private" data-url="https://github.com/react-hook-form/react-hook-form/issues/11106" data-hovercard-type="issue" data-hovercard-url="/react-hook-form/react-hook-form/issues/11106/hovercard" href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/issues/11106">#11106</a> fix disabled prop not update dirty formState (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1977638648" data-permission-text="Title is private" data-url="https://github.com/react-hook-form/react-hook-form/issues/11143" data-hovercard-type="pull_request" data-hovercard-url="/react-hook-form/react-hook-form/pull/11143/hovercard" href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/pull/11143">#11143</a>)<br>

    šŸž fix controller update with disabled prop from useForm (#11142)

  • 7.48.1 - 2023-11-04

    šŸž fix controller update with disabled prop from useForm

  •   <li>
        <b>7.48.0</b> - <a href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/releases/tag/v7.48.0">2023-11-04</a></br><a href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/releases/tag/v7.48.0"> Read more </a>
      </li>
      <li>
        <b>7.47.0</b> - <a href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/releases/tag/v7.47.0">2023-10-02</a></br><p>šŸ«” allow keepIsSubmitSuccessful flag (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1504844437" data-permission-text="Title is private" data-url="https://github.com/react-hook-form/react-hook-form/issues/9640" data-hovercard-type="pull_request" data-hovercard-url="/react-hook-form/react-hook-form/pull/9640/hovercard" href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/pull/9640">#9640</a>)</p>

    <div class="highlight highlight-source-tsx notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const { reset } = useForm()

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

    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

  </li>
</ul>
from <a href="https://snyk.io/redirect/github/react-hook-form/react-hook-form/releases">react-hook-form GitHub release notes</a>

Commit messages
Package name: react-hook-form
  • 6a57117 7.50.1
  • 7cffc95 Revert "āŒØļø fix #10734 watch and useWatch without parameters return type (#11359)"
  • 5c3b4c0 āœ… chore: add noop Utils Function (#11455)
  • 2dacf05 7.50.0
  • 6fee03c šŸ”§ fix data param in handleSubmit when TTransformedValues is a union type (#11420)
  • 919c578 šŸ‘· build(Engines): remove pnpm dependency (#11425)
  • 4c21b28 šŸž fixes #11386 get new dirtyFields when reset keeping defaults and dirty values (#11401)
  • f8bbb30 šŸ·ļø improve `CustomElement` type (#11309)
  • f18c147 šŸ’« feat(useForm): leave formState flags in a consistent state when throwing in handleSubmit onValid (#11214)
  • cec3267 āŒØļø fix: change `DeepPartial` to account for object union types & `unknown` (#11385)
  • a0583ff āœØ feat(values): priorities values over defaultvalues (#11399)
  • 4e6fccb šŸž close #11246 skip root validation on action when mode and revalidate mode is onSubmit (#11395)
  • ede7f1e šŸ’© fix #11322 trigger extra re-render with useWatch plus shouldUnregister (#11394)
  • fdbadbb āŒØļø fix #10734 watch and useWatch without parameters return type (#11359)
  • f4c126f šŸ§‘ā€āœˆļø fix #11281 issue with upgrade node version (#11392)
  • 7459afe šŸž fix #11368 keep form state mounted when keeping values (#11384)
  • 75cab7f šŸž fix #11374: Nested deep partial with unknown (#11373)
  • e4c1fb1 7.49.3
  • e6a5b1a šŸ› fix(formState, disabled): infer controlled disabled form state (#11361)
  • dab35e1 šŸ› fix(reset): remove global reset option flag (#11355)
  • 4f4eae5 šŸ› fix(useController): check if disabled state was set by user (#11353)
  • 012bb19 šŸ–Øļø fix: Change `DeepPartial` type definition to be compatible with `unknown` (#11333)
  • 94114e4 šŸž fix #11328 resetField with object as defaultValue (#11329)
  • 7e5af8d 7.49.2
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

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ā†—ļøŽ

Name Status Preview Comments Updated (UTC)
nextjs14-devoverflow āœ… Ready (Inspect) Visit Preview šŸ’¬ Add feedback Mar 9, 2024 11:09pm