Aviator 4.2.5 released
killme2008
released this
11 Oct 06:26
·
530 commits
to master
since this release
Main changes:
- Deprecated
AviatorEvaluator#exec
, please useAviatorEvaluator#execute
instead. - Function missing mechanism #170, #171, you can custom your own behaviours when calling function is not found by implement
FunctionMissing
interface. - A default function missing implementation
JavaMethodReflectionFunctionMissing
. With this handler, you can call any java class's public instance methods by reflection even when you don't import them. The example is here,but you have to pay performance cost(almost 3x times slower than implements custom functions). - New doc 调用 Java 方法和 Function Missing