v1.4.0
New Features
-
Form's
validations
property may now be a function. In this case it is called, and it's return result is used as object that describes validation rules. -
When validating nested forms, validator object will now check for reference on form object itself first. It is assumed that due to string refs deprecation nested forms with refs like
ref="nested"
are changed toref={ form => this.nested = form }
Other Updates
-
PropTypes
usage has been migrated from React ones toprop-types
package. 0070238 by @AleksandrZhukov -
Code that was responsible for deep attributes object updates with persistent immutability was extracted into separate package,
update-js
. BTW, it was extracted a while ago, and since then it obtained a bunch of features you may find useful. -
JSX syntax flaw example in README has been fixed. aa468f3 by @piton4eg
-
Small code style updates in demo app forms and other files.