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

fix(deps): update dependency react-hook-form to v7.48.2 #9407

Merged
merged 1 commit into from
Nov 11, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 11, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-hook-form (source) 7.46.1 -> 7.48.2 age adoption passing confidence

Release Notes

react-hook-form/react-hook-form (react-hook-form)

v7.48.2: Version 7.48.2

Compare Source

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

v7.48.1: Version 7.48.1

Compare Source

🐞 fix controller update with disabled prop from useForm

v7.48.0

Compare Source

Added
  • added new disabled prop for useForm to disable the entire form
const App = () => {
  const [disabled, setDisabled] = useState(false);
  const { handleSubmit } = useForm({ disabled });

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

v7.47.0

Compare Source

v7.46.2: Version 7.46.2

Compare Source

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

thanks to @​samimakicc & @​pierluigigiancola


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot enabled auto-merge (squash) November 11, 2023 04:29
@jtoar jtoar added the release:chore This PR is a chore (means nothing for users) label Nov 11, 2023
@jtoar jtoar added this to the next-release milestone Nov 11, 2023
@renovate renovate bot merged commit a477eb4 into main Nov 11, 2023
35 of 37 checks passed
@renovate renovate bot deleted the renovate/react-hook-form-7.x branch November 11, 2023 05:36
jtoar pushed a commit that referenced this pull request Nov 13, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-hook-form](https://www.react-hook-form.com)
([source](https://togithub.com/react-hook-form/react-hook-form)) |
[`7.46.1` ->
`7.48.2`](https://renovatebot.com/diffs/npm/react-hook-form/7.46.1/7.48.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-hook-form/7.48.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-hook-form/7.48.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-hook-form/7.46.1/7.48.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-hook-form/7.46.1/7.48.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

<details>
<summary>react-hook-form/react-hook-form (react-hook-form)</summary>

[`v7.48.2`](https://togithub.com/react-hook-form/react-hook-form/releases/tag/v7.48.2):
Version 7.48.2

[Compare
Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.48.1...v7.48.2)

🐞
[#&#8203;11106](https://togithub.com/react-hook-form/react-hook-form/issues/11106)
fix disabled prop not update dirty formState
([#&#8203;11143](https://togithub.com/react-hook-form/react-hook-form/issues/11143))
🐞 fix controller update with `disabled` prop from `useForm`
([#&#8203;11142](https://togithub.com/react-hook-form/react-hook-form/issues/11142))

[`v7.48.1`](https://togithub.com/react-hook-form/react-hook-form/releases/tag/v7.48.1):
Version 7.48.1

[Compare
Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.48.0...v7.48.1)

🐞 fix controller update with disabled prop from useForm

[`v7.48.0`](https://togithub.com/react-hook-form/react-hook-form/blob/HEAD/CHANGELOG.md#7480---2023-11-05)

[Compare
Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.47.0...v7.48.0)

-   added new `disabled` prop for `useForm` to disable the entire form

<!---->

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

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

[`v7.47.0`](https://togithub.com/react-hook-form/react-hook-form/blob/HEAD/CHANGELOG.md#7470---2023-10-02)

[Compare
Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.46.2...v7.47.0)

[`v7.46.2`](https://togithub.com/react-hook-form/react-hook-form/releases/tag/v7.46.2):
Version 7.46.2

[Compare
Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.46.1...v7.46.2)

🐞 fix implicit type coercion
([#&#8203;10949](https://togithub.com/react-hook-form/react-hook-form/issues/10949))
🙄 close
[#&#8203;10932](https://togithub.com/react-hook-form/react-hook-form/issues/10932)
omit disabled prop when not defined
([#&#8203;10937](https://togithub.com/react-hook-form/react-hook-form/issues/10937))
🔧 fix controller test is dirty
([#&#8203;10899](https://togithub.com/react-hook-form/react-hook-form/issues/10899))

thanks to [@&#8203;samimakicc](https://togithub.com/samimakicc) &
[@&#8203;pierluigigiancola](https://togithub.com/pierluigigiancola)

</details>

---

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/redwoodjs/redwood).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@Tobbe Tobbe modified the milestones: next-release, v6.5.0 Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:chore This PR is a chore (means nothing for users)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants