Skip to content

chore(ostool): release v0.21.0#112

Merged
ZR233 merged 1 commit into
mainfrom
release-plz-2026-05-26T07-21-00Z
May 27, 2026
Merged

chore(ostool): release v0.21.0#112
ZR233 merged 1 commit into
mainfrom
release-plz-2026-05-26T07-21-00Z

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 26, 2026

🤖 New release

  • ostool: 0.20.0 -> 0.21.0 (⚠ API breaking changes)

ostool breaking changes

--- failure struct_pub_field_missing: pub struct's pub field removed or renamed ---

Description:
A publicly-visible struct has at least one public field that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.46.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field elf of struct OutputArtifacts, previously in file /tmp/.tmpTjL781/ostool/src/ctx.rs:16
  field bin of struct OutputArtifacts, previously in file /tmp/.tmpTjL781/ostool/src/ctx.rs:18
  field cargo_artifact_dir of struct OutputArtifacts, previously in file /tmp/.tmpTjL781/ostool/src/ctx.rs:20
  field runtime_artifact_dir of struct OutputArtifacts, previously in file /tmp/.tmpTjL781/ostool/src/ctx.rs:22

--- failure struct_pub_field_now_doc_hidden: pub struct field is now #[doc(hidden)] ---

Description:
A pub field of a pub struct is now marked #[doc(hidden)] and is no longer part of the public API.
        ref: https://doc.rust-lang.org/rustdoc/write-documentation/the-doc-attribute.html#hidden
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.46.0/src/lints/struct_pub_field_now_doc_hidden.ron

Failed in:
  field OutputArtifacts.elf in file /tmp/.tmpnHQ8kt/ostool/ostool/src/artifact/state.rs:11
  field OutputArtifacts.bin in file /tmp/.tmpnHQ8kt/ostool/ostool/src/artifact/state.rs:11
  field OutputArtifacts.cargo_artifact_dir in file /tmp/.tmpnHQ8kt/ostool/ostool/src/artifact/state.rs:11
  field OutputArtifacts.runtime_artifact_dir in file /tmp/.tmpnHQ8kt/ostool/ostool/src/artifact/state.rs:11
Changelog

0.21.0 - 2026-05-27

Added

  • (sterm) forward mouse events from host terminal to guest serial (#113)

Other

  • (tool) 收敛构建配置与运行产物边界 (#114)
  • (tool) 拆分构建与运行产物边界 (#111)


This PR was generated with release-plz.

Copy link
Copy Markdown

@mai-team-app mai-team-app Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

审查总结

这是一个由 release-plz 自动生成的版本发布 PR,将 ostool0.20.0 升级到 0.20.1

变更内容

  • ostool/Cargo.toml:版本号 0.20.00.20.1
  • Cargo.lock:版本号同步更新
  • ostool/CHANGELOG.md:新增 v0.20.1 条目,记录了 PR #111(拆分构建与运行产物边界)

审查结果

  • Cargo.tomlCargo.lock 版本号一致
  • ✅ CHANGELOG 格式符合项目既定规范,日期与链接正确
  • ✅ Patch 版本升级(0.20.0 → 0.20.1)适用于「重构/其他」类变更,符合 SemVer 语义
  • cargo check 编译通过
  • ✅ CI 全部通过
  • ✅ 无安全或功能风险,纯版本发布 PR

LGTM,可以合并 👍

Powered by glm-5.1

@github-actions github-actions Bot force-pushed the release-plz-2026-05-26T07-21-00Z branch from 4e16222 to 88d11c4 Compare May 27, 2026 01:31
@github-actions github-actions Bot changed the title chore(ostool): release v0.20.1 chore(ostool): release v0.21.0 May 27, 2026
@github-actions github-actions Bot force-pushed the release-plz-2026-05-26T07-21-00Z branch from 88d11c4 to cf302a7 Compare May 27, 2026 01:34
@ZR233 ZR233 merged commit 0e1ed4e into main May 27, 2026
Copy link
Copy Markdown

@mai-team-app mai-team-app Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

审查总结

本 PR 由 release-plz 自动生成,将 ostool0.20.0 升级至 0.21.0。变更内容为标准的版本发布流程文件更新。

变更文件(3 个文件,+13/-2)

  • ostool/Cargo.toml:版本号 0.20.00.21.0
  • Cargo.lock:同步更新版本号
  • ostool/CHANGELOG.md:新增 v0.21.0 变更日志条目

审查要点

版本号一致性Cargo.tomlCargo.lock 中的版本号一致,均为 0.21.0

CHANGELOG 格式:符合项目既定的 keep-a-changelog 格式规范,日期(2026-05-27)及 PR 链接(#111, #113, #114)正确

SemVer 合规:项目处于 0.x.y 阶段,minor 版本升级(0.20.0 → 0.21.0)允许包含破坏性变更,符合 SemVer 规范。PR 描述中正确标注了 ⚠ API breaking changes

破坏性变更说明:PR 描述中清晰记录了 OutputArtifacts 结构体的公开字段变更(elfbincargo_artifact_dirruntime_artifact_dir 被移除/重命名/标记为 #[doc(hidden)]),符合 cargo-semver-checks 的输出格式

⚠️ 提交消息不一致:提交消息为 chore(ostool): release v0.20.1,但 PR 标题和实际文件变更均为 v0.21.0。这是 release-plz 的一个已知行为问题——在 PR 创建后更新了版本号但未同步提交消息。虽然不影响实际发布,但可能对查看 git 历史造成困惑。建议关注 release-plz 版本是否需要升级以修复此问题。

变更内容审查:本次发布包含的 3 个 PR 均为合理的重构和功能增强:

  • #113(feat):sterm 鼠标事件转发
  • #114(refactor):收敛构建配置与运行产物边界
  • #111(refactor):拆分构建与运行产物边界

结论

纯版本发布 PR,变更内容正确且完整,无安全或功能风险。已合并 ✅

Powered by glm-5.1

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