Repository navigation
release: 发布 HTTP Client 0.1.3 预览版 - #6
Merged
Merged
Conversation
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.
改动
准备 HTTP Client 0.1.3 预览版(GitHub 预发布,不进 Lithe Store)。0.1.3 包含 #5 的结构化日志(
litheLogging1)改动;稳定版 Lithe 0.6.7 没有这项能力,能安装但后端无法启动,所以只发预发布,稳定版用户继续用 Store 中的 0.1.2。plugin.json、Cargo.toml、Cargo.lock(lithe-http-client):版本 0.1.2 → 0.1.3。README.md:litheLogging1,稳定版 0.6.7 继续用 0.1.2。litheLogging: 1。http-client-0.1.3-darwin.zip。CHANGELOG.md:新增 0.1.3 条目。docs/releases/v0.1.3.md:中英双语发布说明,格式沿用 v0.1.2。SDK 来源核对
vendor 的 Rust SDK 是 lithe-plugin-docs
29b245c加日志改动的快照,#5 当时还没有固定到 SDK #17 合入后的 commit。这次逐文件对比了 lithe-plugin-docs67ee82c(#17 的合入提交):error.rs、framing.rs、host.rs、panic_boundary.rs、protocol.rs、stdio.rs完全一致。backend.rs、diagnostics.rs、lib.rs的差异只有两类:合入版多了快捷键导入 provider(本插件不用,还会引入base64依赖);function_answer改为显式传入函数 ID,diagnostics.rs里请求 ID 的判断换了等价写法。本地验证(与 CI 相同的命令)
npm ci && npm run check:通过node scripts/verify-sdk-source.mjs:11 个文件校验通过cargo fmt --check、cargo clippy --locked -- -D warnings、cargo build --release --locked:通过python3 scripts/test_protocol.py --binary target/release/lithe-http-client:12/12 通过node scripts/test_ui.js(headless Chrome):7/7 通过cargo build --release --locked --target x86_64-apple-darwin+python3 scripts/package.py:生成通用包http-client-0.1.3-darwin.zip,sha256568095d85c7f6896e4c0de07016c08b5ce9e83a2f5919050122b14c2b13dac9d;用打包后的二进制重跑协议测试,12/12 通过合入后
本仓库没有 release 工作流,沿用之前的手动发布:在合入后的 main 上打
v0.1.3tag,重新本地构建打包,然后gh release create v0.1.3 --prerelease,附 ZIP 和.sha256,说明使用docs/releases/v0.1.3.md。