form-binder v0.10.0 Release NotesRelease Date: 2015-07-19 // over 6 years ago
♻️ Code refactor inspired by
InputModeas type parameter of
PreProcessors. Currently all constraints/pre-processors can be applied to all mappings, and only checked it at runtime.
touched checkerchanged from list of names to a function of
(name, data) => true|false, which accepts current field name and data map, and return true if touched, and false if not touched.
FormBindernot hold constraints/pre-processors any more. Let's attach them to related mapping definitions if necessary.
!!!WRANING: some broken changes were introduced. But I don't want to list the details here, since they are not big changes, and you can find and fix it easily when upgrading.