module-federation / federation-dashboard

Dashboard service to command, control, and visualize module federation based systems
federation-dashboard-alpha.vercel.app
Apache License 2.0
19 stars 5 forks source link

Update dependency react-hook-form to v7 #311

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-hook-form (source) ^6.0.3 -> ^7.0.0 age adoption passing confidence

Release Notes

react-hook-form/react-hook-form ### [`v7.11.1`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.11.1) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.11.0...v7.11.1) 🐛 fix [#​5944](https://togithub.com/react-hook-form/react-hook-form/issues/5944) reset issue with unmounted useFieldArray ([#​5954](https://togithub.com/react-hook-form/react-hook-form/issues/5954)) 🐛 fix [#​5942](https://togithub.com/react-hook-form/react-hook-form/issues/5942) case when value is supplied as null/undefined ⌨️ close [#​5928](https://togithub.com/react-hook-form/react-hook-form/issues/5928) improve useWatch and watch types ([#​5945](https://togithub.com/react-hook-form/react-hook-form/issues/5945)) 🎮 fix [#​5936](https://togithub.com/react-hook-form/react-hook-form/issues/5936) regression with controller value transform ([#​5937](https://togithub.com/react-hook-form/react-hook-form/issues/5937)) ### [`v7.11.0`](https://togithub.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md#​7110---2021-07-13) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.10.1...v7.11.0) ### [`v7.10.1`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.10.1) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.10.0...v7.10.1) 🗝️ fix [#​5808](https://togithub.com/react-hook-form/react-hook-form/issues/5808) DeepMap extend issue with File ([#​5813](https://togithub.com/react-hook-form/react-hook-form/issues/5813)) 🕵️ fix [#​5816](https://togithub.com/react-hook-form/react-hook-form/issues/5816) variable name typo in useController ### [`v7.10.0`](https://togithub.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md#​7100---2021-07-02) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.9.0...v7.10.0) ### [`v7.9.0`](https://togithub.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md#​790---2021-06-19) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.8.8...v7.9.0) ### [`v7.8.8`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.8.8) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.8.7...v7.8.8) 🐞 fix [#​5627](https://togithub.com/react-hook-form/react-hook-form/issues/5627) defaultValue reset inconsistent with setValueAs ([#​5634](https://togithub.com/react-hook-form/react-hook-form/issues/5634)) ### [`v7.8.7`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.8.7) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.8.6...v7.8.7) 🐞 fix [#​5623](https://togithub.com/react-hook-form/react-hook-form/issues/5623) Controller unmount to skip validation ([#​5624](https://togithub.com/react-hook-form/react-hook-form/issues/5624)) ### [`v7.8.6`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.8.6) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.8.5...v7.8.6) 🐞 fix [#​5611](https://togithub.com/react-hook-form/react-hook-form/issues/5611) should not update dirty fields with blur event ([#​5614](https://togithub.com/react-hook-form/react-hook-form/issues/5614)) 🐞 fix [#​5612](https://togithub.com/react-hook-form/react-hook-form/issues/5612) trigger() always return true ([#​5613](https://togithub.com/react-hook-form/react-hook-form/issues/5613)) ### [`v7.8.5`](https://togithub.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md#​785---2021-06-15) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.8.4...v7.8.5) ##### Change - `useController` no longer access input `ref` except `focus` event for focus management ### [`v7.8.4`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.8.4) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.8.3...v7.8.4) 🐞 fix [#​5555](https://togithub.com/react-hook-form/react-hook-form/issues/5555) register deeply nested field append with strict mode ([#​5580](https://togithub.com/react-hook-form/react-hook-form/issues/5580)) 🐛 fix [#​5566](https://togithub.com/react-hook-form/react-hook-form/issues/5566) should unregister inputs when useFieldArray unmounted ([#​5579](https://togithub.com/react-hook-form/react-hook-form/issues/5579)) 🔢 fix [#​5568](https://togithub.com/react-hook-form/react-hook-form/issues/5568) include . for a precise focus index lookup ([#​5578](https://togithub.com/react-hook-form/react-hook-form/issues/5578)) 🕵️‍♀️ improve logic on register absent inputs ([#​5556](https://togithub.com/react-hook-form/react-hook-form/issues/5556)) 👮 fix [#​5538](https://togithub.com/react-hook-form/react-hook-form/issues/5538) type error with setError shouldFocus ### [`v7.8.3`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.8.3) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.8.2...v7.8.3) 🐛 fix [#​5527](https://togithub.com/react-hook-form/react-hook-form/issues/5527) resolver switching ([#​5530](https://togithub.com/react-hook-form/react-hook-form/issues/5530)) ### [`v7.8.2`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.8.2) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.8.1...v7.8.2) 🐛 fix [#​5507](https://togithub.com/react-hook-form/react-hook-form/issues/5507) register with value issue ([#​5511](https://togithub.com/react-hook-form/react-hook-form/issues/5511)) ### [`v7.8.1`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.8.1) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.8.0...v7.8.1) 🐛 fix [#​5499](https://togithub.com/react-hook-form/react-hook-form/issues/5499) issue with controller defaultValue overwrite defaultValues at useForm ([#​5500](https://togithub.com/react-hook-form/react-hook-form/issues/5500)) ### [`v7.8.0`](https://togithub.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md#​780---2021-06-5) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.7.1...v7.8.0) ##### Added - `setValue` support `shouldTouch` to update formState touchFields ```tsx setValue('firstName', 'value', { shouldTouch: true }); ``` - `register` now accept `value` as option ```tsx register('firstName', { value: 'value' }); ``` ### [`v7.7.1`](https://togithub.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md#​771---2021-05-30) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.7.0...v7.7.1) ##### Fixed - `shouldUnregister: false` should not shallow merge or register absent input fields from `defaultValues` ### [`v7.7.0`](https://togithub.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md#​770---2021-05-29) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.6.10...v7.7.0) ##### Added - `trigger` support focus with error input ```ts trigger('inputName', { shouldFocus: true }); ``` ##### Changed - `handleSubmit` will `throw` error within the onSubmit callback ### [`v7.6.10`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.6.10) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.6.9...v7.6.10) 🐞 close [#​5379](https://togithub.com/react-hook-form/react-hook-form/issues/5379) getFieldValueAs return undefined when supplied with undefined ([#​5381](https://togithub.com/react-hook-form/react-hook-form/issues/5381)) 🐛 fix [#​5382](https://togithub.com/react-hook-form/react-hook-form/issues/5382) trigger() return incorrect valid state ([#​5383](https://togithub.com/react-hook-form/react-hook-form/issues/5383)) ### [`v7.6.9`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.6.9) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.6.8...v7.6.9) 🐛 fix [#​5366](https://togithub.com/react-hook-form/react-hook-form/issues/5366) inline defaultValue validation ([#​5376](https://togithub.com/react-hook-form/react-hook-form/issues/5376)) ⌨️ improve controller defaultValue prop type ([#​5375](https://togithub.com/react-hook-form/react-hook-form/issues/5375)) 🏋🏻‍♀️ reduce logic with value check ([#​5356](https://togithub.com/react-hook-form/react-hook-form/issues/5356)) ### [`v7.6.8`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.6.8) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.6.7...v7.6.8) 🐞 fix [#​5361](https://togithub.com/react-hook-form/react-hook-form/issues/5361) remove check field logic for getFieldValues ([#​5363](https://togithub.com/react-hook-form/react-hook-form/issues/5363)) 🐞 fix [#​5277](https://togithub.com/react-hook-form/react-hook-form/issues/5277) Update value when switch to enabled from initial disabled state ([#​5350](https://togithub.com/react-hook-form/react-hook-form/issues/5350)) 📦 update typescript and remove object define in useController ([#​5353](https://togithub.com/react-hook-form/react-hook-form/issues/5353)) ### [`v7.6.7`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.6.7) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.6.6...v7.6.7) 🐞 fix [#​5344](https://togithub.com/react-hook-form/react-hook-form/issues/5344) avoid re-register inputs ([#​5345](https://togithub.com/react-hook-form/react-hook-form/issues/5345)) 👌 close [#​5283](https://togithub.com/react-hook-form/react-hook-form/issues/5283) useFieldArray issue with restrict mode ([#​5331](https://togithub.com/react-hook-form/react-hook-form/issues/5331)) 🏋🏻‍♀️ save esm bundle size ([#​5327](https://togithub.com/react-hook-form/react-hook-form/issues/5327)) ⌨️ accept readonly field path arrays ([#​5317](https://togithub.com/react-hook-form/react-hook-form/issues/5317)) ### [`v7.6.6`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.6.6) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.6.5...v7.6.6) 🐛 fix [#​5300](https://togithub.com/react-hook-form/react-hook-form/issues/5300) issue with register absent deep nested object ([#​5302](https://togithub.com/react-hook-form/react-hook-form/issues/5302)) 🕵️ close [#​5297](https://togithub.com/react-hook-form/react-hook-form/issues/5297) issue with get with empty path ([#​5298](https://togithub.com/react-hook-form/react-hook-form/issues/5298)) ### [`v7.6.5`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.6.5) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.6.4...v7.6.5) 🐞 fix [#​5286](https://togithub.com/react-hook-form/react-hook-form/issues/5286) `useWatch` with fieldArray inconsistent behaviour ([#​5287](https://togithub.com/react-hook-form/react-hook-form/issues/5287)) ### [`v7.6.4`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.6.4) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.6.3...v7.6.4) 🐞 fix [#​5276](https://togithub.com/react-hook-form/react-hook-form/issues/5276) setValue with null ([#​5278](https://togithub.com/react-hook-form/react-hook-form/issues/5278)) ### [`v7.6.3`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.6.3) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.6.2...v7.6.3) 🐞 fix [#​5246](https://togithub.com/react-hook-form/react-hook-form/issues/5246) useFieldArray with nested arrays throws error ([#​5251](https://togithub.com/react-hook-form/react-hook-form/issues/5251)) 🐞 fix [#​5262](https://togithub.com/react-hook-form/react-hook-form/issues/5262) register checkbox issue with absent register ([#​5263](https://togithub.com/react-hook-form/react-hook-form/issues/5263)) ### [`v7.6.2`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.6.2) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.6.1...v7.6.2) 🐞 fix [#​5234](https://togithub.com/react-hook-form/react-hook-form/issues/5234) should render error logic for valid state ([#​5235](https://togithub.com/react-hook-form/react-hook-form/issues/5235)) ⌨️ fix missing-register-options-generic-type ([#​5238](https://togithub.com/react-hook-form/react-hook-form/issues/5238)) ### [`v7.6.1`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.6.1) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.6.0...v7.6.1) 🐞 fix [#​5229](https://togithub.com/react-hook-form/react-hook-form/issues/5229) issue with ref becomes undefined ([#​5233](https://togithub.com/react-hook-form/react-hook-form/issues/5233)) 🐎 improve multiple useWatch performances ([#​5210](https://togithub.com/react-hook-form/react-hook-form/issues/5210)) 🏑 close [#​5208](https://togithub.com/react-hook-form/react-hook-form/issues/5208) useFieldArray nested object with React.StrictMode ([#​5209](https://togithub.com/react-hook-form/react-hook-form/issues/5209)) ### [`v7.6.0`](https://togithub.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md#​760---2021-05-15) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.5.3...v7.6.0) ##### Changed - `useForm` will `register` missing inputs from `defaultValues` ```tsx const App = () => { const { register, handleSubmit } = useForm({ defaultValues: { test: { firstName: 'bill', lastName: 'luo' }, }, }); const onSubmit = (data) => { // missing registered input will be included console.log(data); // { test: { firstName: 'bill', lastName: 'luo' } } }; return (

Configuration

📅 Schedule: At any time (no schedule defined).

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

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.

changeset-bot[bot] commented 3 years ago

⚠️ No Changeset found

Latest commit: 492aa7de88cc77eda9b42e6b253c5ab77cce6a7e

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

renovate[bot] commented 3 years ago

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 7.x releases. However, if you upgrade to 7.x manually then Renovate will reenable minor and patch updates automatically.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.