Skip to content

chore: release - #216

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
release-plz-2026-11-04T04-13-51Z
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
release-plz-2026-11-04T04-13-51Z

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

🤖 New release

  • ostool: 0.31.1 -> 0.32.0 (⚠ API breaking changes)
  • ostool-server: 0.9.1 -> 0.10.0 (⚠ API breaking changes)

⚠ ostool breaking changes

--- failure enum_missing: pub enum removed or renamed ---

Description:
A publicly-visible enum cannot be imported by its prior path. A `pub use` may have been removed, or the enum itself 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.51.0/src/lints/enum_missing.ron

Failed in:
  enum ostool::board::client::UefiBootArch, previously in file /tmp/.tmpZg3rfl/ostool/src/board/client.rs:140

--- 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.51.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field boot_arch of struct UefiHttpProfile, previously in file /tmp/.tmpZg3rfl/ostool/src/board/client.rs:150

⚠ ostool-server breaking changes

--- failure constructible_struct_adds_field: struct exhaustively constructible through public API adds field ---

Description:
A pub struct that could be exhaustively constructed with a literal using only public API has a new pub field, breaking existing exhaustive literals.
        ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/constructible_struct_adds_field.ron

Failed in:
  field Job.next_delivery_at in /tmp/.tmpqhsgW2/ostool/ostool-server/src/ota.rs:61
  field Job.waiting_for_device_change in /tmp/.tmpqhsgW2/ostool/ostool-server/src/ota.rs:63
  field SerialPortSummary.usb_id in /tmp/.tmpqhsgW2/ostool/ostool-server/src/api/models.rs:89
  field SerialPortRecord.usb_id in /tmp/.tmpqhsgW2/ostool/ostool-server/src/serial/discovery.rs:33

--- failure enum_missing: pub enum removed or renamed ---

Description:
A publicly-visible enum cannot be imported by its prior path. A `pub use` may have been removed, or the enum itself 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.51.0/src/lints/enum_missing.ron

Failed in:
  enum ostool_server::config::UefiBootArch, previously in file /tmp/.tmpZg3rfl/ostool-server/src/config.rs:717
  enum ostool_server::UefiBootArch, previously in file /tmp/.tmpZg3rfl/ostool-server/src/config.rs:717

--- failure enum_no_repr_variant_discriminant_changed: enum variant had its discriminant change value ---

Description:
The enum's variant had its discriminant value change. This breaks downstream code that used its value via a numeric cast like `as isize`.
        ref: https://doc.rust-lang.org/reference/items/enumerations.html#assigning-discriminant-values
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/enum_no_repr_variant_discriminant_changed.ron

Failed in:
  variant SerialPortKeyKind::UsbPath 1 -> 2 in /tmp/.tmpqhsgW2/ostool/ostool-server/src/config.rs:609
  variant SerialPortKeyKind::Qemu 2 -> 3 in /tmp/.tmpqhsgW2/ostool/ostool-server/src/config.rs:610
  variant SerialPortKeyKind::UsbPath 1 -> 2 in /tmp/.tmpqhsgW2/ostool/ostool-server/src/config.rs:609
  variant SerialPortKeyKind::Qemu 2 -> 3 in /tmp/.tmpqhsgW2/ostool/ostool-server/src/config.rs:610
  variant SessionStopReason::Expired 2 -> 3 in /tmp/.tmpqhsgW2/ostool/ostool-server/src/session.rs:50
  variant SessionStopReason::Dropped 3 -> 4 in /tmp/.tmpqhsgW2/ostool/ostool-server/src/session.rs:51

--- failure enum_variant_added: enum variant added on exhaustive enum ---

Description:
A publicly-visible enum without #[non_exhaustive] has a new variant.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#enum-variant-new
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/enum_variant_added.ron

Failed in:
  variant SessionStopReason:BootFailed in /tmp/.tmpqhsgW2/ostool/ostool-server/src/session.rs:49
  variant SerialPortKeyKind:UsbId in /tmp/.tmpqhsgW2/ostool/ostool-server/src/config.rs:608
  variant SerialPortKeyKind:UsbId in /tmp/.tmpqhsgW2/ostool/ostool-server/src/config.rs:608

--- failure method_parameter_count_changed: pub method parameter count changed ---

Description:
A publicly-visible method now takes a different number of parameters, not counting the receiver (self) parameter.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#fn-change-arity
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/method_parameter_count_changed.ron

Failed in:
  ostool_server::ota::OtaStore::decide takes 4 parameters in /tmp/.tmpZg3rfl/ostool-server/src/ota.rs:254, but now takes 5 parameters in /tmp/.tmpqhsgW2/ostool/ostool-server/src/ota.rs:308
  ostool_server::ota::OtaStore::record_delivery_failure takes 4 parameters in /tmp/.tmpZg3rfl/ostool-server/src/ota.rs:400, but now takes 5 parameters in /tmp/.tmpqhsgW2/ostool/ostool-server/src/ota.rs:548

--- 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.51.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field boot_arch of struct UefiHttpProfile, previously in file /tmp/.tmpZg3rfl/ostool-server/src/config.rs:729
  field boot_arch of struct UefiHttpProfile, previously in file /tmp/.tmpZg3rfl/ostool-server/src/config.rs:729
Changelog

ostool

0.32.0 - 2026-11-05

Fixed

  • (httpboot) verify kernel targets and delegate OTA validation (#217)

ostool-server

0.10.0 - 2026-11-05

Fixed

  • (httpboot) verify kernel targets and delegate OTA validation (#217)
  • (ostool-server) support stable multi-port USB serial identities (#215)


This PR was generated with release-plz.

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

本次 PR 仅将 ostool-server 升至 0.10.0,并同步 Cargo.lock 与 changelog,发布此前 #215 的稳定多端口 USB 串口身份支持;本 PR 没有运行时代码改动,但发布包含的上游变更会影响服务器的 Rust 公共 API(例如新增公开字段和 SerialPortKeyKind 变体)。

验证方面:GitHub 当前未报告任何 check run 或 commit status(0 项,status 为 pending);本地 cargo fmt --check、cargo clippy --manifest-path ostool-server/Cargo.toml --all-features -- -D warnings 和 cargo test --manifest-path ostool-server/Cargo.toml --all-features 均因环境缺少 cargo(cargo: not found)而未能运行,因此这些构建/测试结果未验证。PR #216 没有既有 review 或评论需要处理。类似发布 PR(例如 #195)曾在 changelog 中明确标注 breaking。

仍有一项非阻塞的发布说明问题,见下方行内评论:应在 changelog 中明确提示此次发布包含公共 API 破坏性变更。

Powered by gpt-6-luna


### Fixed

- *(ostool-server)* support stable multi-port USB serial identities ([#215](https://github.com/drivercraft/ostool/pull/215))

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

PR 描述报告了此次发布包含公共 API 破坏性变更(新增公共字段,以及 SerialPortKeyKind 的变体/判别值变化),但此 changelog 条目仅写明“支持稳定的多端口 USB 串口身份”。请将条目标记为 breaking,并简要说明受影响的 API,以便下游用户阅读发布说明时得到提醒。

@github-actions
github-actions Bot force-pushed the release-plz-2026-11-04T04-13-51Z branch from f82d186 to bb580ba Compare November 5, 2026 08:09
@github-actions github-actions Bot changed the title chore(ostool-server): release v0.10.0 chore: release Nov 5, 2026

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

本 PR 将 ostool 升至 0.32.0、ostool-server 升至 0.10.0,并同步更新 lockfile 与各自 changelog,发布 #217 的 HTTP boot 修复及 #215 的多端口 USB 串口身份支持。当前 diff 仅含版本/发布元数据,没有运行时代码改动;不过所发布的两个 crate 公共 Rust API 都有破坏性变化,需在发布说明中清楚提示下游迁移。

验证:本地 cargo fmt --check、两个 crate 的 clippy 与测试命令均因环境缺少 cargo(cargo: not found)无法运行,故未验证构建/测试。GitHub 当前无 check runs 或 commit statuses(各 0 项,commit status 为 pending),没有发现可归因于本 PR 的失败检查。

我已考虑此前针对旧 head 的 review comment:要求在 changelog 标注 breaking 的意见合理,且当前版本仍未解决;相似发布 PR #195 也在 changelog 明确使用 [**breaking**]。下方是一项非阻塞发布说明问题。除此之外,本次发布差异看起来局限于版本元数据;剩余风险是本地验证因工具缺失而未完成。

Powered by gpt-6-luna

### Fixed

- *(httpboot)* verify kernel targets and delegate OTA validation ([#217](https://github.com/drivercraft/ostool/pull/217))
- *(ostool-server)* support stable multi-port USB serial identities ([#215](https://github.com/drivercraft/ostool/pull/215))

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

这个发布条目仍只描述多端口 USB 串口身份支持,没有提醒下游此次升级包含公开 API 破坏性变更;PR 的 semver 报告列出了公开字段、枚举变体/判别值及方法签名变化。ostool/CHANGELOG.md 中 #217 的条目也遗漏了 UefiBootArch/boot_arch 变更。请在两个 package 的相关条目上加 [**breaking**] 并简述受影响 API;此前关于此问题的 review comment 在当前版本仍未解决。

This branch has not been deployed

No deployments
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.

0 participants