0.2.2 (2016-09-21)
- Proofed Component: You can now provide dynamic schema and the Proofed component with apply it when received. When applying the new schema model values for nodes are retained. When getting the model, only nodes that are present in the current schema are returned (7a72efe).
- Validation: When a node is updated, errors are calculated for every node, since they may depend on the node's new value. (974b3e7)
0.2.1 (2016-09-20)
- handle(): handle function now accepts a second argument
mapValue
function. The function gets called with the evente
as argument. (0b76074)
0.2.0 (2016-09-17)
- getSubmit: function provided to
getSubmit
gets called with new arguments order:e
(event),model
,errors
(49e3322)
0.1.4 (2016-09-08)
- isPristine(): Dirty checking is skipped when setting the default values for each node (86816c6)
0.1.3 (2016-09-07)
- Default Value: Default value can be anything (it may coerce to false) (44e5576)
0.1.2 (2016-08-24)
- Valid: add
isValid
API in order to check if specified node/whole model is valid in render function (c865961). - Errors: add
errors
API for listing single node/whole model errors in render function (ef2d297). - Validation rules: validation rules can take a second argument containing the whole model, for implementing advanced validation. (4143c8d).
- Exceptions: add error handling when path nodes or callback functions provided are undefined or not specified in validation schema (fdac7a4).
- Lodash: fix import statements to work properly in TypeScript (234f967).
0.1.1 (2016-08-23)
- ProofedComponent: add synthetic react event in
submit
event handler function (ddca262).
- Lodash: import only needed function to reduce bundle size (671b46d).