-
[BREAKING CHANGE] Value: value is now implemented as a cursor for value, serialized and validation data structures which are backed by immutable library.
It is now holds a callback which can be supplied at creation time. Consumers of a Value can notify produces by calling
notify()
method:value.update(newValue).notify()
-
[BREAKING CHANGE] Remove the use of React context mechanism.
As all needed data is now propagated through
Value
cursor viavalue
prop there's no need in context. -
[BREAKING CHANGE] Remove mixins.
All form components are now implemented as thin wrappers on top of base
<FormElement />
component thus rendering the need to abstract boilerplate needless.
- Fix bower package
- Update to React 0.11.0
- Fix bug with Value.swap().
- Fix bug with createComponentFromSchema (#36).
-
schema:
component
prop now can be a component instance. It will be handled asinput
prop. -
Form components (Field, Fieldset, RepeatingFieldset) now can receive
className
prop. -
Add "array" built-in type.
-
Add
.rf-Field--dirty
className when field has value (#33).
-
Form passes
update
object withschema
andpath
attributes toonChange
andonUpdate
callbacks. -
Read from pending state during
componentWillReceiveProps
.
- Call back to parent only after state update.
- Do not keep validation state when schema is updated.
- Fix schema API to allow falsy children (useful for {condition && <... />})
- Fix release 0.3.2
-
Fix IE8 compatibility (#17).
-
Fix schema changes weren't applied to a form (#27).
-
Remove deep freezing the value in development mode.
-
Bug fixes.
- Use BEM syntax for CSS class names.
-
Form/form element value is now consolidated together with validation state and serialized value in a single data structure which is accessible via
value()
method. -
Form value can be passed to form elements via
value
prop and not only via context as before. -
Add support for external validation via
externalValidation
property ofForm
component. -
Move documentation to Sphinx.
- Initial release.