Aviatorscript Versions Save

A high performance scripting language hosted on the JVM.

aviator-5.4.1

7 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/killme2008/aviatorscript/compare/aviator-5.3.3...aviator-5.4.1

aviator-5.4.0

7 months ago

Recommend using v5.4.1.

What's Changed

New Contributors

Full Changelog: https://github.com/killme2008/aviatorscript/compare/aviator-5.3.3...aviator-5.4.0

aviator-5.3.3

1 year ago

Main changes:

  • Fixed memory leak in lambda function caching #494 #481
  • Fixed wrong value captured by function #496
  • Adds seq.add_all(seq1, seq2) to add all elements of seq2 to seq1. #500

aviator-5.3.2

1 year ago

Several bugs fixed:

  • #466 constant folding do not work when operator is overrided
  • #484 Stackoverflow in ArrayUtils
  • #483 A corner case in parser.
  • #476 Expression#getVariableFullNames() returns the class names when the script has a new statement.

Thank you for all these bug reports.

It's recommended to upgrade.

aviator-5.3.1

2 years ago

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. 修复 #431 , Expression#getVariableNames 在处理嵌套范围的时候返回错误结果
  4. 修复 AviatorEvaluator.execute(String, Map) 方法不支持全局缓存的 bug

aviator-5.3.0

2 years ago

Release 5.3.0 officially, main changes:

  • Supports interpreter mode, you can use aviatorscript on android(or other not-standard JVM) right now. See InterpreterExample and doc. #403 #334 #29
  • Fixed assign and define operator can't work when enable TRACE_EVAL. #408
  • Implements ApplicationContextAware for SpringContextFunctionLoader. Now SpringContextFunctionLoader can be managed by spring container.

aviator-5.3.0-beta2

2 years ago

This is the 5.3.0 beta2 version.

Main changes:

  • Fixed NPE when loading constants in InterpretExpression.

aviator-5.3.0-beta

2 years ago

This is the 5.3.0 beta version.

Main changes:

  • Supports interpreter mode, you can use aviatorscript on android right now. InterpreterExample and doc. #403 #334 #29
  • Fixed assign and define operator can't work when enable TRACE_EVAL. #408

aviator-5.2.7

2 years ago

Main changes:

  • Fixed a concurrent issue in Expression#getVariableNames and Expression#getVariableFullNames.
  • Should throw no such property exception if property not found when using variable a.b.c dot syntax.

aviator-5.2.6

2 years ago

A strongly recommended upgrading version if you are using 5.x versions.

Main changes:

  • Fixed:
    • Anonymous function can't support variadic arguments.
    • continue statement not work with if/else or nested if statements #394
    • LambdaFunction ThreadLocal caching may leak environment context #392
  • New features:
    • New function: partial(f, &args) that takes a function f and fewer than the normal arguments to f, and returns a fn that takes a variable number of additional args. When called, the returned function calls f with args + additional args.
    • Use soft reference for caching reflection result #386
    • Added key info to exception message when sequence is null in seq.get function.