Skip to content

️ deps: Bump react-hook-form from 7.26.1 to 7.30.0

Yogi Bot requested to merge dependabot-npm_and_yarn-react-hook-form-7.30.0 into main

Bumps react-hook-form from 7.26.1 to 7.30.0.

Release notes

Sourced from react-hook-form's releases.

Version 7.30.0

Notes

🐣 determine checkbox group by defaultValues set as array value (react-hook-form/react-hook-form#7938)

useForm({
  defaultValues: {
    checkboxes: [], // register checkbox will be determine as array of checkboxes
  },
});
register('checkboxes'); // will return array as value

🧪 improve test cases with checkbox default value as array (react-hook-form/react-hook-form#7501) 📕 add fieldState invalid depreciation note (react-hook-form/react-hook-form#8202) improve getNodeParentName missing case(s) (react-hook-form/react-hook-form#8181) 🔨 support field array parents with numbers in name (react-hook-form/react-hook-form#8167) 💉 improve lib tests cases (react-hook-form/react-hook-form#8155)

Contributors

Thanks to contributors below

Version 7.29.0

️ update react 18 peer dep 📦 es2017 to es2018 (react-hook-form/react-hook-form#8066) Reduce 1% of package weight 🏃 avoid runtime error with compact (react-hook-form/react-hook-form#8094) 👋 goodbye omit (react-hook-form/react-hook-form#8079) 🐞 close react-hook-form/react-hook-form#8071 issue on shouldUnreigster mutate defaultValues (react-hook-form/react-hook-form#8078) ️ close react-hook-form/react-hook-form#8076 isMount flag issue with useEffect running twice with react 18 (react-hook-form/react-hook-form#8077) 🎧 close react-hook-form/react-hook-form#8071 clean up at useForm useEffect (react-hook-form/react-hook-form#8073)

Version 7.28.1

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

thanks to @​alexogar and @​Moshyfawn

Version 7.28.0

🏬 enable deps with string syntax (react-hook-form/react-hook-form#7901)

</tr></table> 

... (truncated)

Changelog

Sourced from react-hook-form's changelog.

[7.30.0] - 2022-4-17

Changed

  • improve checkboxes value determine by defaultValues
useForm({
  defaultValues: {
    checkboxes: [], // register checkbox will be determine as array of checkboxes
  },
});
register('checkboxes'); // will return array as value

[7.29.0] - 2022-3-30

Changed

  • tsconfig config change from es2017 to es2018

[7.28.0] - 2022-3-13

Changed

  • register API options deps now support string
register('test', { deps: 'test' });

[7.27.0] - 2022-2-11

Added

  • new option for setFocus to select the entire field value
setFocus('fieldName', { shouldSelect: true });

[7.25.2] - 2022-1-29

Changed

  • onTouched mode will honor focusout event

[7.25.0] - 2022-1-22

Added

... (truncated)

Commits

Merge request reports

Loading