Skip to content

Latest commit

 

History

History
332 lines (136 loc) · 8.79 KB

CHANGELOG.md

File metadata and controls

332 lines (136 loc) · 8.79 KB

2.1.0 (2021-08-20)

Bug Fixes

  • upgrade scope-eval to properly support function scope (52a2a58)

2.0.4 (2021-07-24)

2.0.3 (2021-07-09)

Bug Fixes

2.0.2 (2021-07-09)

2.0.1 (2021-07-06)

1.3.3 (2020-09-15)

Bug Fixes

  • support object value in within, notIn and unique validators (752c3f2)

2.0.0 (2021-07-06)

Features

  • use scope-eval and contextual-proxy to replace bcx-expression-evaluator (5944614)

BREAKING CHANGES

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

Bug Fixes

  • support object value in within, notIn and unique validators (752c3f2)

1.3.2 (2020-05-19)

Bug Fixes

  • babel after ncc to support es5 (1098763)

1.3.1 (2020-05-12)

Bug Fixes

  • leave out external deps (d0ade98)

1.3.0 (2020-05-12)

Features

  • migrate from rollup to ncc (91732e4)

1.2.0 (2020-04-01)

Features

  • add global addTransformer and addValidator (280a6a1)

1.1.2 (2020-03-16)

Bug Fixes

  • allow runtime validator option to access value of static option (7a3dd8e)

1.1.1 (2019-11-04)

Bug Fixes

  • allow if transformer to access custom options (75cda2b), closes #3

1.1.0 (2019-10-11)

Features

  • support shared helpers with class method Validation.addHelper() (0163f13)

1.0.0 (2018-10-04)

0.4.0 (2018-08-25)

Features

  • use babel loose mode for faster/smaller code (dd3dac3)

0.3.7 (2018-07-24)

Features

  • in email validator, block Intranet email address user@server1 as it's rarely used nowadays (5104bce)

0.3.6 (2018-07-04)

Bug Fixes

  • invalid url without domain (5861aaf)

0.3.5 (2018-07-04)

0.3.4 (2018-07-04)

Features

  • add URL validator (2a8edcd)
  • support case insensitive match for within/notIn validators (44c157a)

0.3.3 (2018-05-17)

Features

  • support default case for switch transformer (fa7d579)

0.3.2 (2018-05-17)

Bug Fixes

  • use original $value in error message override (a2ee09f)

0.3.1 (2018-05-17)

Features

  • support using function to override error message (b189c6d)

0.3.0 (2018-05-07)

0.3.0-0 (2018-05-07)

Features

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

Bug Fixes

  • fix BABEL_ENV to development to fix npm installation directly from git. (5a89ed7)

0.2.14 (2018-01-30)

Features

  • better support of Aurelia cli. (9ab41d6)

0.2.13 - 11/Sep/2017

  • fix global name.

0.2.12 - 16/Aug/2017

  • add basic TypeScript support.

0.2.11 - 10/Aug/2017

  • improve performance by precompiling rules as much as possible.

0.2.10 - 02/Aug/2017

  • allow options to be used in value override on same validator.

0.2.9 - 08/Jun/2017

  • documentation.

0.2.8 - 06/Jun/2017

  • fixed a bug on option like {length: 2}, use _.forOwn not _.each.

0.2.7 - 02/Jun/2017

  • update bcx-expression-evaluator for bug fix.

0.2.6 - 02/Jun/2017

  • refactor validators implementation. improve performance, allow overwrite existing validator.

0.2.5 - 01/Jun/2017

  • remove try/catch for better performance.

0.2.4 - 22/May/2017

  • fix an issue on user defined transformer. Transformers should have higher precedence than all validators.

0.2.3 - 18/May/2017

  • fix an issue on nested validation when propertyName cannot be used in dot notation (obj.123 syntax error).

0.2.2 - 02/May/2017

  • fix switch transformer bug on complex expression.

0.2.1 - 30/Apr/2017

  • fix broken 0.2.0 as it was accidentally published through npm v3 (missing npm prepare).

0.2.0 - 30/Apr/2017

  • better support of nested validation.

0.1.7 - 21/Apr/2017

  • better error report.

0.1.6 - 21/Apr/2017

  • add feature for override message to wrap existing errors.

0.1.5 - 21/Apr/2017

  • add api addHelper to add default helper.

0.1.4 - 21/Apr/2017

  • better use of aurelia binding scope
  • support foreach on arry with simple value like ["a", "b"].

0.1.3 - 20/Apr/2017

  • fixed an issue on validating instance created by constructor.

0.1.2 - 20/Apr/2017

  • add generateValidator for building a function to validate model.

0.1.1 - 20/Apr/2017

  • fix typo.

0.1.0 - 20/Apr/2017

  • initial release.