Skip to content

release: 发布 Lua Support 0.3.1 - #7

Merged
xiaoyumuxi merged 1 commit into
mainfrom
release/v0.3.1
Nov 4, 2026
Merged

xiaoyumuxi merged 1 commit into
mainfrom
release/v0.3.1

Conversation

@xiaoyumuxi

Copy link
Copy Markdown
Contributor

改动

  • plugin.json 版本 0.3.0 → 0.3.1。
  • README 兼容性说明:原文写“需要最新 macOS Lithe preview”,改为“Lithe 0.6.7 或更高版本(含 preview)”。

0.3.1 包含的功能变化(已在 #6 合入)

  • LuaLS 的 warn/error 日志改写到宿主传入的 ${logDir}(当前日志会话的 plugins/io.github.lithe-idea.lua-support/files/),不再写 ~/Library/Caches/.../log。
  • pluginAPIVersion 1 → 2(${logDir} 启动模板变量需要 API 2)。

兼容性核对

稳定版 v0.6.7 已包含 #1676(日志 v2 PR3),MacServiceContainer 会给插件语言服务器传 logDirectory,所以 0.3.1 可以作为正式版发布,Store 自动追踪会收录。Lithe 0.6.6 及更早版本不传 logDirectory,按契约会拒绝启动 LuaLS,发版说明里会写明需要 0.6.7。

验证

  • node scripts/package.mjs --expect-tag v0.3.1 本地通过,生成 darwin-arm64 / darwin-x64 两个包。

合入后打 v0.3.1 tag 触发 Release 工作流。

LuaLS 的警告和错误日志改由宿主传入的 ${logDir} 写入当前日志会话目录,
需要 Lithe 0.6.7 或更高版本。README 的兼容性说明同步改为 0.6.7。
@xiaoyumuxi
xiaoyumuxi merged commit 72b8df0 into main Nov 4, 2026
1 check passed
@xiaoyumuxi
xiaoyumuxi deleted the release/v0.3.1 branch November 4, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant