Releases: final-form/react-final-form-hooks
Releases · final-form/react-final-form-hooks
v2.0.2
v2.0.1
v2.0.0
Breaking Changes
useField
now accepts a field level validation function as the third parameter, bumping the subscription object to the fourth parameter.
If you had this in v1
:
useField('myField', form, { value: true, active: true })
It needs to become in v2
:
useField('myField', form, undefined, { value: true, active: true })
// ^^^^^^^^^^^ ADD THIS ✅
Bug Fixes
New Features
- Field level validation (#35)
Typing Inprovements
- [TS] Make useForm Config parameterized (#34)
Build Improvements
v1.0.1
v1.0.0
v1.0.0-alpha.2
v1.0.0-alpha.1
Bug Fixes
- Fixed
handleSubmit
callback #1
Build cleanup
- Removed old
flow
deps - Fixed vulnerabilities caught by Github and NPM