Repository navigation
chore: release - #751
Merged
Merged
chore: release#751
Conversation
Contributor
There was a problem hiding this comment.
🟡 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-sysandwdk-macrosin 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
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.
Codecov Report❌ Patch coverage is
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. 🚀 New features to boost your workflow:
|
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`.
Melvin Wang (wmmc88)
marked this pull request as ready for review
October 23, 2026 19:10
Gurinder Singh (gurry)
approved these changes
Oct 26, 2026
Shravan Vasista (svasista-ms)
approved these changes
Oct 26, 2026
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
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.

🤖 New release
wdk-build: 0.5.1 -> 0.6.0 (✓ API compatible changes)cargo-wdk: 0.1.1 -> 0.2.0wdk-macros: 0.5.1 -> 0.5.2wdk-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).
⚠
wdkbreaking changesChangelog
wdk-buildcargo-wdkwdk-macroswdk-syswdkwdk-allocwdk-panicThis PR was generated with release-plz.