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

chore(deps): update dependency react-hook-form to v7.44.3 #666

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 28, 2022

Mend Renovate

This PR contains the following updates:

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

Release Notes

react-hook-form/react-hook-form

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: Version 7.44.0

Compare Source

📄 New <Form /> Component (https://github.com/react-hook-form/react-hook-form/pull/9735)

https://react-hook-form.com/docs/useform/form

  • add try and catch for JSON.stringify
// Send post request with formData
<Form
  action="/api"
  control={control}
  onSuccess={() => {
    alert("Great");
  }}
/>

// Send post request with json form data
<Form action="/api" encType="application/json" headers={{ accessToken: 'test' }}> 
  {errors.root?.server.type === 500 && 'Error message'}
  {errors.root?.server.type === 400 && 'Error message'}
</Form>

// Send post request with formData with fetch
<Form
  onSubmit={async ({ formData, data, formDataJson, event }) => {
    await fetch("api", {
      method: "post",
      body: formData,
    });
  }}
/>

🗝️ support TransformedValues with useFormContext (https://github.com/react-hook-form/react-hook-form/pull/10322)

useFormContext<FormValue, TransformedValues>()

🚔 added TTransformedValues to FormProvider (https://github.com/react-hook-form/react-hook-form/pull/10368)

FormProviderProps<TFieldValues, TContext, TTransformedValues>

🐞 fix https://github.com/react-hook-form/react-hook-form/issues/10139 with errors diff from the previous with field array action (https://github.com/react-hook-form/react-hook-form/pull/10216)
🐞 related https://github.com/react-hook-form/react-hook-form/issues/10238 return default values in watch and useWatch when reset is called with an empty object
🦮 remove unnecessary as unknown as cast (https://github.com/react-hook-form/react-hook-form/pull/10300)
🧛‍♂️ close https://github.com/react-hook-form/react-hook-form/issues/10277 remove pattern empty string check (https://github.com/react-hook-form/react-hook-form/pull/10279)
🐞 fix https://github.com/react-hook-form/react-hook-form/issues/9037 bugs that occur in the presence of Array polyfills (https://github.com/react-hook-form/react-hook-form/pull/10328)
🫥 close https://github.com/react-hook-form/react-hook-form/issues/10348 stop shouldUseNativeValidation pass down constraint props (https://github.com/react-hook-form/react-hook-form/pull/10350)
😵‍💫 close https://github.com/react-hook-form/react-hook-form/issues/10386 re-register controller input to fix strict mode (https://github.com/react-hook-form/react-hook-form/pull/10418)
✍️ update form.tsx for TSdoc (https://github.com/react-hook-form/react-hook-form/pull/10399)

thanks to @​yasamoka & @​Torvin @​ryota-murakami & @​devakrishna33

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)"

v7.43.8: Version 7.43.8

Compare Source

🪡 related #​10143 did not update dirty until interacted (#​10157)
🐞 fix #​10139 useFieldArray array error not updating in some cases (#​10150)

thanks to @​kylemclean

v7.43.7: Version 7.43.7

Compare Source

🐞 fix #​10131 regression on NaN data type (#​10132)
🐞 fix #​10129 useFieldArray unmount fieldArray wihtout register (#​10130)
🦶 upgrade to TS 5.0.0 (#​9834)

v7.43.6: Version 7.43.6

Compare Source

🐞 fix(appendErrors): incorrect type, it can take an array of errors (#​10125)
✍️ close #​10096 react strict mode with mounted field value (#​10102)
🦮 fix: isLoading form state (#​10095)
📝 fix: typos in tsdoc (#​10088)
🩴 close #​10078 prevent stabled aysnc validation (#​10082)
🐞 fix #​10064 native validation when subscribe to isValid (#​10072)
📝 correct typo in field array type declaration (#​10066)

thanks to @​jorisre @​chrisbarless @​mjw-isp and @​adamtowle

v7.43.5: Version 7.43.5

Compare Source

🐰 prevent runtime error with subscribe function (#​10052)
🪔 close #​10045 improve useController defaultValue restore under strict mode with double useEffect (#​10049)
📷 improve form values state update (#​10029)

v7.43.4: Version 7.43.4

Compare Source

🐞 fix #​10021 issue with .next runtime error and fix cypress action (#​10026)

v7.43.3: Version 7.43.3

Compare Source

📐 fix resetField defaultValue type and reduce any type (#​10024)
🐞 fix #​9997 issue on the mounted state is updated with values prop (#​10001)
Revert "🏍 delete dirty fields node instead of marking as false (#​9156)" (#​9996)
💅 improve state subscription consistency (#​9984)

v7.43.2: Version 7.43.2

Compare Source

🐞 fix #​9972 input focus with submitted form (#​9978)
💉 improve perf & save some bytes (#​9968)
🐞 fix #​9955 useForm values prop keepDirtyValues not update isDirty (#​9959)
🗑️ remove JSX message check (#​9921)

v7.43.1: Version 7.43.1

Compare Source

🐞 fix #​9871 issue with error type (#​9873)
🐞 fix #​9842 clearErrors method does not support global error (#​9843)

v7.43.0

Compare Source

v7.42.1: Version 7.42.1

Compare Source

🐞 fix #​9773 useFormState missing state update (#​9777)
🐞 fix #​9765 fix issue with strictMode with isValid state (#​9771)

v7.42.0

Compare Source

v7.41.5: Version 7.41.5

Compare Source

🐞 fix #​9713 regression on validate function with react native (#​9714)

thanks @​Moshyfawn

v7.41.4: Version 7.41.4

Compare Source

🐞 fix #​9709 calling setValue breaks future onChange calls from a Controller (#​9710)

thanks @​Moshyfawn

v7.41.3: Version 7.41.3

Compare Source

💁‍♂️ close #​9684 revert UnPackAsyncDefaultValues to avoid TS breaking change

v7.41.2: Version 7.41.2

Compare Source

🤦🏻‍♂️fix #​9661 regression on required valueAsNumber (#​9662)

v7.41.1: 🎅 Version 7.41.1

Compare Source

🐞 fix #​9659 NaN prevent validation update (#​9660)
🕯️ close #​9524 useWatch return undefined value (#​9653)
📖 adjust contributing document (#​9641)
💆🏻 fix #​9621 with the inline default value (#​9622)
🩻 docs: update contribution guidelines (#​9605)

thanks to @​Mini-ghost and @​stefanpl

v7.41.0

Compare Source

v7.40.0

Compare Source

v7.39.7

Compare Source

v7.39.6

Compare Source

v7.39.5

Compare Source

v7.39.4

Compare Source

v7.39.3

Compare Source

v7.39.2

Compare Source

v7.39.1

Compare Source

v7.39.0

Compare Source

v7.38.0

Compare Source

v7.37.0

Compare Source

v7.36.1

Compare Source

v7.36.0

Compare Source

v7.35.0

Compare Source

v7.34.2: Version 7.34.2

Compare Source

Revert "🧳 let isSubmitting state update after valid form (https://github.com/react-hook-form/react-hook-form/pull/8829)"

v7.34.1: Version 7.34.1

Compare Source

🐞 fix(path): keys of Date | FileList | File shouldn't be add to the PathImpl https://github.com/react-hook-form/react-hook-form/pull/8804
🐞 fix Date, FileList, File and Blob FieldErrors mapping #​8772
🚌 update isSubmitting state after valid form #​8829

function App() {
  const { formState: { isSubmitting }, register } = useForm()

  console.log(isSubmitting) // isSubmitting will remain false if form is invalid during submission

  return <form onSubmit={handleSubmit(async () => await sleep(1000))}>
    <input {...register('test', { required: true })} />
  </form>
}

🧃 upgrade to cypress 10 #​8769
📖 fix nested fields example #​8840
📖 add nested form example #​8703
📖 improve doc of single watch #​8773
📖 fixing typo (Contruído to Construído) on pt-BR translation #​8762

thanks to @​HarmonyEarth, @​yleflour, @​glekner, @​vemoo, @​ronny1020 and @​joaoeffting

v7.34.0

Compare Source

v7.33.1: Version 7.33.1

Compare Source

🐏 fix https://github.com/react-hook-form/react-hook-form/issues/8584: field errors type with optional fields (https://github.com/react-hook-form/react-hook-form/pull/8591)
🧳 close https://github.com/react-hook-form/react-hook-form/issues/8600 update code example for NestedValue input
🖼 Integrate jest-preview into react-hook-form (https://github.com/react-hook-form/react-hook-form/pull/8577)
🤓 improve the readability of Merge type (https://github.com/react-hook-form/react-hook-form/pull/8570)
🚝 test: migration from ts-jest to @​swc/jest (https://github.com/react-hook-form/react-hook-form/pull/8572)
🏹 refactor: use const instead of props (https://github.com/react-hook-form/react-hook-form/pull/8571)
🔍 feat: Add ability to search test file on watch mode (https://github.com/react-hook-form/react-hook-form/pull/8573)
🧘🏻 ensure the field is focused when selected (https://github.com/react-hook-form/react-hook-form/pull/8566)

thanks to @​nvh95, @​elstgav and @​kotarella1110

v7.33.0

Compare Source

v7.32.2: Version 7.32.2

Compare Source

🏋🏻 improve build dist package size (https://github.com/react-hook-form/react-hook-form/pull/8511)
🐞 fix https://github.com/react-hook-form/react-hook-form/issues/8506 delayError not overwrite existing function call (https://github.com/react-hook-form/react-hook-form/pull/8509)
📖 update the use of validadtionSchema in v7 examples (https://github.com/react-hook-form/react-hook-form/pull/8501)

thanks, @​bryantobing12

v7.32.1: Version 7.32.1

Compare Source

🐞 fix https://github.com/react-hook-form/react-hook-form/issues/8493 error not trigger with delayError (https://github.com/react-hook-form/react-hook-form/pull/8494)
🔍 fix null or undefined cases caught by TS ^4.8 (https://github.com/react-hook-form/react-hook-form/pull/8487)
🥸 funnel along with appropriate constraints for (upcoming) TypeScript 4.8 (https://github.com/react-hook-form/react-hook-form/pull/8484)

thanks to @​DanielRosenwasser

v7.32.0

Compare Source

v7.31.3: Version 7.31.3

Compare Source

🧑‍💻 Support TypeScript 4.7+ ESM (https://github.com/react-hook-form/react-hook-form/pull/8390)
🧾 Fix typo (https://github.com/react-hook-form/react-hook-form/pull/8389)
ℹ️ fix export types order
🪝 upgrade to TS 4.7 (https://github.com/react-hook-form/react-hook-form/pull/8402)
🕸 close https://github.com/react-hook-form/react-hook-form/issues/8404 use isWeb instead of globalThis (https://github.com/react-hook-form/react-hook-form/pull/8406)
🥬 save cloneObject bytes (https://github.com/react-hook-form/react-hook-form/pull/8407)

thanks to @​davbrito, @​rossng, @​hwanyoungChoi and @​Moshyfawn


Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" (UTC), 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Update one or more dependencies version label May 28, 2022
@vercel
Copy link

vercel bot commented May 28, 2022

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

Name Status Preview Comments Updated (UTC)
patches ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 2, 2023 0:33am

@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.31.3 chore(deps): update dependency react-hook-form to v7.32.0 Jun 10, 2022
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 916ef8a to 9881fed Compare June 10, 2022 14:05
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.32.0 chore(deps): update dependency react-hook-form to v7.32.1 Jun 14, 2022
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 9881fed to 4aca44a Compare June 14, 2022 14:59
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 4aca44a to c1306b5 Compare June 18, 2022 00:39
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.32.1 chore(deps): update dependency react-hook-form to v7.32.2 Jun 18, 2022
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from c1306b5 to 8a82080 Compare June 24, 2022 06:50
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.32.2 chore(deps): update dependency react-hook-form to v7.33.0 Jun 24, 2022
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 8a82080 to 7edf235 Compare July 1, 2022 11:34
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.33.0 chore(deps): update dependency react-hook-form to v7.33.1 Jul 1, 2022
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 7edf235 to f08cd5b Compare July 28, 2022 23:37
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.33.1 chore(deps): update dependency react-hook-form to v7.34.0 Jul 28, 2022
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from f08cd5b to 6f5c806 Compare September 25, 2022 19:05
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.34.0 chore(deps): update dependency react-hook-form to v7.36.1 Sep 25, 2022
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 6f5c806 to 507e778 Compare November 20, 2022 13:47
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.36.1 chore(deps): update dependency react-hook-form to v7.39.4 Nov 20, 2022
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 507e778 to 26947ee Compare March 16, 2023 06:44
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.39.4 chore(deps): update dependency react-hook-form to v7.43.5 Mar 16, 2023
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.43.5 chore(deps): update dependency react-hook-form to v7.43.7 Mar 23, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 26947ee to 023cd52 Compare March 23, 2023 19:52
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.43.7 chore(deps): update dependency react-hook-form to v7.43.8 Mar 25, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 023cd52 to 2fac940 Compare March 25, 2023 01:22
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.43.8 chore(deps): update dependency react-hook-form to v7.43.9 Mar 30, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 2fac940 to 59e59f2 Compare March 30, 2023 22:06
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.43.9 chore(deps): update dependency react-hook-form to v7.44.1 May 28, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 59e59f2 to 535a888 Compare May 28, 2023 09:06
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.44.1 chore(deps): update dependency react-hook-form to v7.44.2 May 29, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 535a888 to 5a52d64 Compare May 29, 2023 01:07
@renovate renovate bot changed the title chore(deps): update dependency react-hook-form to v7.44.2 chore(deps): update dependency react-hook-form to v7.44.3 Jun 2, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x branch from 5a52d64 to 6790bc6 Compare June 2, 2023 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update one or more dependencies version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants