Repository navigation
release(sdk): Node.js 0.3.0、Java 0.3.0、Rust 0.2.0 - #19
Merged
Merged
Conversation
发布 0.2.0/0.1.0 之后合入的终端与 reopen API(#14)、快捷键导入 provider(#15/#16)和 litheLogging 1 结构化诊断(#17/#18)。 - 升级三个 SDK 的版本号(package.json/package-lock.json、Java 父 POM、 SDK 与两个示例 POM、Rust workspace 与 Cargo.lock)。 - README 与指南中的 “unreleased” 标记改为具体起始版本,写明新版本 要求宿主提供 litheLogging 1;Rust README 的 Git 依赖示例改为 sdk-rust-v0.2.0。 - Rust 发版说明补上 #15 引入的 base64 依赖。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
发布三个官方插件后端 SDK 的新版本,把上次发版(
sdk-node-v0.2.0/sdk-java-v0.2.0/sdk-rust-v0.1.0,都在 e689971)之后合入main的改动发出去:sdk-node-v0.3.0sdk-java-v0.3.0sdk-rust-v0.2.00.x 阶段有不兼容改动,按惯例升次版本号。合入后在合并提交上推送这三个 tag,由
release-*-sdk.yml构建并发布 Release。包含的功能
litheKeymapImport1)litheLogging1 结构化诊断:删除自由文本logAPI;宿主不提供litheLogging1 时,SDK 拒绝初始化兼容性:用这几个版本构建的插件只能在提供
litheLogging1 的 Lithe 上启动(宿主侧是 Lithe #1699;当前稳定版 v0.6.7 不包含它)。在稳定版带上之前,依赖新 SDK 的插件以预发布形式发布。SDK 本身照常发正式版。改动
sdk/node/package.json、package-lock.json(两处);sdk/java/pom.xml、plugin-sdk/pom.xml、examples/sample-build/pom.xml、examples/sample-native-build/pom.xml;sdk/rust/Cargo.toml的 workspace 版本和Cargo.lock(lithe-plugin-sdk、sample-backend)。litheLogging1,以及对宿主版本的要求;sdk-rust-v0.2.0;guides/native-terminals.md、guides/plugin-logging.md去掉“未发布/源码中的新 API”说法,改为具体版本,并要求锁定 release tag 和 SHA-256。release-rust-sdk.yml:Release 说明从 “depends only on serde_json” 改为 “serde_json and base64”(Support shortcut import providers in plugin SDKs #15 给 Rust SDK 加了base64)。验证
本地:
node --test scripts/*.test.mjs16/16node --test sdk/node/test/*.test.mjs77/77;npm run test:types通过mvn -f sdk/java/pom.xml verify64 项通过(本机 Java 21;Java 8 由 CI 覆盖)cargo +1.87 test --locked --manifest-path sdk/rust/Cargo.toml全部通过,确认Cargo.lock与新版本一致