Full Changelog: 1.0.9...1.1.0
主要改变:
- 修复 Windows 下 luajit native 库索引错误问题
- 修复快速反射在生成字节码失败时报错, 并在生成失败时回退到标准的反射
- 添加更新检查器, 异步检查插件更新, 若网络请求未在一分钟内完成则将跳过更新检测
- 更新时自动重新下载依赖库文件, 防止依赖库过时导致的崩溃
- 添加 Lua API
registerRawCommand用于快速注册单个指令 - Lua虚拟机在Panic时将会给予更多的错误信息
- 添加新的 bStats 表格, 用于统计所使用的 Lua 版本
- 将 ILuaStateManager 作为 Service 注册进 Bukkit
- 添加了 Luacage 包管理器, 以及配套指令
/luacage - 若干其他更改
- Lua 代码自动补全支持
Major Changes:
- Fixed indexing errors in the LuaJIT native library on Windows
- Fixed fast reflection errors when bytecode generation fails, falling back to standard reflection during generation failures
- Added an update checker that asynchronously checks for plugin updates; skips checks if network requests take longer than one minute
- Automatically redownloads dependency files during updates to prevent crashes caused by outdated dependencies
- Added Lua API
registerRawCommandfor quick registration of individual commands - Lua VM now provides more detailed error messages during panic states
- Added new bStats table to track usage statistics of Lua versions
- Registered ILuaStateManager as a Service within Bukkit
- Added Luacage package manager with corresponding command
/luacage - Several other changes
- Lua code auto-completion support