主要改变:
- Folia 服务端支持: feat: Folia support, add build params -PFoliaSupport to support Fol…, fix: folia scheduler cancel schedule method.
- Lua 脚本修改后自动重载: feat: auto reload scripts when it was modified
- Lua 脚本将能够调用 Java 接口定义的默认方法, 并且能够支持配置Lua环境在寻找到多个匹配的方法时的行为: update luajava
- 添加新的API使得能够在 Lua 中自由切换Lua环境在寻找到多个匹配的方法时的行为: feat: add new lua api to switch luajava behavior on searched multi ja…
- 当第一次初始化插件时, 会生成样例 Lua 脚本文件: feat: add default test.lua file when first initialize plugin config
- 添加快速反射支持: feat: fast reflection util for invoke method, get/set field, fix: return null if return type is void & lambda instance class canno…, feat: first part fo FastReflection for LuaJavaApi, feat: bump luajava, fix: update luajava-java8.patch, fix: detect lambda instance and generate method accessor of superclas…, feat: remove lua debug hook for lua state in LuaPool.
- 移除Lua环境全局变量分隔: remove lua _G table split
- 修复 emoji 代理对无法正常识别问题: fix: bump luajava fix emoji
- 修复 Lua 池实现过程中导致的栈不平衡及随机崩溃问题: fix: LuaPool source lua state stack imbalance & LuaPool destination l…, fix: PooledLuaCallable implement IInnerLuaObject, perf: remove thread pool in LuaPool
- 修复停用插件时, 无法正常关闭异步线程以及Bukkit事件问题: feat: scheduler interface add new method to cancel all tasks, fix: unregister event and cancel all tasks when disable plugin
- 修复反射缓存在多线程下报错问题: fix: use Collections.synchronizedMap wrap cache