Skip to content

@henrylee2cn henrylee2cn released this Apr 19, 2019 · 1 commit to master since this release

*TagExpr.Range method support deep traversal of structures in map, slice and array

Assets 2

@henrylee2cn henrylee2cn released this Apr 19, 2019 · 3 commits to master since this release

fix: fix field pointer offset

Assets 2

@henrylee2cn henrylee2cn released this Apr 18, 2019 · 5 commits to master since this release

The field selector in the expression supports relative path instead of absolute path

Assets 2

@henrylee2cn henrylee2cn released this Apr 18, 2019 · 6 commits to master since this release

chore: Check interface fields when TagExpr.Range
fix: Don't panic when vm.Run method accepts nil parameter
chore: Use runtime type ID, support struct type, and improve performance by 25%

Assets 2

@henrylee2cn henrylee2cn released this Mar 22, 2019 · 12 commits to master since this release

Operator or Operand Explain
\\' Escape ' delims in string
\" Escape " delims in string
Assets 2

@henrylee2cn henrylee2cn released this Mar 22, 2019 · 14 commits to master since this release

Operator ! suitable for (), bool, string, float64, nil and $

Assets 2

@henrylee2cn henrylee2cn released this Mar 21, 2019 · 16 commits to master since this release

feat: Add RegFunc, support registers function expression, allows to force registration
feat: Function support "!" symbol
feat: Add helper method: vm.MustWarmUp and vm.MustRun
chore: Remove len(), keep len($)
feat(validator): Add RegValidateFunc registers validate function expression
feat(validator): Add email function expression
feat(validator): Add phone function expression

Assets 2

@henrylee2cn henrylee2cn released this Mar 20, 2019 · 23 commits to master since this release

  • feat: support expression '-$' and '+$'
  • feat: support "$['A']" and "$[0]" to select struct sub-field
  • fix: fix the vaule getter of unsupport type
Assets 2

@henrylee2cn henrylee2cn released this Feb 25, 2019 · 31 commits to master since this release

chore(expr selector): single model selector remove '@' suffix
style(error): error message: 'Invalid parameter' -> 'invalid parameter'

Assets 2

@henrylee2cn henrylee2cn released this Feb 3, 2019 · 34 commits to master since this release

feat: Support get any struct filed value
chore: Improve stability

Assets 2
You can’t perform that action at this time.