Skip to content

chore: release - #751

Merged
Melvin Wang (wmmc88) merged 10 commits into
mainfrom
release-plz-2026-10-22T14-47-00Z
Oct 26, 2026
Merged

Melvin Wang (wmmc88) merged 10 commits into
mainfrom
release-plz-2026-10-22T14-47-00Z

Conversation

@wmmc88

@wmmc88 Melvin Wang (wmmc88) commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

🤖 New release

  • wdk-build: 0.5.1 -> 0.6.0 (✓ API compatible changes)
  • cargo-wdk: 0.1.1 -> 0.2.0
  • wdk-macros: 0.5.1 -> 0.5.2
  • wdk-sys: 0.5.1 -> 0.5.2 (✓ API compatible changes)
  • wdk: 0.4.1 -> 0.5.0 (⚠ API breaking changes)
  • wdk-alloc: 0.4.1 -> 0.4.2 (✓ API compatible changes)
  • wdk-panic: 0.4.1 -> 0.5.0 (⚠ API breaking changes)

The release branch also synchronizes manifests, Cargo Make requirements, templates, and independent lockfiles with the release versions, and installs the panic hook in generated and sample UMDF drivers (Closes #646).

⚠ wdk breaking changes

--- failure feature_not_enabled_by_default: package feature is not enabled by default ---

Description:
A feature is no longer enabled by default for this package. This will break downstream crates which rely on the package's default features and require the functionality of this feature.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#cargo-feature-remove-another
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/feature_not_enabled_by_default.ron

Failed in:
  feature alloc in the package's Cargo.toml
Changelog

wdk-build

0.6.0 - 2026-10-22

Added

  • add linker directive for VHF lib + move static linker directives from wdk-build to wdk-sys (#685)

Fixed

  • [breaking] remove linker map file from driver packages (#735)
  • unnecessary trailing commas in format! macros (#619)
  • (ci) remove the nightly_toolchain feature gate for assert_matches (#612)
  • (ci) use latest nightly toolchain in the Test workflow, fix assert_matches import and the clippy warning (#604)
  • warn when WDK env vars are non-UTF8 (#596)

Other

  • improve Dependabot and refresh repo-wide dependencies (#745)
  • re-format .rs files with the current nightly rustfmt (#732)
  • add -fno-builtin to bindgen builder (#695)
  • (wdk-build) fix clippy lints (#655)
  • fix collapsable_if lint, rust 1.95 assert_matches destabilization (#643)
  • add cargo-wdk preview callout to Cargo Make section in README (#641)
  • replace cargo-sort with taplo for dependency sorting (#632)
  • add new unit tests for Wdk::try_from method (#491)
  • add tests for setup_path function (#578)

cargo-wdk

0.2.0 - 2026-10-22

Added

  • (cargo-wdk) support hyphen-prefixed signtool args and support empty custom args (#737)
  • (cargo-wdk) add --stampinf-args passthrough to customize stampinf options (#733)
  • (cargo-wdk) add --infverif-args passthrough to customize inverif options (#734)
  • add --inf2cat-args passthrough to customize inf2cat options (#702)
  • (cargo-wdk) add --signtool-args passthrough to customize driver signing (#699)
  • add linker directive for VHF lib + move static linker directives from wdk-build to wdk-sys (#685)
  • (cargo-wdk) add --target-platform option to the build command (#683)
  • add feature selection options to the build command (#665)
  • improve user-mode and kernel-mode driver panic handlers (#642)
  • add --locked option to the build command (#656)
  • introduce sign mode for driver packaging, allowing skipping of signing steps (#649)
  • add cargo wdk clean command (#638)
  • (cargo-wdk) support target architecture override through config.toml and CARGO_BUILD_TARGET (#494)

Fixed

  • (cargo-wdk) use CARGO environment variable for nested invocations (#742)
  • modify WinGet module selection in CI and resolve Clippy errors (#739)
  • [breaking] remove linker map file from driver packages (#735)
  • (cargo-wdk) update WDK build number range to skip InfVerif when building sample class drivers (#679)
  • (cargo-wdk) use --message-format=json-render-diagnostics in the build command to render compiler errors instead of the plain json option (#645)
  • do not sanitize CARGO_HOME & RUSTUP_HOME (#609)
  • replace direct call to std::fs::create_dir_all with fs provider fs::create_dir_all (#602)
  • disable ANSI colors when output is redirected (#601)
  • move cargo-wdk output to stderr (#599)
  • cargo wdk new now respects default VCS behavior (#575)

Other

  • improve Dependabot and refresh repo-wide dependencies (#745)
  • re-format .rs files with the current nightly rustfmt (#732)
  • fix assert_is_empty and branches_sharing_code clippy lints (#713)
  • add opt out env variable to temporarily prevent using build-dir v2 in nightly runs (#707)
  • (cargo-wdk) [breaking] rename windows-driver target-platform value to windows (#705)
  • update anyhow and crossbeam-epoch to resolve RUSTSEC-2026-0190 and RUSTSEC-2026-0204 (#704)
  • update bindgen to fix compatibility with LLVM 22 (#682)
  • Bump serde_json from 1.0.140 to 1.0.143 in /crates/cargo-wdk/tests/wdm-driver (#547)
  • fix install-winget dependency install loop (#680)
  • Bump regex from 1.11.1 to 1.12.2 in /crates/cargo-wdk/tests/wdm-driver (#548)
  • Bump regex from 1.11.1 to 1.12.2 in /crates/cargo-wdk/tests/umdf-driver (#546)
  • Bump serde_json from 1.0.139 to 1.0.143 in /crates/cargo-wdk/tests/umdf-driver (#544)
  • Bump regex from 1.11.1 to 1.12.2 in /crates/cargo-wdk/tests/kmdf-driver (#539)
  • Bump serde_json from 1.0.140 to 1.0.143 in /crates/cargo-wdk/tests/kmdf-driver (#541)
  • bump remaining crates to 2024 (#634)
  • replace cargo-sort with taplo for dependency sorting (#632)
  • Bump semver from 1.0.26 to 1.0.27 in /crates/cargo-wdk/tests/wdm-driver (#549)
  • Add code coverage (#556)
  • Skip build step in cargo-wdk new tests for release-plz PRs (#584)
  • make cargo wdk integration tests faster (#553)
  • add unit tests for cargo wdk new subcommand action flow (#551)

wdk-macros

0.5.2 - 2026-10-22

Fixed

  • unnecessary trailing commas in format! macros (#619)

Other

  • improve Dependabot and refresh repo-wide dependencies (#745)
  • re-format .rs files with the current nightly rustfmt (#732)
  • add cargo-wdk preview callout to Cargo Make section in README (#641)
  • bump remaining crates to 2024 (#634)
  • replace cargo-sort with taplo for dependency sorting (#632)

wdk-sys

0.5.2 - 2026-10-22

Added

  • add linker directive for VHF lib + move static linker directives from wdk-build to wdk-sys (#685)

Other

  • re-format .rs files with the current nightly rustfmt (#732)
  • add cargo-wdk preview callout to Cargo Make section in README (#641)
  • replace cargo-sort with taplo for dependency sorting (#632)

wdk

0.5.0 - 2026-10-22

Added

  • [breaking] stack-based format buffer for wdk crate (#611)
  • add dbg! macro to wdk (#610)

Other

  • re-format .rs files with the current nightly rustfmt (#732)
  • fix assert_is_empty and branches_sharing_code clippy lints (#713)
  • add cargo-wdk preview callout to Cargo Make section in README (#641)
  • replace cargo-sort with taplo for dependency sorting (#632)

wdk-alloc

0.4.2 - 2026-10-22

Other

  • re-format .rs files with the current nightly rustfmt (#732)
  • add cargo-wdk preview callout to Cargo Make section in README (#641)
  • replace cargo-sort with taplo for dependency sorting (#632)

wdk-panic

0.5.0 - 2026-10-22

Added

  • Add install_panic_hook() for UMDF drivers to log panic details to the debugger and abort the host process. Call it early in DriverEntry. (#642)

Changed

  • [breaking] WDM/KMDF panics now explicitly bugcheck instead of looping indefinitely, recording the panic source location in the bugcheck parameters. With debug assertions enabled, it breaks into the debugger first. (#642)
  • Added a dependency on wdk 0.5. Consumers with a direct wdk 0.4.x dependency must upgrade it to be compatible with wdk-panic 0.5.0

Other

  • add cargo-wdk preview callout to Cargo Make section in README (#641)
  • replace cargo-sort with taplo for dependency sorting (#632)


This PR was generated with release-plz.

Copilot AI balanced review requested due to automatic review settings October 22, 2026 14:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Incomplete version synchronization blocks CI and builds, while patch releases introduce incompatible downstream dependency requirements.

4 open issues
What changed in this PR

Prepares a coordinated release of the Windows driver Rust crates and cargo-wdk, updating release metadata rather than implementation code.

Changes:

  • Bumps seven crate versions, keeping wdk-sys and wdk-macros in lockstep.
  • Updates workspace dependency requirements and the root lockfile.
  • Adds release notes covering accumulated features, fixes, and breaking changes.
File Description
crates/​wdk/​CHANGELOG.md Adds 0.5.0 release notes, including breaking formatting changes.
crates/​wdk/​Cargo.toml Bumps wdk to 0.5.0.
crates/​wdk-sys/​CHANGELOG.md Adds 0.5.2 release notes.
crates/​wdk-sys/​Cargo.toml Bumps wdk-sys to 0.5.2.
crates/​wdk-panic/​CHANGELOG.md Records panic-handler improvements for 0.4.2.
crates/​wdk-panic/​Cargo.toml Bumps wdk-panic to 0.4.2.
crates/​wdk-macros/​CHANGELOG.md Adds 0.5.2 release notes.
crates/​wdk-macros/​Cargo.toml Bumps wdk-macros to 0.5.2.
crates/​wdk-build/​CHANGELOG.md Documents 0.6.0 build and packaging changes.
crates/​wdk-build/​Cargo.toml Bumps wdk-build to 0.6.0.
crates/​wdk-alloc/​CHANGELOG.md Adds 0.4.2 maintenance release notes.
crates/​wdk-alloc/​Cargo.toml Bumps wdk-alloc to 0.4.2.
crates/​cargo-wdk/​CHANGELOG.md Documents 0.2.0 CLI and packaging changes.
crates/​cargo-wdk/​Cargo.toml Bumps cargo-wdk to 0.2.0.
Cargo.toml Updates shared dependency versions and the exact macro pin.
Cargo.lock Records the seven new workspace package versions.

Review effort: Balanced

Comment thread Cargo.toml Resolved
Comment thread Cargo.toml Resolved
Comment thread crates/wdk-build/Cargo.toml Resolved
Comment thread crates/wdk-panic/Cargo.toml Resolved
@wmmc88 Melvin Wang (wmmc88) self-assigned this Oct 22, 2026
Register the panic hook before driver initialization and verify that
generated UMDF drivers include the registration call.

Closes #646
Release wdk-panic as 0.5.0 and clarify its migration notes. Align
consumer templates and lockfiles with the workspace versions.
Use wdk-build 0.6.0 in the embedded scripts and README setup example so
their requirements match the local crate.
Document the workspace-local target directory workaround and the manual
template and lockfile updates needed on generated release branches.
Update cc and find-msvc-tools in the WDM CLI fixture and UMDF test
configuration lockfiles.
Copilot AI balanced review requested due to automatic review settings October 22, 2026 23:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Release compatibility issues remain unresolved, and the UMDF panic-hook integration needs Windows/WDK validation before publication.

2 open issues
3 resolved since last review

Review effort: Balanced

Comment thread Cargo.toml Resolved
@codecov-commenter

Codecov Comments Bot (codecov-commenter) commented Oct 23, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 13.33333% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.15%. Comparing base (c4ae681) to head (e9a0362).

Files with missing lines Patch % Lines
crates/wdk-build/src/lib.rs 0.00% 11 Missing ⚠️
crates/wdk-build/src/cargo_make.rs 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #751      +/-   ##
==========================================
- Coverage   77.17%   77.15%   -0.02%     
==========================================
  Files          26       26              
  Lines        7784     7786       +2     
  Branches     7784     7786       +2     
==========================================
  Hits         6007     6007              
- Misses       1659     1661       +2     
  Partials      118      118              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI balanced review requested due to automatic review settings October 23, 2026 07:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

No blocking defects were identified, but final Windows/WDK validation of the coordinated release and UMDF initialization changes remains unverified.

No open issues 🎉

2 resolved since last review

Review effort: Balanced

The new-driver build check in cargo-wdk tests was only skipped on
pull_request runs, because `github.head_ref` is empty for other events.
Push runs on the release branch and merge queue runs for the release PR
still built the templates against unpublished crate versions and failed.

Push runs now fall back to `github.ref_name`. Merge queue refs only
carry the PR number, so a new composite action looks up the queued PR's
head branch through the REST API and fails the job immediately if the
ref cannot be parsed or the lookup fails.

RELEASE.md now notes that the post-merge runs on main fail until the
crates are published and should be re-run after `release-plz release`.
rustfmt from nightly 2026-10-22 now rewraps comments inside match arms,
arrays, and call arguments, which fails the `.rs Formatting Check`.
Comment-only changes from `cargo +nightly fmt --all`.
Copilot AI balanced review requested due to automatic review settings October 23, 2026 18:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Merge-queue handling remains unresolved, and the coordinated breaking releases require maintainer validation on Windows.

1 open issue

Review effort: Balanced

@wmmc88
Melvin Wang (wmmc88) marked this pull request as ready for review October 23, 2026 19:10
@wmmc88
Melvin Wang (wmmc88) requested a review from a team October 24, 2026 14:17
@wmmc88
Melvin Wang (wmmc88) added this pull request to the merge queue Oct 26, 2026
Merged via the queue into main with commit 0452304 Oct 26, 2026
456 checks passed
@wmmc88
Melvin Wang (wmmc88) deleted the release-plz-2026-10-22T14-47-00Z branch October 26, 2026 17:09
Melvin Wang (wmmc88) added a commit to microsoft/Windows-rust-driver-samples that referenced this pull request Nov 3, 2026
Bumps the samples to the October 2026 windows-drivers-rs release from
crates.io: wdk 0.5.0, wdk-sys 0.5.2, wdk-build 0.6.0, wdk-alloc 0.4.2,
and wdk-panic 0.5.0. The cargo-make loader in `Makefile.toml` now points
at wdk-build 0.6.0 too.

Release PR: microsoft/windows-drivers-rs#751
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add UMDF panic registration function from wdk-panic to cargo-wdk UMDF template

5 participants