chore(deps): update dependency react-hook-form to v7.66.0
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| react-hook-form (source) | 7.62.0 -> 7.66.0 |
Release Notes
react-hook-form/react-hook-form (react-hook-form)
v7.66.0
v7.65.0: Version 7.65.0
🧿 feat: <Watch /> component (#12986)
import { useForm, Watch } from 'react-hook-form';
const App = () => {
const { register, control } = useForm();
return (
<div>
<form>
<input {...register('foo')} />
<input {...register('bar')} />
</form>
{/* re-render only when value of `foo` changes */}
<Watch
control={control}
names={['foo']}
render={([foo]) => <span>{foo}</span>}
/>
</div>
);
};
🐞 fix: respect parent-provided useFieldArray rules (#13082) (#13083
🐞 fix: getDirtyFields submit fields with null values when using useForm (#13079)
thanks to @tesseractjh, @Han5991 & @jonathanarnault
v7.64.0: Version 7.64.0
🚏 Support optional array fields in PathValueImpl type (#13057)
🐞 fix: preserve Controller's defaultValue with shouldUnregister prop (#13063)
✂ chore: remove unused field ids ref in useFieldArray (#13066)
thanks to @MPrieur-chaps, @gynekolog & @uk960214
v7.63.0: Version 7.63.0
🥢 feat: extract form values by form state (#12936)
getValues(undefined, { dirtyFields: true }); // return only dirty fields
getValues(undefined, { touchedFields: true }); // return only touched fields
🦍 feat: improve get dirty fields logic (#13049) 🐿️ chore: remove duplicated function isMessage (#13050) 🐞 fix: use field name to update isValidating fields (#13000) 🐞 fix: unregister previous field when switching conditional Controllers (#13041) 🐞 fix: only excuse trigger function when deps has a valid array (#13056)
thanks to @candymask0712, @GorkemKir, @kimtaejin3, @m2na7 & @abnud11
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.
Deploy Preview for commandkit canceled.
| Name | Link |
|---|---|
| Latest commit | 2d99bb298c5371965eaf83289831bddba2389891 |
| Latest deploy log | https://app.netlify.com/projects/commandkit/deploys/6930f76996de4d00083ca538 |