🎉 TL;DR: React 16 and Jest! 🎉
⚠️ Don't use this version if you're using ImmutableJS. Use v7.1.1
⚠️
Bug Fixes
- Update
Field
andFieldArray
name whensectionPrefix
has changed in thecontext
#3229 - Fixed bug where
FieldArray
was not rerendering afterswap()
#3409 - Fixed statics hoisting bug #3458 #2626 #2230
- Changed
immutable/deepEqual
to use===
likeplain/deepEqual
was #3479 #3357 - React 16 - Prevented
deepEqual
checks onprops.children
inshouldComponentUpdate()
, a huge performance boost #3480 #3461 #3481 - Fixed broken
checkbox
behavior #3482 #2857 #2922 #3162 #3437 - Fixed React Native
onChange
bug #3460 #3153 #3238 - Fixed
deepEqual()
bug to makenull != false
#3462 #2600 - Used
deepEqual()
to compareradio
inputs #3430 - Fixed
plugin()
API bug #3486 #2935
Flow Fixes
Features
- Added
name
parameter to field-level validator #3364 #3350 - Exported
FieldArray
propTypes
#3468 #2447 - Added
valuesMapper
toformValues
HOC #3432 - Separated
shouldValidate()
intoshouldError()
andshouldWarn()
, deprecatingshouldValidate()
#3464 #3449 #3485 - New
getFormError()
selector to get form-wide error #3483 #3463
Maintenance
- Migrated testing framework from
mjackson/expect
tofacebook/jest
. This was HUGE. Thanks, @skovhus!! - Upgraded all tests to React 16, also a huge undertaking.