Skip to content

Releases: final-form/react-final-form-hooks

v2.0.2

19 Nov 16:54
v2.0.2
Compare
Choose a tag to compare
  • config not generic + pass form values to config (#57) 4c06b13
  • Remove unnecessarily 'np' dependency (#59) 7f4f35e

v2.0.1...v2.0.2

v2.0.1

12 Jul 13:27
v2.0.1
Compare
Choose a tag to compare

Bug Fixes

  • fix: validator infinite loops #46 #44

Type Fixes

  • Update typescript definition file #50

v2.0.0...v2.0.1

v2.0.0

01 May 14:27
v2.0.0
Compare
Choose a tag to compare

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

  • Adding eslint hooks plugin (#36)
  • Feature/add tests (#40)
  • 100% test coverage!

v1.0.1...v2.0.0

v1.0.1

04 Mar 20:49
v1.0.1
Compare
Choose a tag to compare

Bug Fixes

  • fix(useForm): Use memoize form instance of lazy getter. (#25) f6bde38
  • fix(useField): add form instance tracking (#27) 31634df

v1.0.0

06 Feb 21:24
Compare
Choose a tag to compare

🎉 Official Release 🎉

Bug Fixes

  • undefined check for converting values to '' #23 #22
  • Better event value checking on change #19

New Features

  • Sync options with form #20

Types

  • Better type defs #18

v1.0.0-alpha.2

23 Jan 16:15
v1.0.0-alpha.2
Compare
Choose a tag to compare

Features

  • Autofocus #8
  • Lazy form creation #14
  • Internal useFormState hook #15

Bug Fixes

  • Smarter onChange #4
  • Handle checkboxes and radio buttons better #9
  • Smarter resubscribe on useField #16

Types

  • Typescript definitions #5

v1.0.0-alpha.1

04 Nov 18:02
v1.0.0-alpha.1
Compare
Choose a tag to compare
v1.0.0-alpha.1 Pre-release
Pre-release

Bug Fixes

  • Fixed handleSubmit callback #1

Build cleanup

  • Removed old flow deps
  • Fixed vulnerabilities caught by Github and NPM