⬆ Bump react-hook-form from 7.49.3 to 7.63.0 in /frontend
Type: Pull Request
State: Open
Association: None
Comments: 0
(9 months ago)
(9 months ago)
dependencies javascript
Bumps react-hook-form from 7.49.3 to 7.63.0.
Release notes
Sourced from react-hook-form's releases.
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&@abnud11Version 7.62.0
👨🔧 prevent onBlur for readOnly fields (#12971) 🐞 fix #12988 sync two defaultValues after reset with new defaultValues (#12990) 🐞 fix: do not override prototype of data in cloneObject (#12985) 🐞 fix field name type conflict in nested FieldErrors (#12972)
thanks to
@candymask0712,@Adityapradh,@Ty3uK&@kichikawa57Version 7.61.1
Revert "⌨️ fix: watch return type based on defaultValue (#12896)"
Version 7.61.0
🧮 feat: compute prop for useWatch subscription (#12503)
- subscribe to the entire form but only return updated value with certain condition
type FormValue = { test: string; }const watchedValue = useWatch({
control: methods.control,
compute: (data: FormValue) => {
if (data.test?.length) {
return data.test;
}return '';},
});
- subscribe to a specific form value state
... (truncated)
Commits
b5b73297.63.086a7fb3🐞 fix: only excuse trigger function when deps has a valid array (#13056)4bfd420🏔️ chore: major dev deps upgrade (#13053)66b7daf🔩 chore: lib dev deps upgrade (#13051)62b26d8🐿️ chore: remove duplicated function isMessage (#13050)f66438a🦍 feat: improve get dirty fields logic (#13049)c33b4c7🐞 fix: unregister previous field when switching conditional Controllers (#13041)68685a3🧪 chore: upgrade typescript-eslint (#13008)2307e99🧪 test: add unit tests for append utility (#13025)b2a9545🥢 feat: extra form values by form state (#12936)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
2
+10
-11
Package Dependencies
react-hook-form
npm
7.49.3 → 7.63.0
Minor
/frontend
Technical Details
| ID: | 8099736 |
| UUID: | 2847563943 |
| Node ID: | PR_kwDOPHhu9c6pumCn |
| Host: | GitHub |
| Repository: | bigjohncodes/fullstack-fastapi |
| Merge State: | Unknown |