Skip to content

AviatorScript 5.3.1

Compare
Choose a tag to compare
@killme2008 killme2008 released this 04 Apr 08:34
· 108 commits to master since this release

Main changes:

  • Adds new method AviatorEvaluatorInstance.aliasOperator(OperatorType, String) to set an alias token for logical && and || operator, read the doc.
  • Improve [] index operator and seq functions performance when processing arrays.
  • Fixed #431 Expression#getVariableNames returns wrong result in nested scope.
  • Fixed AviatorEvaluator.execute(String, Map) not work with global caching.

主要改动:

  1. 增加 AviatorEvaluatorInstance.aliasOperator(OperatorType, String) 方法用于给 &&|| 逻辑运算符定义别名,比如定义成 and 或者 or,参见文档
  2. 改进对数组的访问性能。
  3. 修复 #431Expression#getVariableNames 在处理嵌套范围的时候返回错误结果
  4. 修复 AviatorEvaluator.execute(String, Map) 方法不支持全局缓存的 bug