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.54.2 #15

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 19, 2024

This PR contains the following updates:

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

Release Notes

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

v7.54.2

Compare Source

v7.54.1: Version 7.54.1

Compare Source

Revert "🦥 fix: useForm should return a new object on formState changes (#​12424)" (#​12475)

v7.54.0

Compare Source

v7.53.2: Version 7.53.2

Compare Source

🐞 fix #​12398 staled disabled issue with resubmit form (#​12403)
🐞 fix: add type guard to fieldRef.select (#​12390)
Revert "🏺 watch reference update on formState update (#​12326)" (#​12391)

thanks to @​developer-bandi

v7.53.1: Version 7.53.1

Compare Source

🔧 chore: upgrade eslint to v9 (#​12150)
🐞 fix: #​12294 ensure Invalid Date is evaluated correctly (#​12295)
🐞 fix #​12316 setValue should work for arrays of primitives to handle checkboxes (#​12316) (#​12317)
🐞 fix #​12097 Use dirty fields along with mount names for form reset with keepDirtyValues (#​12211)
🫀 fix #​12237 disabled state trigger formState dirty/dirtyFields to update (#​12239)
📝 improve flatten function with object type check (#​12306)
🐞 fix #​12291 field array remove cause undefined with FormData (#​12305)
🖐️ improve: resolve type of set function (#​12145)
📖 fix: code example input field placeholder name (#​12296)
📖 docs: fix typo in code example (#​12271)

thanks to @​rasikhq @​abnud11 @​crypt0box @​developer-bandi @​matmannion @​hasancruk & @​vismay7

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);
      })}
    / >
  );
}

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 changed the title Update dependency react-hook-form to v7.51.1 Update dependency react-hook-form to v7.51.2 Mar 26, 2024
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from a06825b to c4b78a2 Compare March 26, 2024 23:25
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from c4b78a2 to 5b9bc7e Compare April 11, 2024 22:40
@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 11, 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 4, 2024
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 5b9bc7e to 3b95e33 Compare May 4, 2024 08:23
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 3b95e33 to 0c8446f Compare May 21, 2024 17:00
@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 21, 2024
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 0c8446f to 44cf981 Compare June 16, 2024 00:39
@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 force-pushed the renovate/react-hook-form-7.x-lockfile branch from 44cf981 to 09f3081 Compare July 2, 2024 11:20
@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 force-pushed the renovate/react-hook-form-7.x-lockfile branch from 09f3081 to 80efad2 Compare August 3, 2024 08:16
@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 force-pushed the renovate/react-hook-form-7.x-lockfile branch from 80efad2 to 540db43 Compare August 24, 2024 05:35
@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 24, 2024
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 540db43 to 0388920 Compare October 19, 2024 01:47
@renovate renovate bot changed the title Update dependency react-hook-form to v7.53.0 Update dependency react-hook-form to v7.53.1 Oct 19, 2024
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 0388920 to 9cf83df Compare November 9, 2024 01:04
@renovate renovate bot changed the title Update dependency react-hook-form to v7.53.1 Update dependency react-hook-form to v7.53.2 Nov 9, 2024
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 9cf83df to 4630c29 Compare December 7, 2024 01:18
@renovate renovate bot changed the title Update dependency react-hook-form to v7.53.2 Update dependency react-hook-form to v7.54.0 Dec 7, 2024
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 4630c29 to 429a97c Compare December 13, 2024 02:03
@renovate renovate bot changed the title Update dependency react-hook-form to v7.54.0 Update dependency react-hook-form to v7.54.1 Dec 13, 2024
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 429a97c to 6cec6ab Compare December 21, 2024 01:26
@renovate renovate bot changed the title Update dependency react-hook-form to v7.54.1 Update dependency react-hook-form to v7.54.2 Dec 21, 2024
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