Skip to content

Releases: final-form/final-form-arrays

v3.1.0

13 Jan 10:33
Compare
Choose a tag to compare
  • Update peer dependency of react final-form as required by #61 7f7fbab
  • Merge pull request #61 from huan086/fix/mutators a9be6b5
  • Optimize move, removing the need to move field state to a temporary field or looping over fields many times. 71bebc7
  • Change pop mutator to call remove mutator. Change remove and removeBatch behavior to set array value to undefined when all items have been removed. d7c4856
  • Optimize swap, removing the need to move field state to a temporary field. c7bf418
  • Fix insert mutator removing fields unexpectedly. b32b947
  • Fix removeBatch mutator removing more fields than expected. 935fb43
  • Fix remove mutator removing more fields than expected. Revert changes from #39 that moves fieldSubscribers, causing the wrong field to be notified. f69ab19
  • fix(remove): submit errors are not removed on "fields.remove" call (#48) 916b720
  • fix: flow libdefs naming (#52) 7e27b5c

v3.0.2...v3.1.0

v3.0.2

20 Nov 10:04
v3.0.2
Compare
Choose a tag to compare

Bug Fixes

  • Escape regex tokens within field names #38 #37
  • When removing fields, rename new ones #39
  • Improved move implementation with complex different shapes #41 #19

Typing Fixes

  • Broaden mutator type to any #40

v3.0.1...v3.0.2

v3.0.1

17 Jul 12:41
v3.0.1
Compare
Choose a tag to compare
  • Fixed myriad bugs with moving field state #35 #28

v3.0.0...v3.0.1

v3.0.0

15 Jul 16:49
v3.0.0
Compare
Choose a tag to compare

⚠️ The only reason this is a major version bump is because it now requires [email protected] ⚠️

There should be no real breaking changes, and, in fact, many bug fixes.

  • Used resetFieldState to fix insert and unshift bugs #34 #21
  • pop() wasn't removing field meta state #33

v2.0.0...v3.0.0

v2.0.0

13 Jul 19:33
v2.0.0
Compare
Choose a tag to compare

⚠️ The only reason this is a major version bump is because it now requires [email protected] ⚠️

There should be no real breaking changes, and, in fact, many bug fixes.

  • Fixed some bugs using final-form's new forceUpdate flag #32

v1.2.0...v2.0.0

v1.2.0

13 Jul 13:21
v1.2.0
Compare
Choose a tag to compare

New Features

  • Two new mutators: concat and removeBatch #27 #30

Bug Fixes

  • Fixed moving of fields of different shapes #31 #20 #19
  • Smarter field state management during insert and remove #29

v1.1.2...v1.2.0

v1.1.2

07 Feb 15:11
Compare
Choose a tag to compare

Build fixes

  • Updated dependencies to remove vulnerabilities.

v1.1.1

10 Dec 18:05
v1.1.1
Compare
Choose a tag to compare

Bug Fixes

  • Fix move/swap breaking input fields #16 #15 #10

v1.1.0

23 Aug 15:51
v1.1.0
Compare
Choose a tag to compare

Bug Fixes

  • Fixed bug where field state was not getting moved during move and swap operations. #14 #10

New Features

  • New update mutator to update a specific value in the array. #13 #12

v1.0.4

23 Jan 15:38
Compare
Choose a tag to compare

Typescript fixes

  • Added missing index.d.ts #7
  • Added ts fixes and tests #8