Skip to content

Conversation

@leon-xd
Copy link
Contributor

@leon-xd leon-xd commented Oct 17, 2025

πŸ€– New release

  • wdk-build: 0.4.0 -> 0.5.0 (⚠ API breaking changes)
  • wdk-macros: 0.4.0 -> 0.5.0
  • wdk-sys: 0.4.0 -> 0.5.0 (βœ“ API compatible changes)
  • wdk: 0.3.1 -> 0.4.0 (βœ“ API compatible changes)
  • wdk-alloc: 0.3.1 -> 0.4.0 (βœ“ API compatible changes)
  • wdk-panic: 0.3.1 -> 0.4.0 (βœ“ API compatible changes)

⚠ wdk-build breaking changes

--- 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.45.0/src/lints/enum_variant_added.ron

Failed in:
  variant ConfigError:NoWdkBuildCrateDetected in C:\Users\melvinwang\AppData\Local\Temp\.tmpr1yDR3\main\crates\wdk-build\src\lib.rs:286

--- failure enum_variant_missing: pub enum variant removed or renamed ---

Description:
A publicly-visible enum has at least one variant 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.45.0/src/lints/enum_variant_missing.ron

Failed in:
  variant ConfigError::StripExtendedPathPrefixError, previously in file C:\Users\melvinwang\AppData\Local\Temp\.tmpRwRaIn\wdk-build\src\lib.rs:164
Changelog

wdk-build

0.5.0 - 2025-11-05

Added

  • enhance error handling with IoError and IoErrorMetadata for improved std::io::Error diagnostics for fs errors (#480)
  • add color to cargo wdk and cargo make argument forwarding (#519)
  • enhance debug tracing in bindgen and config modules (#455)
  • enhance cargo metadata parsing to respect config.toml (#451)
  • (ci) install and use nuget packages in CI workflows (#406)
  • add cargo-wdk cargo extension (#306)
  • make emit_check_cfg_settings function public (#352)

Fixed

  • use latest version of ucx in the WDKContent as default (#411)
  • improve error reporting when no wdk-build package is found (#339)

Other

  • Prepare cargo-wdk for release (#560)
  • [breaking] bump to Rust 2024 Edition (#430)
  • use std::path::absolute instead of canonicalize + strip_extended_path_prefix (#462)
  • Bump tracing-subscriber from 0.3.19 to 0.3.20 (#492)
  • enforce typo checking (#452)
  • update crate references for consistency in documentation (#440)
  • improve cargo-wdk tests (#429)

wdk-macros

0.5.0 - 2025-11-05

Added

  • add cargo-wdk cargo extension (#306)

Other

  • [breaking] bump to Rust 2024 Edition (#430)
  • enforce typo checking (#452)
  • update crate references for consistency in documentation (#440)

wdk-sys

0.5.0 - 2025-11-05

Added

  • enhance error handling with IoError and IoErrorMetadata for improved std::io::Error diagnostics for fs errors (#480)
  • add cargo-wdk cargo extension (#306)

Fixed

  • use latest version of ucx in the WDKContent as default (#411)
  • allow unnecessary_transmutes lint for bindgen-generated types.rs (#350)

Other

  • [breaking] bump to Rust 2024 Edition (#430)
  • improve logging for build action (#495)
  • enforce typo checking (#452)
  • Add stubs for __CxxFrameHandler4 and __GSHandlerCheck_EH4 (#438)

wdk

0.4.0 - 2025-11-05

Added

  • add cargo-wdk cargo extension (#306)

Other

  • [breaking] bump to Rust 2024 Edition (#430)
  • enforce typo checking (#452)
  • update crate references for consistency in documentation (#440)

wdk-alloc

0.4.0 - 2025-11-05

Added

  • add cargo-wdk cargo extension (#306)

Other

  • [breaking] bump to Rust 2024 Edition (#430)
  • enforce typo checking (#452)

wdk-panic

0.4.0 - 2025-11-05

Other

  • [breaking] bump to Rust 2024 Edition (#430)
  • enforce typo checking (#452)


This PR was generated with release-plz.

Copilot AI review requested due to automatic review settings October 17, 2025 17:40
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Release PR updating crate versions and changelogs for the wdk workspace to publish the next set of coordinated releases.

  • Bump versions of all workspace crates (wdk* family) to 0.4.0 / 0.5.0 as appropriate.
  • Add corresponding new sections to each crate's CHANGELOG.
  • Update root workspace dependency version pins.

Reviewed Changes

Copilot reviewed 13 out of 14 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
crates/wdk/Cargo.toml Bump crate version to 0.4.0.
crates/wdk/CHANGELOG.md Add 0.4.0 release notes.
crates/wdk-sys/Cargo.toml Bump crate version to 0.5.0.
crates/wdk-sys/CHANGELOG.md Add 0.5.0 release notes (also introduces a duplicated header block).
crates/wdk-panic/Cargo.toml Bump crate version to 0.4.0.
crates/wdk-panic/CHANGELOG.md Add 0.4.0 release notes.
crates/wdk-macros/Cargo.toml Bump crate version to 0.5.0.
crates/wdk-macros/CHANGELOG.md Add 0.5.0 release notes.
crates/wdk-build/Cargo.toml Bump crate version to 0.5.0.
crates/wdk-build/CHANGELOG.md Add 0.5.0 release notes (also introduces a duplicated header block).
crates/wdk-alloc/Cargo.toml Bump crate version to 0.4.0.
crates/wdk-alloc/CHANGELOG.md Add 0.4.0 release notes.
Cargo.toml Update workspace dependency version constraints to match new releases.

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines +33 to +7
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


Copy link

Copilot AI Oct 17, 2025

Choose a reason for hiding this comment

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

This block duplicates the existing top-of-file Changelog header and metadata. Remove the repeated header section here to avoid redundancy.

Suggested change
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

Copilot uses AI. Check for mistakes.
Comment on lines +26 to +7
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


Copy link

Copilot AI Oct 17, 2025

Choose a reason for hiding this comment

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

Duplicated Changelog header and standard preamble already present at the top of the file. Remove this repeated block to keep the file concise.

Suggested change
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

Copilot uses AI. Check for mistakes.
Copy link
Contributor

@gurry gurry left a comment

Choose a reason for hiding this comment

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

@leon-xd This PR does not include cargo-wdk. Will you be making a separate release for it?

@leon-xd
Copy link
Contributor Author

leon-xd commented Oct 20, 2025

@leon-xd This PR does not include cargo-wdk. Will you be making a separate release for it?

@gurry Need to do some release-plz work, cargo-wdk is not registered in our repo as a published crate and I need to initialize it as such. Will turn the PR from a draft into official when it's ready.

@gurry
Copy link
Contributor

gurry commented Oct 21, 2025

@gurry Need to do some release-plz work, cargo-wdk is not registered in our repo as a published crate and I need to initialize it as such. Will turn the PR from a draft into official when it's ready.

Sure. Please feel free to reach out if you need any help with it.

@wmmc88 wmmc88 force-pushed the release-plz-2025-10-17T17-40-44Z branch from e373bd0 to c277a37 Compare November 5, 2025 02:53
@wmmc88 wmmc88 self-assigned this Nov 5, 2025
Copilot AI review requested due to automatic review settings November 6, 2025 00:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 19 out of 28 changed files in this pull request and generated 2 comments.


πŸ’‘ Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +78 to +101

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [0.2.0](https://github/microsoft/windows-drivers-rs/compare/wdk-sys-v0.1.0...wdk-sys-v0.2.0) - 2024-02-08

### Added
- generate CStr for c string constants instead of &[u8] ([#72](https://github/microsoft/windows-drivers-rs/pull/72))

### Fixed
- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87))

### Other
- update dependencies
- allow multiple_crate_versions in wdk-build (build dependency) ([#98](https://github/microsoft/windows-drivers-rs/pull/98))
- allow exception for clippy::pub_underscore_fields in generated code ([#77](https://github/microsoft/windows-drivers-rs/pull/77))
- Bump thiserror from 1.0.48 to 1.0.55 ([#59](https://github/microsoft/windows-drivers-rs/pull/59))
- reduce noise from bindgen warnings
- fix clippy errors missed due to buggy ci stage
- restrict to one unsafe operation per block ([#24](https://github/microsoft/windows-drivers-rs/pull/24))
- [**breaking**] enable rustdoc lints and resolve errors
- remove extra keywords in cargo manifests
- initial open-source check in
Copy link

Copilot AI Nov 6, 2025

Choose a reason for hiding this comment

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

The CHANGELOG.md file contains a complete duplicate of the older changelog entries (lines 76-101 duplicate lines 1-75 with slight variations). This duplication should be removed to maintain a single, clean changelog.

Suggested change
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.2.0](https://github/microsoft/windows-drivers-rs/compare/wdk-sys-v0.1.0...wdk-sys-v0.2.0) - 2024-02-08
### Added
- generate CStr for c string constants instead of &[u8] ([#72](https://github/microsoft/windows-drivers-rs/pull/72))
### Fixed
- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87))
### Other
- update dependencies
- allow multiple_crate_versions in wdk-build (build dependency) ([#98](https://github/microsoft/windows-drivers-rs/pull/98))
- allow exception for clippy::pub_underscore_fields in generated code ([#77](https://github/microsoft/windows-drivers-rs/pull/77))
- Bump thiserror from 1.0.48 to 1.0.55 ([#59](https://github/microsoft/windows-drivers-rs/pull/59))
- reduce noise from bindgen warnings
- fix clippy errors missed due to buggy ci stage
- restrict to one unsafe operation per block ([#24](https://github/microsoft/windows-drivers-rs/pull/24))
- [**breaking**] enable rustdoc lints and resolve errors
- remove extra keywords in cargo manifests
- initial open-source check in

Copilot uses AI. Check for mistakes.
Comment on lines +103 to +126


## [0.2.0](https://github/microsoft/windows-drivers-rs/compare/wdk-build-v0.1.0...wdk-build-v0.2.0) - 2024-02-08

### Added
- package rust-driver-makefile.toml with wdk-build package ([#36](https://github/microsoft/windows-drivers-rs/pull/36))
- support multiple drivers (of same type) in same cargo workspace
- cargo-make argument forwarding
- generate CStr for c string constants instead of &[u8] ([#72](https://github/microsoft/windows-drivers-rs/pull/72))

### Fixed
- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87))
- add missing cpu-arch macro definitions
- fix wdk path regkey detection

### Other
- update versions in readme and rust-driver-makefile.toml
- update dependencies
- allow multiple_crate_versions in wdk-build (build dependency) ([#98](https://github/microsoft/windows-drivers-rs/pull/98))
- update cargo-make tasks with arch-specific tools
- Bump thiserror from 1.0.48 to 1.0.55 ([#59](https://github/microsoft/windows-drivers-rs/pull/59))
- restrict to one unsafe operation per block ([#24](https://github/microsoft/windows-drivers-rs/pull/24))
- [**breaking**] enable rustdoc lints and resolve errors
- initial open-source check in
Copy link

Copilot AI Nov 6, 2025

Choose a reason for hiding this comment

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

The CHANGELOG.md file contains a complete duplicate of older changelog entries (lines 98-126 duplicate lines 1-97 with some variations). This duplication should be removed to maintain a single, clean changelog.

Suggested change
## [0.2.0](https://github/microsoft/windows-drivers-rs/compare/wdk-build-v0.1.0...wdk-build-v0.2.0) - 2024-02-08
### Added
- package rust-driver-makefile.toml with wdk-build package ([#36](https://github/microsoft/windows-drivers-rs/pull/36))
- support multiple drivers (of same type) in same cargo workspace
- cargo-make argument forwarding
- generate CStr for c string constants instead of &[u8] ([#72](https://github/microsoft/windows-drivers-rs/pull/72))
### Fixed
- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87))
- add missing cpu-arch macro definitions
- fix wdk path regkey detection
### Other
- update versions in readme and rust-driver-makefile.toml
- update dependencies
- allow multiple_crate_versions in wdk-build (build dependency) ([#98](https://github/microsoft/windows-drivers-rs/pull/98))
- update cargo-make tasks with arch-specific tools
- Bump thiserror from 1.0.48 to 1.0.55 ([#59](https://github/microsoft/windows-drivers-rs/pull/59))
- restrict to one unsafe operation per block ([#24](https://github/microsoft/windows-drivers-rs/pull/24))
- [**breaking**] enable rustdoc lints and resolve errors
- initial open-source check in

Copilot uses AI. Check for mistakes.
@wmmc88 wmmc88 closed this Nov 6, 2025
@wmmc88 wmmc88 deleted the release-plz-2025-10-17T17-40-44Z branch November 6, 2025 02:02
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.

4 participants