From c44b2525757d769fcc23c9df95b47c22473801a4 Mon Sep 17 00:00:00 2001 From: Dennis Zhuang Date: Tue, 3 Oct 2023 19:06:37 +0800 Subject: [PATCH] feat: update readme --- README-EN.md | 3 ++- README.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README-EN.md b/README-EN.md index 611edb8d..5e93cc8a 100755 --- a/README-EN.md +++ b/README-EN.md @@ -22,15 +22,16 @@ It compiles script to java byte code and evaluate it on the fly. 6. [Call Java methods](https://www.yuque.com/boyan-avfmj/aviatorscript/xbdgg2?translate=en) conveniently,supports Java [Scripting API](https://www.yuque.com/boyan-avfmj/aviatorscript/bds23b?translate=en)。 7. A wide range of customization options to be used as a secure runtime scripting sandbox or full-featured scripting language. 8. Lightweight and high performance. ASM mode compile script into JVM bytecode on fly ,and [interpreter mode](https://www.yuque.com/boyan-avfmj/aviatorscript/ok8agx?translate=en) make it run on Android platform etc. +9. Supports compiled expression serialization, easy to cache etc. **Recommend version 5.2.6 and above.** # News +* [5.4.0](https://github.com/killme2008/aviatorscript/releases/tag/aviator-5.4.0),Fixed `elsif` parser errors,supports expression serialization([example](https://github.com/killme2008/aviatorscript/blob/master/src/test/java/com/googlecode/aviator/example/SerializeExample.java)) etc. * [5.3.3](https://github.com/killme2008/aviatorscript/releases/tag/aviator-5.3.3),fixed potential memory leak, wrong value captured by function etc. * [5.3.2](https://github.com/killme2008/aviatorscript/releases/tag/aviator-5.3.2),some bugs fixed, recommended to upgrade. -* [5.3.1](https://github.com/killme2008/aviatorscript/releases/tag/aviator-5.3.1),Supports logical operator alias and fixes some issues. # Dependency diff --git a/README.md b/README.md index f25fa33c..3c146084 100755 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ 6. 多种方式,方便地[调用 Java 方法](https://www.yuque.com/boyan-avfmj/aviatorscript/xbdgg2),完整支持 Java [脚本 API](https://www.yuque.com/boyan-avfmj/aviatorscript/bds23b)(方便从 Java 调用脚本)。 7. 丰富的定制选项,可作为安全的语言沙箱和全功能语言使用。 8. 轻量化,高性能,ASM 模式下通过直接将脚本翻译成 JVM 字节码,[解释模式](https://www.yuque.com/boyan-avfmj/aviatorscript/ok8agx)可运行于 Android 等非标 Java 平台。 +9. 支持编译后表达式序列化,方便缓存加速等。 使用场景包括: 1. 规则判断及规则引擎 @@ -32,9 +33,9 @@ # News +* [5.4.0](https://github.com/killme2008/aviatorscript/releases/tag/aviator-5.4.0),修复 `elsif` 语法解析错误,增加编译表达式序列化支持([例子](https://github.com/killme2008/aviatorscript/blob/master/src/test/java/com/googlecode/aviator/example/SerializeExample.java))等。 * [5.3.3](https://github.com/killme2008/aviatorscript/releases/tag/aviator-5.3.3),修复潜在内存泄露、变量捕获错误等 Bug。 * [5.3.2](https://github.com/killme2008/aviatorscript/releases/tag/aviator-5.3.2),一些 Bug 修复,推荐升级。 -* [5.3.1](https://github.com/killme2008/aviatorscript/releases/tag/aviator-5.3.1),逻辑运算符支持别名和 bug 修复等。 # Dependency