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.45.2 #175

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 19, 2023

Mend Renovate

This PR contains the following updates:

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

Release Notes

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

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

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

Compare Source

Revert "🪶 improve useFormContext perf by avoid reference re-create … …with omit (#​9407)"

v7.39.6: Version 7.39.6

Compare Source

🚀 fix fieldArray changes only notify relevant subscribers (#​9448)
🪶 improve useFormContext perf by avoid reference re-create with omit ( #​9407)
💆🏻 fix potential watch() global state overwrite (#​9450)
🦏 close #​9410 improve UX when subscribe to both isValid and errors state (#​9413)
🥨 added eslint rule for no-extra-boolean-cast (#​9449)

thanks to @​elton-okawa

v7.39.5

Compare Source

v7.39.4: Version 7.39.4

Compare Source

🐞 fix #​9366 useWatch with shadow clone Set data (#​9369)
🐞 fix #​9365 native validation error persists (#​9370)

v7.39.3: Version 7.39.3

Compare Source

🤦 fix #​9355 by revert "🥸 related #​9310 regression to include actual ref instead custom object ( #​9312)"

v7.39.2: Version 7.39.2

Compare Source

⌨️ close #​9339 objects of validation rules type (#​9341)
🥸 related #​9310 regression to include actual ref instead custom object ( #​9312)

v7.39.1: Version 7.39.1

Compare Source

Revert "🤯 use input reference instead custom object (#​9132)" (#​9311)

v7.39.0

Compare Source

v7.38.0

Compare Source

v7.37.0

Compare Source

v7.36.1: Version 7.36.1

Compare Source

🪲 fix #​9082 inconsistency between single/group of checkboxes disabled check state (#​9083)
🌡️ improve setFocus to prevent throw error (#​9081)

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

v7.31.2: Version 7.31.2

Compare Source

🐞 fix(reset): set isSubmitted to formState value if keepIsSubmitted is true (https://github.com/react-hook-form/react-hook-form/pull/8368)

thanks to @​blabute

v7.31.1: Version 7.31.1

Compare Source

🎭 close #​7472 include a proxy check with field state to improve useController perf (#​8334)
🐞 fix #​8339 Revert "🗑 remove the reference for blob and file list (https://github.com/react-hook-form/react-hook-form/pull/8305)"
🚮 remove dead code (#​8337)

thanks to @​NMinhNguyen

v7.31.0

Compare Source

v7.30.0

Compare Source

v7.29.0

Compare Source

v7.28.1: Version 7.28.1

Compare Source

🐞 fix https://github.com/react-hook-form/react-hook-form/issues/8050 disabled attribute ignored with register checkbox (https://github.com/react-hook-form/react-hook-form/pull/8053)
📦 update package.json to set sideEffect false (https://github.com/react-hook-form/react-hook-form/pull/8041)
🆙 TS 4.6.0 (https://github.com/react-hook-form/react-hook-form/pull/7623)
📖 fix replace API TSDoc for fieldArray

thanks to @​alexogar and @​Moshyfawn

v7.28.0

Compare Source

v7.27.1: Version 7.27.1

Compare Source

🐛 fix https://github.com/react-hook-form/react-hook-form/issues/7853 (useFieldArray): pass context type down to Control (https://github.com/react-hook-form/react-hook-form/pull/7856)
🐞 fix https://github.com/react-hook-form/react-hook-form/issues/7849 issue with unset on multiple dimension array (https://github.com/react-hook-form/react-hook-form/pull/7859)

thanks to @​Moshyfawn

v7.27.0

Compare Source

v7.26.1: Version 7.26.1

Compare Source

🐞 close https://github.com/react-hook-form/react-hook-form/issues/7758 useController should subscribe to exact field name (https://github.com/react-hook-form/react-hook-form/pull/7759)

thanks to @​Moshyfawn

v7.26.0: Version 7.26.0

Compare Source

📚 TSDoc

My.Movie.2.mp4

🐞 fix https://github.com/react-hook-form/react-hook-form/issues/7741 is validating reset when async validations are still running (https://github.com/react-hook-form/react-hook-form/pull/7747)
⛑ close https://github.com/react-hook-form/react-hook-form/issues/7717 shallow clone errors object in handleSubmit (https://github.com/react-hook-form/react-hook-form/pull/7718)
🍦 close https://github.com/react-hook-form/react-hook-form/issues/7703 don't expose internal state in handleSubmit (https://github.com/react-hook-form/react-hook-form/pull/7704)
🏋️ save bytes on parseFloat (https://github.com/react-hook-form/react-hook-form/pull/7697)

thanks to @​Moshyfawn and @​tiii

v7.25.3: Version 7.25.3

Compare Source

😭 close #​7686 regression on replace API and cloneObject on payload (#​7687)

v7.25.2

Compare Source

v7.25.1: Version 7.25.1

Compare Source

🐞 fix #​7662 issue with reset file input (#​7656)
🚗 improve perf with get proxy formState (#​7655)
🏋️ remove redundant check (#​7651)
🐞 fix #​7648 Unable to setFocus to Controller after reset (#​7649)
🐞 fix: getFieldState - error might be undefined (#​7636)
⛑ improve useFieldArray code consistency (#​7628)

thanks to @​Moshyfawn and @​michalbundyra

v7.25.0

Compare Source

v7.24.2: Version 7.24.2

Compare Source

😰 close #​7593 regression on fieldarray controller/useController unmount with unregister (#​7596)
🥸 fix type issue with getFieldState and useController (#​7574)

v7.24.1: Version 7.24.1

Compare Source

🖨 fix #​7571 cloneObject with setValue passed argument (#​7572)
🦺 unstable _getFieldState API for retrieve field level state (#​7475)
💻 fix build on Windows (#​7532)

thanks to @​felixschorer

v7.24.0

Compare Source

v7.23.0

Compare Source

v7.22.5: Version 7.22.5

Compare Source

Merry Christmas! 🎁 🔔🎄

🎳 fix: change type order to make typescript hints for watch available (#​7353)
🍂 close #​7341 allow useWatch to fallback to defaultValue with undefined (#​7360)
🐞 fix #​7347 defaultValues not populate with disabled input (#​7359)

thanks to @​pawk3k and @​felixschorer

v7.22.4: Version 7.22.4

Compare Source

⚔️ close #​7348 avoid errors state update with replace and update API (#​7349)
⌨️ include UnpackNestedValue for reset values (#​7286)
⌨️ close #​7338 update FieldNamesMarkedBoolean type to boolean instead of true (#​7340)

v7.22.3: Version 7.22.3

Compare Source

😿 fix #​7313 shouldUnregister prop with useController/controller after unmount (#​7317)

v7.22.2: Version 7.22.2

Compare Source

🐞 close #​7293 with async useFieldArray reset (#​7299)

v7.22.1: Version 7.22.1

Compare Source

🐞 fix #​7282 async reset within onSubmit formState update (#​7285)

v7.22.0

Compare Source

v7.21.2: Version 7.21.2

Compare Source

Revert "🏗️ build(esm): Use explicit .mjs extension for ESM (#​7244)"

thanks to @​evocateur

v7.21.1: Version 7.21.1

Compare Source

🪑 remove UnionLike type (#​7187)
🌊 useFieldArray deep nested object issue due to object reference (#​7240)
🏗️ build(esm): Use explicit .mjs extension for ESM (#​7244)
🎮 close #​7231 set deep nested value with controlled input via setValue (#​7232)

thanks to @​evocateur

v7.21.0

Compare Source

v7.20.5: Version 7.20.5

Compare Source

🐞 fix #​7174 issue with empty errors object prevent submit

v7.20.4: Version 7.20.4

Compare Source

Revert 🔢 fix #​7149 Supporting Number Object comparison in deepEqual (#​7150)

thanks to @​barrymay

v7.20.3

Compare Source

v7.20.2: Version 7.20.2

Compare Source

🐞 fix #​7090 shallow clone for object has no prototype methods (#​7096)
😮‍💨 revert module config (#​7095)
📦 change node engine to >= 12.0

thanks to @​barrymay

v7.20.1: Version 7.20.1

Compare Source

🥃 revert #​7016 and add type test coverage (#​7082)
🫀 close #​7079 flush update at the field array level before app/form-level (#​7080)

v7.20.0

Compare Source

v7.19.5: Version 7.19.5

Compare Source

🐞 fix #​7031 fast refresh (#​7035)

v7.19.4: Version 7.19.4

Compare Source

💅 close #​7023 issue with async useFieldArray actions (#​7029)
👁️ chore(useWatch): making the name a read-only array (#​7016)
⌨️ adds types for no supplied props argument (#​7017)
🤦🏻‍♂️ close #​7013 avoid shallow clone for the custom object (#​7014)

thanks to @​dborysov @​sfrieson

v7.19.3: Version 7.19.3

Compare Source

🐞 fix #​7011 reset API with shouldUnregister: true for controlled components (#​7012)

v7.19.2: Version 7.19.2

Compare Source

🐞 fix #​7009 fix fast refresh with controller (#​7010)
👍🏻 close #​7001 shouldUnregister: true with useController unmount defaultValue (#​7008)
🧠 close #​6994 issue with mutate original state with shouldUnreigster: true (#​6998)

v7.19.1: Version 7.19.1

Compare Source

🐞 fix #​6984 disabled input with register value (#​6985)
🤲 close #​6987 avoid shallow clone for object field (#​6988)

v7.19.0

Compare Source

v7.18.1

Compare Source

  • revert FieldPathWithValue

v7.18.0

Compare Source

v7.17.5: Version 7.17.5

Compare Source

✨ enable sharing form sections between forms in typescript (#​6807)
🐞 fix #​6834 clearErrors not reset isValid formState to true
⚠️ close #​6830 warning under strict mode with Controller formState update (#​6832)
🧪 include test coverage #​6826 (#​6827)
✨ add TypeScript support for optional array fields (#​6826)
👔 allow Jest VSCode extension to run successfully on startup (#​6810)

thanks to @​barrymay @​LinusU and @​SimonSelg


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 has been generated by Mend Renovate. View repository job log here.

@vercel
Copy link

vercel bot commented Jun 19, 2023

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

Name Status Preview Comments Updated (UTC)
next-saas-starter ❌ Failed (Inspect) Jul 17, 2023 2:03pm

@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 7b656c9 to 2154304 Compare June 28, 2023 11:49
@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 28, 2023
@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 17, 2023
@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 2154304 to 01ff865 Compare July 17, 2023 14:01
@renovate
Copy link
Contributor Author

renovate bot commented Jul 24, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (^7.17.4). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/react-hook-form-7.x-lockfile branch July 24, 2023 10:09
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.

1 participant