form-binder v0.8.0 Release Notes
Release Date: 2014-11-02 // over 9 years ago-
⚠ 1. change interface
Constraint
to(name, data, messages, options) => errors
, and now it can be applied to both mappings andFormBinder
(!!!WARNING: broken change for extension developers) ⚠ 2. merge/change interfacesPreProcessor
/BulkPrePrecessor
to(prefix, data, options) => data
, and now it can be applied to bothFormBinder
and mappings (!!!WARNING: broken change for extension developers)- rename
pipe_:
to>-:
(!!!WARNING: broken change for normal developers) ⚠ 4. change pre-processorexpandJsonData(sourceKey[, destPrefix])
toexpandJsonString([sourceKey][, destPrefix])
, and now it can be applied to all mappings andFormBinder
(!!!WARNING: broken change for normal developers) - add constraint
numArrayIndex
, used to validate illegal array index, likeaaa[t123]
✨ 6. enhance constraintrequired
, and now it can be applied to both field mappings and group mappings - add built-in field mapping
json4s
- add
InputMode
to help restrict aConstraint
/PreProcessor
can accept one input string or multiple input strings or both (for extension developers)
- rename