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

Update dependency react-hook-form to v7.53.0 #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 30, 2023

This PR contains the following updates:

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

Release Notes

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

v7.53.0

Compare Source

v7.52.2

Compare Source

👍 close #​12108 useController should subscribe to exact field name of form's state (#​12109)
👍 chore: upgrade app deps
🩻 fix: add useCallback for ref callback (#​12078)
🚀 fix: skip call executeBuiltInValidation if no sub-fields left (#​12054)

thanks to @​newsiberian, @​Wendystraite and @​abnud11

v7.52.1: v7.51.1

Compare Source

🐞 fix #​12024 dirty not update issue with values prop (#​12041)
🐞 fix: field array validate rules shift errors (#​12033)

thanks to @​JardelCheung

v7.52.0

Compare Source

⚛️ close #​11932 enable react 19 peer dependency (#​11935)
👮‍♀️ close #​11954 getFieldState remove unnessaried inValidating and touched subscription (#​11995)
🐞 fix #​11985 logic createFormControl check field before usage (#​11986)
⌨️ fix: enforce type safety for deps property in RegisterOptions (#​11969)
🐞 fix #​11922 keep dirty on reset with dirty fields (#​11958)
🚔 close #​11937 add validation in the cleanup process in useController (#​11938)
Revert "⌨️ close: correct type of error field in getFieldState return object (#​11831)"
📖 fix: change info.values type in WatchObserver (#​11917)

thanks to @​nakaakist, @​IdoBouskila, @​pincy and @​peinguin

v7.51.5

Compare Source

📖 fix broken link to examples in README.md (#​11805)
⌨️ close: correct type of error field in getFieldState return object (#​11831)
🐞 fix #​11842 radio buttons not disabled when multiple share a name (#​11873)
🐞 fix #​11821 set value with disabled false before mount (#​11880)
🐞 fix setError to preserve existing errors elsewhere in the object (#​11888)
⌨️ fix: add info.value type to WatchObserver (#​11872)
🫡 fix issue with internal set api (#​11915)

thanks to @​mjr2595 @​erashu212 @​SimonJTurner and @​peinguin

v7.51.4: Version 7.51.4

Compare Source

👹 close #​11778 improve unregister omit key with getValues method (#​11779)
🐞 fix #​11794 issue: Fields dirty state is not updated when passing values to useForm

v7.51.3

Compare Source

v7.51.2: Version 7.51.2

Compare Source

🐞 fix #​11719 validation stuck on true state (#​11723)

v7.51.1

Compare Source

v7.51.0

Compare Source

Added
  • added 'validateFields' to formState
const { formState: { validateFields } } = useForm();

v7.50.1: Version v7.50.1

Compare Source

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

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

v7.46.1: Version 7.46.1

Compare Source

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

thanks to @​Moshyfawn

v7.46.0

Compare Source

v7.45.4: Version 7.45.4

Compare Source

🐞 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

v7.45.3: Version 7.45.3

Compare Source

📼 add Replay Test Suites (#​10681)
Revert "🧑‍🎓 close #​10585 update controller value on each render (#​10586)"
🐞 close #​10682 make sure action flag gets reset after useEffect (#​10732)

thanks to @​jasonLaster

v7.45.2: Version 7.45.2

Compare Source

🧾 fix(types): async defaultValues await promise value (#​10637)
🥲 revert strict type check on Controller onChange (#​10609)
📖 docs(changelog 7.45.0): typo and format (#​10624)
📖 fix:test-spelling-error (#​10629)

thanks to @​anton-g, @​milhamm, @​moshfeu & @​OlliePrentice

v7.45.1: Version 7.45.1

Compare Source

🐞 fix #​10602 issue with reactive values props update (#​10606)
🧑‍🎓 close #​10585 update controller value on each render (#​10586)
🧪 test(generated-id): setting window performance undefined without ts-ignore (#​10584)

thanks to @​mateoguzmana

v7.45.0

Compare Source

v7.44.3: Version 7.44.3

Compare Source

🦉 fix: add named component export (#​10486)
💭 fix React import inconsistency (#​10479)
🏙️ fix: removed code from the README updater which was trying to read a non-existent docs/Helpers.yaml
📝 fix doc: update urls from /api to /docs (#​10468)

thanks to @​Moshyfawn @​@​protofarer @​farfromrest

v7.44.2: Version 7.44.2

Compare Source

🪟 fix #​10456 object.hasown replaced with hasOwnProperty (#​10458)

v7.44.1: Version 7.44.1

Compare Source

🐞 fix <Form /> component content-type json type missing (#​10454)

v7.44.0

Compare Source

v7.43.9: Version 7.43.9

Compare Source

🍄 close #​10195 close async defaultValues not load (#​10203)
Revert "🐞 fix #​10139 useFieldArray array error not updating in some cases (#​10150)"


Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Mar 30, 2023
@hmcts-jenkins-cnp hmcts-jenkins-cnp bot requested a deployment to preview March 30, 2023 23:26 Abandoned
@renovate renovate bot changed the title Update dependency react-hook-form to v7.43.9 Update dependency react-hook-form to v7.44.0 May 27, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from d9808a8 to dd216c6 Compare May 27, 2023 04:28
@hmcts-jenkins-cnp hmcts-jenkins-cnp bot requested a deployment to preview May 27, 2023 04:37 Abandoned
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from dd216c6 to 57bb00d Compare May 27, 2023 08:31
@renovate renovate bot changed the title Update dependency react-hook-form to v7.44.0 Update dependency react-hook-form to v7.44.1 May 27, 2023
@hmcts-jenkins-cnp hmcts-jenkins-cnp bot requested a deployment to preview May 27, 2023 08:39 Abandoned
@renovate renovate bot changed the title Update dependency react-hook-form to v7.44.1 Update dependency react-hook-form to v7.44.2 Jun 1, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 57bb00d to 009fa33 Compare June 1, 2023 03:43
@hmcts-jenkins-cnp hmcts-jenkins-cnp bot requested a deployment to preview June 1, 2023 03:52 Abandoned
@renovate renovate bot changed the title Update dependency react-hook-form to v7.44.2 Update dependency react-hook-form to v7.44.3 Jun 2, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 009fa33 to 6a2723d Compare June 2, 2023 04:47
@hmcts-jenkins-cnp hmcts-jenkins-cnp bot requested a deployment to preview June 2, 2023 04:55 Abandoned
@renovate renovate bot changed the title Update dependency react-hook-form to v7.44.3 Update dependency react-hook-form to v7.45.0 Jun 22, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 6a2723d to bc342ff Compare June 22, 2023 17:54
@renovate renovate bot changed the title Update dependency react-hook-form to v7.45.0 Update dependency react-hook-form to v7.45.1 Jun 30, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from bc342ff to 5a7288d Compare June 30, 2023 05:31
@renovate renovate bot changed the title Update dependency react-hook-form to v7.45.1 Update dependency react-hook-form to v7.45.2 Jul 18, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 5a7288d to 29b6c0b Compare July 18, 2023 05:28
@renovate renovate bot changed the title Update dependency react-hook-form to v7.45.2 Update dependency react-hook-form to v7.45.3 Aug 5, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 29b6c0b to 615182d Compare August 5, 2023 05:14
@renovate renovate bot changed the title Update dependency react-hook-form to v7.45.3 Update dependency react-hook-form to v7.45.4 Aug 7, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 615182d to 11bb275 Compare August 7, 2023 14:44
@renovate renovate bot changed the title Update dependency react-hook-form to v7.45.4 Update dependency react-hook-form to v7.46.0 Sep 4, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 11bb275 to 50681e2 Compare September 4, 2023 02:54
@renovate renovate bot changed the title Update dependency react-hook-form to v7.46.0 Update dependency react-hook-form to v7.46.1 Sep 5, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 50681e2 to 2176ebb Compare September 5, 2023 06:01
@renovate renovate bot changed the title Update dependency react-hook-form to v7.46.1 Update dependency react-hook-form to v7.46.2 Sep 22, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 2176ebb to 1a6852f Compare September 22, 2023 05:22
@renovate renovate bot changed the title Update dependency react-hook-form to v7.46.2 Update dependency react-hook-form to v7.47.0 Oct 3, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 1a6852f to b1150a6 Compare October 3, 2023 08:55
@renovate renovate bot changed the title Update dependency react-hook-form to v7.47.0 Update dependency react-hook-form to v7.48.1 Nov 5, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from b1150a6 to b068cdd Compare November 5, 2023 02:59
@renovate renovate bot changed the title Update dependency react-hook-form to v7.48.1 Update dependency react-hook-form to v7.48.2 Nov 6, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from b068cdd to 3ed7833 Compare November 6, 2023 20:45
@renovate renovate bot changed the title Update dependency react-hook-form to v7.48.2 Update dependency react-hook-form to v7.49.0 Dec 10, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch 2 times, most recently from 2271e20 to a4fda97 Compare December 15, 2023 05:36
@renovate renovate bot changed the title Update dependency react-hook-form to v7.49.0 Update dependency react-hook-form to v7.49.2 Dec 15, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from a4fda97 to a24d527 Compare January 9, 2024 23:54
@renovate renovate bot changed the title Update dependency react-hook-form to v7.49.2 Update dependency react-hook-form to v7.49.3 Jan 9, 2024
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from a24d527 to 734d625 Compare February 2, 2024 02:39
@renovate renovate bot changed the title Update dependency react-hook-form to v7.49.3 Update dependency react-hook-form to v7.50.0 Feb 2, 2024
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 734d625 to 5a156b7 Compare February 7, 2024 05:36
@renovate renovate bot changed the title Update dependency react-hook-form to v7.50.0 Update dependency react-hook-form to v7.50.1 Feb 7, 2024
@renovate renovate bot changed the title Update dependency react-hook-form to v7.50.1 Update dependency react-hook-form to v7.51.0 Mar 2, 2024
Copy link
Author

renovate bot commented Mar 2, 2024

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: yarn.lock
/opt/containerbase/tools/corepack/0.28.0/18.15.0/node_modules/corepack/dist/lib/corepack.cjs:23250
  const isURL = URL.canParse(range);
                    ^

TypeError: URL.canParse is not a function
    at parseSpec (/opt/containerbase/tools/corepack/0.28.0/18.15.0/node_modules/corepack/dist/lib/corepack.cjs:23250:21)
    at loadSpec (/opt/containerbase/tools/corepack/0.28.0/18.15.0/node_modules/corepack/dist/lib/corepack.cjs:23313:11)
    at async Engine.findProjectSpec (/opt/containerbase/tools/corepack/0.28.0/18.15.0/node_modules/corepack/dist/lib/corepack.cjs:23487:22)
    at async Engine.executePackageManagerRequest (/opt/containerbase/tools/corepack/0.28.0/18.15.0/node_modules/corepack/dist/lib/corepack.cjs:23539:24)
    at async Object.runMain (/opt/containerbase/tools/corepack/0.28.0/18.15.0/node_modules/corepack/dist/lib/corepack.cjs:24232:5)

Node.js v18.15.0

@renovate renovate bot changed the title Update dependency react-hook-form to v7.51.0 Update dependency react-hook-form to v7.51.1 Mar 17, 2024
@renovate renovate bot changed the title Update dependency react-hook-form to v7.51.1 Update dependency react-hook-form to v7.51.2 Mar 27, 2024
@renovate renovate bot changed the title Update dependency react-hook-form to v7.51.2 Update dependency react-hook-form to v7.51.3 Apr 13, 2024
@renovate renovate bot changed the title Update dependency react-hook-form to v7.51.3 Update dependency react-hook-form to v7.51.4 May 5, 2024
@renovate renovate bot changed the title Update dependency react-hook-form to v7.51.4 Update dependency react-hook-form to v7.51.5 May 23, 2024
Copy link
Author

renovate bot commented May 23, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: yarn.lock
/opt/containerbase/tools/corepack/0.29.3/18.15.0/node_modules/corepack/dist/lib/corepack.cjs:22095
  const isURL = URL.canParse(range);
                    ^

TypeError: URL.canParse is not a function
    at parseSpec (/opt/containerbase/tools/corepack/0.29.3/18.15.0/node_modules/corepack/dist/lib/corepack.cjs:22095:21)
    at loadSpec (/opt/containerbase/tools/corepack/0.29.3/18.15.0/node_modules/corepack/dist/lib/corepack.cjs:22158:11)
    at async Engine.findProjectSpec (/opt/containerbase/tools/corepack/0.29.3/18.15.0/node_modules/corepack/dist/lib/corepack.cjs:22348:22)
    at async Engine.executePackageManagerRequest (/opt/containerbase/tools/corepack/0.29.3/18.15.0/node_modules/corepack/dist/lib/corepack.cjs:22404:24)
    at async Object.runMain (/opt/containerbase/tools/corepack/0.29.3/18.15.0/node_modules/corepack/dist/lib/corepack.cjs:23096:5)

Node.js v18.15.0

@renovate renovate bot changed the title Update dependency react-hook-form to v7.51.5 Update dependency react-hook-form to v7.52.0 Jun 16, 2024
@renovate renovate bot changed the title Update dependency react-hook-form to v7.52.0 Update dependency react-hook-form to v7.52.1 Jul 2, 2024
@renovate renovate bot changed the title Update dependency react-hook-form to v7.52.1 Update dependency react-hook-form to v7.52.2 Aug 3, 2024
@renovate renovate bot changed the title Update dependency react-hook-form to v7.52.2 Update dependency react-hook-form to v7.53.0 Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants