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.50.0 #644

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 2, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

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

v7.50.0: Versions 7.50.0

Compare Source

🔧 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

v7.49.3: Version 7.49.3

Compare Source

🐛 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

v7.49.2: Version 7.49.2

Compare Source

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

v7.49.1: Version 7.49.1

Compare Source

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

v7.49.0

Compare Source

Added
  • add reactive errors prop at useForm
useForm({
  errors, // Server errors
});

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 (rebase) February 2, 2024 21:24
Copy link

vercel bot commented Feb 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
next-starter-tpl-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 2, 2024 9:36pm
next-starter-tpl-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 2, 2024 9:36pm
next-starter-tpl-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 2, 2024 9:36pm

Copy link

changeset-bot bot commented Feb 2, 2024

⚠️ No Changeset found

Latest commit: aac38b5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

codecov bot commented Feb 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (779ed1d) 7.75% compared to head (aac38b5) 7.75%.
Report is 220 commits behind head on master.

Additional details and impacted files
@@          Coverage Diff           @@
##           master    #644   +/-   ##
======================================
  Coverage    7.75%   7.75%           
======================================
  Files          32      32           
  Lines         245     245           
  Branches       36      37    +1     
======================================
  Hits           19      19           
  Misses        226     226           
Flag Coverage Δ
web 7.75% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

0 participants