2.1.0 (2021-08-20)
- upgrade scope-eval to properly support function scope (52a2a58)
2.0.4 (2021-07-24)
2.0.3 (2021-07-09)
- avoid wrong cache (b388fe0)
2.0.2 (2021-07-09)
2.0.1 (2021-07-06)
1.3.3 (2020-09-15)
- support object value in within, notIn and unique validators (752c3f2)
2.0.0 (2021-07-06)
- use scope-eval and contextual-proxy to replace bcx-expression-evaluator (5944614)
- the expression behaviour is now different from bcx-expression-evaluator, notably not silent exception on accessing property of undefined.
1.3.3 (2020-09-15)
- support object value in within, notIn and unique validators (752c3f2)
1.3.2 (2020-05-19)
- babel after ncc to support es5 (1098763)
1.3.1 (2020-05-12)
- leave out external deps (d0ade98)
1.3.0 (2020-05-12)
- migrate from rollup to ncc (91732e4)
1.2.0 (2020-04-01)
- add global addTransformer and addValidator (280a6a1)
1.1.2 (2020-03-16)
- allow runtime validator option to access value of static option (7a3dd8e)
1.1.1 (2019-11-04)
1.1.0 (2019-10-11)
- support shared helpers with class method Validation.addHelper() (0163f13)
1.0.0 (2018-10-04)
0.4.0 (2018-08-25)
- use babel loose mode for faster/smaller code (dd3dac3)
0.3.7 (2018-07-24)
- in email validator, block Intranet email address user@server1 as it's rarely used nowadays (5104bce)
0.3.6 (2018-07-04)
- invalid url without domain (5861aaf)
0.3.5 (2018-07-04)
0.3.4 (2018-07-04)
0.3.3 (2018-05-17)
- support default case for switch transformer (fa7d579)
0.3.2 (2018-05-17)
- use original $value in error message override (a2ee09f)
0.3.1 (2018-05-17)
- support using function to override error message (b189c6d)
0.3.0 (2018-05-07)
0.3.0-0 (2018-05-07)
- doc moved to new site (aa5f110)
- support "if" transformer with "mandatory"/"notMandatory" rules (e055b56)
- support using any options and overridden value in message override (4b11519)
0.2.15 (2018-03-08)
- fix BABEL_ENV to development to fix npm installation directly from git. (5a89ed7)
0.2.14 (2018-01-30)
- better support of Aurelia cli. (9ab41d6)
- fix global name.
- add basic TypeScript support.
- improve performance by precompiling rules as much as possible.
- allow options to be used in value override on same validator.
- documentation.
- fixed a bug on option like {length: 2}, use
_.forOwn
not_.each
.
- update bcx-expression-evaluator for bug fix.
- refactor validators implementation. improve performance, allow overwrite existing validator.
- remove try/catch for better performance.
- fix an issue on user defined transformer. Transformers should have higher precedence than all validators.
- fix an issue on nested validation when propertyName cannot be used in dot notation (obj.123 syntax error).
- fix switch transformer bug on complex expression.
- fix broken 0.2.0 as it was accidentally published through npm v3 (missing npm prepare).
- better support of nested validation.
- better error report.
- add feature for override message to wrap existing errors.
- add api addHelper to add default helper.
- better use of aurelia binding scope
- support foreach on arry with simple value like ["a", "b"].
- fixed an issue on validating instance created by constructor.
- add generateValidator for building a function to validate model.
- fix typo.
- initial release.