Skip to content

Releases: final-form/react-final-form-arrays

v3.1.4

19 Oct 07:55
Compare
Choose a tag to compare
  • Fix mutator definition. add missing dep. write test for fix #172 #171

v3.1.3...v3.1.4

v3.1.3

21 Oct 10:24
v3.1.3
Compare
Choose a tag to compare

🎉 Support for React 17 as a peer dep! 🎉

v3.1.2...v3.1.3

v3.1.2

23 Jul 07:55
v3.1.2
Compare
Choose a tag to compare

Typing Fixes

  • Fix meta types. #130 #78
  • Fix flow libdefs file names #133
  • Fix UseFieldArrayConfig type definition #108 #97

v3.1.1...v3.1.2

v3.1.1

15 Aug 09:23
Compare
Choose a tag to compare

Bug Fixes

  • Add defaultValue and initialValue #98
  • Fixed FieldArray re-render on every change when subscription is empty object #100 #93
  • Make second argument in useFieldArray optional #105 #104
  • Documented and Typed fields.value #96 #95 #13

v3.1.0

14 Jun 14:27
v3.1.0
Compare
Choose a tag to compare

TypeScript Features

  • Added tsx generic typing for FieldArray (#88) 90c340a

Similar to [email protected], you can now specify the type of the objects in your array.

<FieldArray<{ firstName: string, lastName: string }> name="clients">{({fields}) => {
  // ...
  // fields.push({ firstName: 'Erik', lastName: 'Rasmussen' }) is strongly typed
}}</FieldArray>

Bug Fixes

  • export useFieldArray #89 #86

v3.0.0...v3.1.0

v3.0.0

28 May 10:54
v3.0.0
Compare
Choose a tag to compare

🎉 HOOKS!! 🎣

New Features

  • New useFieldArray hook that contains all of the internals of the FieldArray component.

Type Fixes

  • Added missing update function to TS definition for FieldArrayRenderProps #76

⚠️ Breaking Changes ⚠️

  • You will need upgrade your dependencies:
    • react: ^16.8.0
    • react-final-form: ^6.0.0
    • final-form: ^4.13.0
  • A new default isEqual function was added, so if you were, for some reason, relying on dirty always being false when no isEqual function was provided, your code might break. The new default function performs an === check on all the elements of the array. If you need deeper equality checks, that's up to you to provide.

v2.0.3

29 Mar 14:19
v2.0.3
Compare
Choose a tag to compare

v2.0.2...v2.0.3

v2.0.2

04 Mar 15:34
v2.0.2
Compare
Choose a tag to compare

v2.0.1...v2.0.2

v2.0.1

16 Nov 08:54
v2.0.1
Compare
Choose a tag to compare

Flow Fixes

  • Fixed flow problem with FieldArrayProps #53

v2.0.0

15 Nov 16:48
v2.0.0
Compare
Choose a tag to compare

Type Fixes

  • Added typings for isEqual #50

⚠️ Breaking Changes ⚠️