Skip to content

Aviator 4.2.4 released

Compare
Choose a tag to compare
@killme2008 killme2008 released this 20 Sep 04:25
· 541 commits to master since this release

Main features:

  • Fixed #162 , long type promption error.
  • Fixed #166 , call varidic methods in java class.
  • Adds seq.array(clazz, arg1, arg2, ...) function to create an array of clazz type, seq.array(int, 1, 2, 3) for example that creates an int array new int[] {1, 2, 3}.
  • Adds annotations for importing java class methods:
    • Function for java method to set custom function name.
    • Ignore to ignore java method for importing.
    • Import annotation with new method AviatorEvaluatorInstance#importFunctions to set imported methods scope and namespace.
  • Breaking change: aviator generated bytecode version bump to Java 1.7
  • map and reduce function now support java.util.Map, the element type is Map.Entry, #164
  • Constant pool for constants(number/string etc.) to reduce CPU and memory consumption #167