Skip to content

Releases: elboman/proofed

0.2.2

21 Sep 11:08
Compare
Choose a tag to compare
0.2.2 Pre-release
Pre-release

Fix

  • 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

20 Sep 13:35
Compare
Choose a tag to compare
0.2.1 Pre-release
Pre-release

Added

  • handle(): handle function now accepts a second argument mapValue function. The function gets called with the event e as argument. (0b76074)

Changed:

  • getSubmit: function provided to getSubmit gets called with new arguments order: e(event), model, errors (49e3322)

0.1.4

08 Sep 15:57
Compare
Choose a tag to compare
0.1.4 Pre-release
Pre-release

Fix

  • isPristine(): Dirty checking is skipped when setting the default values for each node (86816c6)

0.1.3

07 Sep 13:18
Compare
Choose a tag to compare
0.1.3 Pre-release
Pre-release

Fix

  • Default Value: Default value can be anything (it may coerce to false) (44e5576)

0.1.2

24 Aug 15:38
Compare
Choose a tag to compare
0.1.2 Pre-release
Pre-release

Added

  • 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).

Fix

  • Lodash: fix import statements to work properly in TypeScript (234f967).

0.1.1

23 Aug 00:05
Compare
Choose a tag to compare
0.1.1 Pre-release
Pre-release

Added

  • ProofedComponent: add synthetic react event in submit event handler function (ddca262)

Changed

  • Lodash: import only needed function to reduce bundle size (671b46d)

0.1.0

22 Aug 17:25
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-release

First Release!