diff --git a/Cargo.lock b/Cargo.lock index c88a92723..31f8e8afb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -170,7 +170,7 @@ dependencies = [ [[package]] name = "cargo-wdk" -version = "0.1.0" +version = "0.1.1" dependencies = [ "anyhow", "assert_cmd", @@ -1108,7 +1108,7 @@ dependencies = [ [[package]] name = "wdk" -version = "0.4.0" +version = "0.4.1" dependencies = [ "cfg-if", "tracing", @@ -1119,7 +1119,7 @@ dependencies = [ [[package]] name = "wdk-alloc" -version = "0.4.0" +version = "0.4.1" dependencies = [ "tracing", "tracing-subscriber", @@ -1129,7 +1129,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "assert_fs", @@ -1152,7 +1152,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -1168,11 +1168,11 @@ dependencies = [ [[package]] name = "wdk-panic" -version = "0.4.0" +version = "0.4.1" [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/Cargo.toml b/Cargo.toml index 150c2acc2..ae91cf976 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,16 +23,16 @@ license = "MIT OR Apache-2.0" [workspace.dependencies] # Workspace Crates -wdk = { path = "crates/wdk", version = "0.4.0" } -wdk-alloc = { path = "crates/wdk-alloc", version = "0.4.0" } -wdk-build = { path = "crates/wdk-build", version = "0.5.0" } +wdk = { path = "crates/wdk", version = "0.4.1" } +wdk-alloc = { path = "crates/wdk-alloc", version = "0.4.1" } +wdk-build = { path = "crates/wdk-build", version = "0.5.1" } # Exact version (=) kept in lockstep with wdk-sys. These crates must be versioned together because: # (1) wdk-macros is a proc-macro crate consumed only through wdk-sys re-exports, and # (2) the two crates form a tightly coupled API surface. # Enforced by .github/workflows/version-checks.yaml (check-version-consistency job, lockstep step). -wdk-macros = { path = "crates/wdk-macros", version = "=0.5.0" } -wdk-panic = { path = "crates/wdk-panic", version = "0.4.0" } -wdk-sys = { path = "crates/wdk-sys", version = "0.5.0" } +wdk-macros = { path = "crates/wdk-macros", version = "=0.5.1" } +wdk-panic = { path = "crates/wdk-panic", version = "0.4.1" } +wdk-sys = { path = "crates/wdk-sys", version = "0.5.1" } # External Crates anyhow = "1.0.97" diff --git a/README.md b/README.md index 1acdc78ab..0f336691e 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,7 @@ The crates in this repository are available from [`crates.io`](https://crates.io #!@rust //! ```cargo //! [dependencies] - //! wdk-build = "0.5.0" + //! wdk-build = "0.5.1" //! ``` #![allow(unused_doc_comments)] diff --git a/crates/cargo-wdk/CHANGELOG.md b/crates/cargo-wdk/CHANGELOG.md index 5cbb24160..7edd77179 100644 --- a/crates/cargo-wdk/CHANGELOG.md +++ b/crates/cargo-wdk/CHANGELOG.md @@ -5,6 +5,13 @@ 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.1.1](https://github.com/microsoft/windows-drivers-rs/compare/cargo-wdk-v0.1.0...cargo-wdk-v0.1.1) - 2025-11-13 + +### Other + +- update cargo-wdk templates to use latest crate versions ([#573](https://github.com/microsoft/windows-drivers-rs/pull/573)) +- update cargo-wdk `Cargo.toml` description to align better with `README.md` ([#569](https://github.com/microsoft/windows-drivers-rs/pull/569)) + ## [0.1.0](https://github.com/microsoft/windows-drivers-rs/compare/cargo-wdk-v0.0.0...cargo-wdk-v0.1.0) - 2025-11-06 ### Added diff --git a/crates/cargo-wdk/Cargo.toml b/crates/cargo-wdk/Cargo.toml index 059bbe34c..17ae0ffaa 100644 --- a/crates/cargo-wdk/Cargo.toml +++ b/crates/cargo-wdk/Cargo.toml @@ -1,7 +1,7 @@ [package] edition.workspace = true name = "cargo-wdk" -version = "0.1.0" +version = "0.1.1" authors = ["Microsoft"] description = "A Cargo extension for developing Windows drivers in Rust" repository.workspace = true diff --git a/crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp b/crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp index 4afb3e9a1..e7e90a8dc 100644 --- a/crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp +++ b/crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp @@ -7,13 +7,13 @@ target-kmdf-version-minor = 33 crate-type = ["cdylib"] [build-dependencies] -wdk-build = "0.5.0" +wdk-build = "0.5.1" [dependencies] -wdk = "0.4.0" -wdk-alloc = "0.4.0" -wdk-panic = "0.4.0" -wdk-sys = "0.5.0" +wdk = "0.4.1" +wdk-alloc = "0.4.1" +wdk-panic = "0.4.1" +wdk-sys = "0.5.1" [features] default = [] diff --git a/crates/cargo-wdk/templates/umdf/Cargo.toml.tmp b/crates/cargo-wdk/templates/umdf/Cargo.toml.tmp index 24b92c453..7d08e36f8 100644 --- a/crates/cargo-wdk/templates/umdf/Cargo.toml.tmp +++ b/crates/cargo-wdk/templates/umdf/Cargo.toml.tmp @@ -7,11 +7,11 @@ target-umdf-version-minor = 33 crate-type = ["cdylib"] [build-dependencies] -wdk-build = "0.5.0" +wdk-build = "0.5.1" [dependencies] -wdk = "0.4.0" -wdk-sys = "0.5.0" +wdk = "0.4.1" +wdk-sys = "0.5.1" [features] default = [] diff --git a/crates/cargo-wdk/templates/wdm/Cargo.toml.tmp b/crates/cargo-wdk/templates/wdm/Cargo.toml.tmp index 0380e56b1..dd32686fd 100644 --- a/crates/cargo-wdk/templates/wdm/Cargo.toml.tmp +++ b/crates/cargo-wdk/templates/wdm/Cargo.toml.tmp @@ -5,13 +5,13 @@ driver-type = "WDM" crate-type = ["cdylib"] [build-dependencies] -wdk-build = "0.5.0" +wdk-build = "0.5.1" [dependencies] -wdk = "0.4.0" -wdk-alloc = "0.4.0" -wdk-panic = "0.4.0" -wdk-sys = "0.5.0" +wdk = "0.4.1" +wdk-alloc = "0.4.1" +wdk-panic = "0.4.1" +wdk-sys = "0.5.1" [features] default = [] diff --git a/crates/cargo-wdk/tests/emulated-workspace/umdf-driver-workspace/Cargo.lock b/crates/cargo-wdk/tests/emulated-workspace/umdf-driver-workspace/Cargo.lock index 560b484ac..775fec918 100644 --- a/crates/cargo-wdk/tests/emulated-workspace/umdf-driver-workspace/Cargo.lock +++ b/crates/cargo-wdk/tests/emulated-workspace/umdf-driver-workspace/Cargo.lock @@ -682,7 +682,7 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" [[package]] name = "wdk" -version = "0.4.0" +version = "0.4.1" dependencies = [ "cfg-if", "tracing", @@ -693,7 +693,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -715,7 +715,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -730,7 +730,7 @@ dependencies = [ [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/crates/cargo-wdk/tests/kmdf-driver/Cargo.lock b/crates/cargo-wdk/tests/kmdf-driver/Cargo.lock index ff6ba913b..68e657454 100644 --- a/crates/cargo-wdk/tests/kmdf-driver/Cargo.lock +++ b/crates/cargo-wdk/tests/kmdf-driver/Cargo.lock @@ -668,7 +668,7 @@ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "wdk-alloc" -version = "0.4.0" +version = "0.4.1" dependencies = [ "tracing", "tracing-subscriber", @@ -678,7 +678,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -700,7 +700,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -715,11 +715,11 @@ dependencies = [ [[package]] name = "wdk-panic" -version = "0.4.0" +version = "0.4.1" [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/crates/cargo-wdk/tests/mixed-package-kmdf-workspace/Cargo.lock b/crates/cargo-wdk/tests/mixed-package-kmdf-workspace/Cargo.lock index d7ac37a88..801b89dea 100644 --- a/crates/cargo-wdk/tests/mixed-package-kmdf-workspace/Cargo.lock +++ b/crates/cargo-wdk/tests/mixed-package-kmdf-workspace/Cargo.lock @@ -679,7 +679,7 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" [[package]] name = "wdk" -version = "0.4.0" +version = "0.4.1" dependencies = [ "cfg-if", "tracing", @@ -690,7 +690,7 @@ dependencies = [ [[package]] name = "wdk-alloc" -version = "0.4.0" +version = "0.4.1" dependencies = [ "tracing", "tracing-subscriber", @@ -700,7 +700,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -722,7 +722,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -737,11 +737,11 @@ dependencies = [ [[package]] name = "wdk-panic" -version = "0.4.0" +version = "0.4.1" [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/crates/cargo-wdk/tests/new_command_test.rs b/crates/cargo-wdk/tests/new_command_test.rs index 2e6773281..61b8ff462 100644 --- a/crates/cargo-wdk/tests/new_command_test.rs +++ b/crates/cargo-wdk/tests/new_command_test.rs @@ -8,16 +8,19 @@ use mockall::PredicateBooleanExt; use test_utils::{set_crt_static_flag, with_file_lock}; #[test] +#[ignore = "disabled by default since this can rely on unreleased crate versions in the template"] fn kmdf_driver_is_created_successfully() { project_is_created("kmdf"); } #[test] +#[ignore = "disabled by default since this can rely on unreleased crate versions in the template"] fn umdf_driver_is_created_successfully() { project_is_created("umdf"); } #[test] +#[ignore = "disabled by default since this can rely on unreleased crate versions in the template"] fn wdm_driver_is_created_successfully() { project_is_created("wdm"); } diff --git a/crates/cargo-wdk/tests/umdf-driver/Cargo.lock b/crates/cargo-wdk/tests/umdf-driver/Cargo.lock index 2a879a640..869ced7aa 100644 --- a/crates/cargo-wdk/tests/umdf-driver/Cargo.lock +++ b/crates/cargo-wdk/tests/umdf-driver/Cargo.lock @@ -667,7 +667,7 @@ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "wdk" -version = "0.4.0" +version = "0.4.1" dependencies = [ "cfg-if", "tracing", @@ -678,7 +678,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -700,7 +700,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -715,7 +715,7 @@ dependencies = [ [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/crates/cargo-wdk/tests/wdm-driver/Cargo.lock b/crates/cargo-wdk/tests/wdm-driver/Cargo.lock index 1a76c5dc4..10c1323e3 100644 --- a/crates/cargo-wdk/tests/wdm-driver/Cargo.lock +++ b/crates/cargo-wdk/tests/wdm-driver/Cargo.lock @@ -658,7 +658,7 @@ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "wdk-alloc" -version = "0.4.0" +version = "0.4.1" dependencies = [ "tracing", "tracing-subscriber", @@ -668,7 +668,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -690,7 +690,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -705,11 +705,11 @@ dependencies = [ [[package]] name = "wdk-panic" -version = "0.4.0" +version = "0.4.1" [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/crates/wdk-alloc/CHANGELOG.md b/crates/wdk-alloc/CHANGELOG.md index 598bd7090..931c6f96f 100644 --- a/crates/wdk-alloc/CHANGELOG.md +++ b/crates/wdk-alloc/CHANGELOG.md @@ -1,55 +1,61 @@ -# 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). - - -## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-alloc-v0.3.1...wdk-alloc-v0.4.0) - 2025-11-06 - -### Other - -- [**breaking**] bump to Rust 2024 Edition ([#430](https://github.com/microsoft/windows-drivers-rs/pull/430)) -- enforce typo checking ([#452](https://github.com/microsoft/windows-drivers-rs/pull/452)) - -## [0.3.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-alloc-v0.3.0...wdk-alloc-v0.3.1) - 2025-04-18 - -### Other - -- update README to clarify community engagement and contact methods ([#312](https://github.com/microsoft/windows-drivers-rs/pull/312)) - -## [0.3.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-alloc-v0.2.0...wdk-alloc-v0.3.0) - 2024-09-27 - -### Added - -- configure WDK configuration via parsing Cargo manifest metadata ([#186](https://github.com/microsoft/windows-drivers-rs/pull/186)) - -### Fixed - -- typos in Getting Started section of README.md ([#213](https://github.com/microsoft/windows-drivers-rs/pull/213)) -- [**breaking**] prevent linking of wdk libraries in tests that depend on `wdk-sys` ([#118](https://github.com/microsoft/windows-drivers-rs/pull/118)) - -### Other - -- Update README.md ([#180](https://github.com/microsoft/windows-drivers-rs/pull/180)) -- update readme to call out bugged LLVM 18 versions ([#169](https://github.com/microsoft/windows-drivers-rs/pull/169)) -- use a standardized workspace lint table ([#134](https://github.com/microsoft/windows-drivers-rs/pull/134)) -- fix `winget` llvm install command option ([#115](https://github.com/microsoft/windows-drivers-rs/pull/115)) -- fix various pipeline breakages (nightly rustfmt bug, new nightly clippy lints, upstream winget dependency issue) ([#117](https://github.com/microsoft/windows-drivers-rs/pull/117)) -# 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). - - -## [0.2.0](https://github/microsoft/windows-drivers-rs/compare/wdk-alloc-v0.1.0...wdk-alloc-v0.2.0) - 2024-02-08 - -### Fixed -- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87)) -- remove dependency on lazystatic in wdk-alloc rust tag ([#21](https://github/microsoft/windows-drivers-rs/pull/21)) - -### Other -- 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 +# 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). + + +## [0.4.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-alloc-v0.4.0...wdk-alloc-v0.4.1) - 2025-11-13 + +### Other + +- fix wdk-build version in readme ([#568](https://github.com/microsoft/windows-drivers-rs/pull/568)) + +## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-alloc-v0.3.1...wdk-alloc-v0.4.0) - 2025-11-06 + +### Other + +- [**breaking**] bump to Rust 2024 Edition ([#430](https://github.com/microsoft/windows-drivers-rs/pull/430)) +- enforce typo checking ([#452](https://github.com/microsoft/windows-drivers-rs/pull/452)) + +## [0.3.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-alloc-v0.3.0...wdk-alloc-v0.3.1) - 2025-04-18 + +### Other + +- update README to clarify community engagement and contact methods ([#312](https://github.com/microsoft/windows-drivers-rs/pull/312)) + +## [0.3.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-alloc-v0.2.0...wdk-alloc-v0.3.0) - 2024-09-27 + +### Added + +- configure WDK configuration via parsing Cargo manifest metadata ([#186](https://github.com/microsoft/windows-drivers-rs/pull/186)) + +### Fixed + +- typos in Getting Started section of README.md ([#213](https://github.com/microsoft/windows-drivers-rs/pull/213)) +- [**breaking**] prevent linking of wdk libraries in tests that depend on `wdk-sys` ([#118](https://github.com/microsoft/windows-drivers-rs/pull/118)) + +### Other + +- Update README.md ([#180](https://github.com/microsoft/windows-drivers-rs/pull/180)) +- update readme to call out bugged LLVM 18 versions ([#169](https://github.com/microsoft/windows-drivers-rs/pull/169)) +- use a standardized workspace lint table ([#134](https://github.com/microsoft/windows-drivers-rs/pull/134)) +- fix `winget` llvm install command option ([#115](https://github.com/microsoft/windows-drivers-rs/pull/115)) +- fix various pipeline breakages (nightly rustfmt bug, new nightly clippy lints, upstream winget dependency issue) ([#117](https://github.com/microsoft/windows-drivers-rs/pull/117)) +# 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). + + +## [0.2.0](https://github/microsoft/windows-drivers-rs/compare/wdk-alloc-v0.1.0...wdk-alloc-v0.2.0) - 2024-02-08 + +### Fixed +- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87)) +- remove dependency on lazystatic in wdk-alloc rust tag ([#21](https://github/microsoft/windows-drivers-rs/pull/21)) + +### Other +- 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 diff --git a/crates/wdk-alloc/Cargo.toml b/crates/wdk-alloc/Cargo.toml index d97e131f8..24d590541 100644 --- a/crates/wdk-alloc/Cargo.toml +++ b/crates/wdk-alloc/Cargo.toml @@ -1,7 +1,7 @@ [package] edition.workspace = true name = "wdk-alloc" -version = "0.4.0" +version = "0.4.1" description = "alloc support for binaries compiled with the Windows Development Kit (WDK)" repository.workspace = true readme.workspace = true diff --git a/crates/wdk-build/CHANGELOG.md b/crates/wdk-build/CHANGELOG.md index 174a9e30a..e4f0df0b7 100644 --- a/crates/wdk-build/CHANGELOG.md +++ b/crates/wdk-build/CHANGELOG.md @@ -1,125 +1,136 @@ -# 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). - - -## [0.5.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-build-v0.4.0...wdk-build-v0.5.0) - 2025-11-06 - -### Added - -- enhance error handling with IoError and IoErrorMetadata for improved std::io::Error diagnostics for fs errors ([#480](https://github.com/microsoft/windows-drivers-rs/pull/480)) -- add color to cargo wdk and cargo make argument forwarding ([#519](https://github.com/microsoft/windows-drivers-rs/pull/519)) -- enhance debug tracing in bindgen and config modules ([#455](https://github.com/microsoft/windows-drivers-rs/pull/455)) -- enhance cargo metadata parsing to respect config.toml ([#451](https://github.com/microsoft/windows-drivers-rs/pull/451)) -- *(ci)* install and use `nuget` packages in CI workflows ([#406](https://github.com/microsoft/windows-drivers-rs/pull/406)) -- make `emit_check_cfg_settings` function public ([#352](https://github.com/microsoft/windows-drivers-rs/pull/352)) - -### Fixed - -- use latest version of ucx in the WDKContent as default ([#411](https://github.com/microsoft/windows-drivers-rs/pull/411)) -- improve error reporting when no wdk-build package is found ([#339](https://github.com/microsoft/windows-drivers-rs/pull/339)) - -### Other - -- Prepare cargo-wdk for release ([#560](https://github.com/microsoft/windows-drivers-rs/pull/560)) -- [**breaking**] bump to Rust 2024 Edition ([#430](https://github.com/microsoft/windows-drivers-rs/pull/430)) -- use `std::path::absolute` instead of canonicalize + strip_extended_path_prefix ([#462](https://github.com/microsoft/windows-drivers-rs/pull/462)) -- Bump tracing-subscriber from 0.3.19 to 0.3.20 ([#492](https://github.com/microsoft/windows-drivers-rs/pull/492)) -- enforce typo checking ([#452](https://github.com/microsoft/windows-drivers-rs/pull/452)) -- update crate references for consistency in documentation ([#440](https://github.com/microsoft/windows-drivers-rs/pull/440)) -- improve cargo-wdk tests ([#429](https://github.com/microsoft/windows-drivers-rs/pull/429)) - -## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-build-v0.3.0...wdk-build-v0.4.0) - 2025-04-18 - -### Added - -- extend coverage in `wdk-sys` to include usb-related headers ([#296](https://github.com/microsoft/windows-drivers-rs/pull/296)) -- expand wdk-sys coverage to include gpio and parallel ports related headers ([#278](https://github.com/microsoft/windows-drivers-rs/pull/278)) -- add support for Storage API subset in `wdk-sys` ([#287](https://github.com/microsoft/windows-drivers-rs/pull/287)) -- expand `wdk-sys` coverage to include spb-related headers ([#263](https://github.com/microsoft/windows-drivers-rs/pull/263)) -- [**breaking**] expand `wdk-sys` coverage to include hid-related headers ([#260](https://github.com/microsoft/windows-drivers-rs/pull/260)) - -### Fixed - -- [**breaking**] specify rust version & edition to wdk-default bindgen::builder ([#314](https://github.com/microsoft/windows-drivers-rs/pull/314)) -- [**breaking**] explicitly mark `_KGDTENTRY64` and `_KIDTENTRY64` as opaque types in `bindgen` ([#277](https://github.com/microsoft/windows-drivers-rs/pull/277)) -- suppress linker warnings exposed by nightly rustc change ([#279](https://github.com/microsoft/windows-drivers-rs/pull/279)) -- add missing arm64rt library to linker flags for arm64 kernel-mode builds ([#261](https://github.com/microsoft/windows-drivers-rs/pull/261)) - -### Other - -- update README to clarify community engagement and contact methods ([#312](https://github.com/microsoft/windows-drivers-rs/pull/312)) -- remove noop `must_use` on trait impl ([#302](https://github.com/microsoft/windows-drivers-rs/pull/302)) -- [**breaking**] Remove lazy static instances ([#250](https://github.com/microsoft/windows-drivers-rs/pull/250)) -- fix panic condition docs for `package_driver_flow_condition_script` ([#264](https://github.com/microsoft/windows-drivers-rs/pull/264)) -- port certificate-generation condition script to Rust ([#259](https://github.com/microsoft/windows-drivers-rs/pull/259)) -- remove redundant code-path in `detect_wdk_content_root` ([#249](https://github.com/microsoft/windows-drivers-rs/pull/249)) -- use `next_back` instead of `last` on double-ended iterators (`clippy::double_ended_iterator_last`) ([#262](https://github.com/microsoft/windows-drivers-rs/pull/262)) -- use `is_none_or` for `clippy::nonminimal_bool` and resolve `clippy::needless_raw_string_hashes` ([#231](https://github.com/microsoft/windows-drivers-rs/pull/231)) -- fix `clippy::nonminimal_bool` and `clippy::ref_option` issues ([#230](https://github.com/microsoft/windows-drivers-rs/pull/230)) - -## [0.3.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-build-v0.2.0...wdk-build-v0.3.0) - 2024-09-27 - -### Added - -- add `skip_umdf_static_crt_check` unstable option to prevent static crt linkage check ([#217](https://github.com/microsoft/windows-drivers-rs/pull/217)) -- [**breaking**] add 'ExAllocatePool' to blocklist due to deprecation ([#190](https://github.com/microsoft/windows-drivers-rs/pull/190)) -- configure WDK configuration via parsing Cargo manifest metadata ([#186](https://github.com/microsoft/windows-drivers-rs/pull/186)) - -### Fixed - -- typos in Getting Started section of README.md ([#213](https://github.com/microsoft/windows-drivers-rs/pull/213)) -- skip infverif task for sample drivers built with certain GE WDK versions ([#143](https://github.com/microsoft/windows-drivers-rs/pull/143)) -- [**breaking**] prevent linking of wdk libraries in tests that depend on `wdk-sys` ([#118](https://github.com/microsoft/windows-drivers-rs/pull/118)) - -### Other - -- fix `clippy::empty-line-after-doc-comments` lint issues ([#221](https://github.com/microsoft/windows-drivers-rs/pull/221)) -- move infverif task's condition script logic to cargo_make.rs ([#216](https://github.com/microsoft/windows-drivers-rs/pull/216)) -- remove unstable `rustfmt` `version` setting (replaced by auto-detected `edition`) ([#220](https://github.com/microsoft/windows-drivers-rs/pull/220)) -- replace directory substitution plugin with condition_script_runner_args ([#208](https://github.com/microsoft/windows-drivers-rs/pull/208)) -- use cargo-make's built-in arg expansion instead of custom plugin support in `nested-cargo-workspace-in-cargo-make-emulated-workspace-support` ([#201](https://github.com/microsoft/windows-drivers-rs/pull/201)) -- Improve doc comments to comply with `too_long_first_doc_paragraph` clippy lint ([#202](https://github.com/microsoft/windows-drivers-rs/pull/202)) -- Update README.md ([#180](https://github.com/microsoft/windows-drivers-rs/pull/180)) -- update readme to call out bugged LLVM 18 versions ([#169](https://github.com/microsoft/windows-drivers-rs/pull/169)) -- Build perf: Make calls to bindgen run in parallel ([#159](https://github.com/microsoft/windows-drivers-rs/pull/159)) -- add support for rustc-check-cfg ([#150](https://github.com/microsoft/windows-drivers-rs/pull/150)) -- Bump windows from 0.52.0 to 0.56.0 ([#144](https://github.com/microsoft/windows-drivers-rs/pull/144)) -- Bump rustversion from 1.0.14 to 1.0.15 ([#145](https://github.com/microsoft/windows-drivers-rs/pull/145)) -- use a standardized workspace lint table ([#134](https://github.com/microsoft/windows-drivers-rs/pull/134)) -- Bump clap from 4.4.18 to 4.5.4 ([#130](https://github.com/microsoft/windows-drivers-rs/pull/130)) -- Bump thiserror from 1.0.56 to 1.0.59 ([#142](https://github.com/microsoft/windows-drivers-rs/pull/142)) -- fix `winget` llvm install command option ([#115](https://github.com/microsoft/windows-drivers-rs/pull/115)) -- fix various pipeline breakages (nightly rustfmt bug, new nightly clippy lints, upstream winget dependency issue) ([#117](https://github.com/microsoft/windows-drivers-rs/pull/117)) -- add lint exceptions for clippy::manual_c_str_literals and clippy::ref_as_ptr ([#108](https://github.com/microsoft/windows-drivers-rs/pull/108)) -# 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). - - -## [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 +# 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). + + +## [0.5.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-build-v0.5.0...wdk-build-v0.5.1) - 2025-11-13 + +### Fixed + +- fallback to detection logic when WDK env vars have invalid unicode ([#579](https://github.com/microsoft/windows-drivers-rs/pull/579)) +- path construction in `wdk-build` `get_wdk_tools_root` and `get_wdk_bin_root` ([#574](https://github.com/microsoft/windows-drivers-rs/pull/574)) + +### Other + +- fix wdk-build version in readme ([#568](https://github.com/microsoft/windows-drivers-rs/pull/568)) + +## [0.5.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-build-v0.4.0...wdk-build-v0.5.0) - 2025-11-06 + +### Added + +- enhance error handling with IoError and IoErrorMetadata for improved std::io::Error diagnostics for fs errors ([#480](https://github.com/microsoft/windows-drivers-rs/pull/480)) +- add color to cargo wdk and cargo make argument forwarding ([#519](https://github.com/microsoft/windows-drivers-rs/pull/519)) +- enhance debug tracing in bindgen and config modules ([#455](https://github.com/microsoft/windows-drivers-rs/pull/455)) +- enhance cargo metadata parsing to respect config.toml ([#451](https://github.com/microsoft/windows-drivers-rs/pull/451)) +- *(ci)* install and use `nuget` packages in CI workflows ([#406](https://github.com/microsoft/windows-drivers-rs/pull/406)) +- make `emit_check_cfg_settings` function public ([#352](https://github.com/microsoft/windows-drivers-rs/pull/352)) + +### Fixed + +- use latest version of ucx in the WDKContent as default ([#411](https://github.com/microsoft/windows-drivers-rs/pull/411)) +- improve error reporting when no wdk-build package is found ([#339](https://github.com/microsoft/windows-drivers-rs/pull/339)) + +### Other + +- Prepare cargo-wdk for release ([#560](https://github.com/microsoft/windows-drivers-rs/pull/560)) +- [**breaking**] bump to Rust 2024 Edition ([#430](https://github.com/microsoft/windows-drivers-rs/pull/430)) +- use `std::path::absolute` instead of canonicalize + strip_extended_path_prefix ([#462](https://github.com/microsoft/windows-drivers-rs/pull/462)) +- Bump tracing-subscriber from 0.3.19 to 0.3.20 ([#492](https://github.com/microsoft/windows-drivers-rs/pull/492)) +- enforce typo checking ([#452](https://github.com/microsoft/windows-drivers-rs/pull/452)) +- update crate references for consistency in documentation ([#440](https://github.com/microsoft/windows-drivers-rs/pull/440)) +- improve cargo-wdk tests ([#429](https://github.com/microsoft/windows-drivers-rs/pull/429)) + +## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-build-v0.3.0...wdk-build-v0.4.0) - 2025-04-18 + +### Added + +- extend coverage in `wdk-sys` to include usb-related headers ([#296](https://github.com/microsoft/windows-drivers-rs/pull/296)) +- expand wdk-sys coverage to include gpio and parallel ports related headers ([#278](https://github.com/microsoft/windows-drivers-rs/pull/278)) +- add support for Storage API subset in `wdk-sys` ([#287](https://github.com/microsoft/windows-drivers-rs/pull/287)) +- expand `wdk-sys` coverage to include spb-related headers ([#263](https://github.com/microsoft/windows-drivers-rs/pull/263)) +- [**breaking**] expand `wdk-sys` coverage to include hid-related headers ([#260](https://github.com/microsoft/windows-drivers-rs/pull/260)) + +### Fixed + +- [**breaking**] specify rust version & edition to wdk-default bindgen::builder ([#314](https://github.com/microsoft/windows-drivers-rs/pull/314)) +- [**breaking**] explicitly mark `_KGDTENTRY64` and `_KIDTENTRY64` as opaque types in `bindgen` ([#277](https://github.com/microsoft/windows-drivers-rs/pull/277)) +- suppress linker warnings exposed by nightly rustc change ([#279](https://github.com/microsoft/windows-drivers-rs/pull/279)) +- add missing arm64rt library to linker flags for arm64 kernel-mode builds ([#261](https://github.com/microsoft/windows-drivers-rs/pull/261)) + +### Other + +- update README to clarify community engagement and contact methods ([#312](https://github.com/microsoft/windows-drivers-rs/pull/312)) +- remove noop `must_use` on trait impl ([#302](https://github.com/microsoft/windows-drivers-rs/pull/302)) +- [**breaking**] Remove lazy static instances ([#250](https://github.com/microsoft/windows-drivers-rs/pull/250)) +- fix panic condition docs for `package_driver_flow_condition_script` ([#264](https://github.com/microsoft/windows-drivers-rs/pull/264)) +- port certificate-generation condition script to Rust ([#259](https://github.com/microsoft/windows-drivers-rs/pull/259)) +- remove redundant code-path in `detect_wdk_content_root` ([#249](https://github.com/microsoft/windows-drivers-rs/pull/249)) +- use `next_back` instead of `last` on double-ended iterators (`clippy::double_ended_iterator_last`) ([#262](https://github.com/microsoft/windows-drivers-rs/pull/262)) +- use `is_none_or` for `clippy::nonminimal_bool` and resolve `clippy::needless_raw_string_hashes` ([#231](https://github.com/microsoft/windows-drivers-rs/pull/231)) +- fix `clippy::nonminimal_bool` and `clippy::ref_option` issues ([#230](https://github.com/microsoft/windows-drivers-rs/pull/230)) + +## [0.3.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-build-v0.2.0...wdk-build-v0.3.0) - 2024-09-27 + +### Added + +- add `skip_umdf_static_crt_check` unstable option to prevent static crt linkage check ([#217](https://github.com/microsoft/windows-drivers-rs/pull/217)) +- [**breaking**] add 'ExAllocatePool' to blocklist due to deprecation ([#190](https://github.com/microsoft/windows-drivers-rs/pull/190)) +- configure WDK configuration via parsing Cargo manifest metadata ([#186](https://github.com/microsoft/windows-drivers-rs/pull/186)) + +### Fixed + +- typos in Getting Started section of README.md ([#213](https://github.com/microsoft/windows-drivers-rs/pull/213)) +- skip infverif task for sample drivers built with certain GE WDK versions ([#143](https://github.com/microsoft/windows-drivers-rs/pull/143)) +- [**breaking**] prevent linking of wdk libraries in tests that depend on `wdk-sys` ([#118](https://github.com/microsoft/windows-drivers-rs/pull/118)) + +### Other + +- fix `clippy::empty-line-after-doc-comments` lint issues ([#221](https://github.com/microsoft/windows-drivers-rs/pull/221)) +- move infverif task's condition script logic to cargo_make.rs ([#216](https://github.com/microsoft/windows-drivers-rs/pull/216)) +- remove unstable `rustfmt` `version` setting (replaced by auto-detected `edition`) ([#220](https://github.com/microsoft/windows-drivers-rs/pull/220)) +- replace directory substitution plugin with condition_script_runner_args ([#208](https://github.com/microsoft/windows-drivers-rs/pull/208)) +- use cargo-make's built-in arg expansion instead of custom plugin support in `nested-cargo-workspace-in-cargo-make-emulated-workspace-support` ([#201](https://github.com/microsoft/windows-drivers-rs/pull/201)) +- Improve doc comments to comply with `too_long_first_doc_paragraph` clippy lint ([#202](https://github.com/microsoft/windows-drivers-rs/pull/202)) +- Update README.md ([#180](https://github.com/microsoft/windows-drivers-rs/pull/180)) +- update readme to call out bugged LLVM 18 versions ([#169](https://github.com/microsoft/windows-drivers-rs/pull/169)) +- Build perf: Make calls to bindgen run in parallel ([#159](https://github.com/microsoft/windows-drivers-rs/pull/159)) +- add support for rustc-check-cfg ([#150](https://github.com/microsoft/windows-drivers-rs/pull/150)) +- Bump windows from 0.52.0 to 0.56.0 ([#144](https://github.com/microsoft/windows-drivers-rs/pull/144)) +- Bump rustversion from 1.0.14 to 1.0.15 ([#145](https://github.com/microsoft/windows-drivers-rs/pull/145)) +- use a standardized workspace lint table ([#134](https://github.com/microsoft/windows-drivers-rs/pull/134)) +- Bump clap from 4.4.18 to 4.5.4 ([#130](https://github.com/microsoft/windows-drivers-rs/pull/130)) +- Bump thiserror from 1.0.56 to 1.0.59 ([#142](https://github.com/microsoft/windows-drivers-rs/pull/142)) +- fix `winget` llvm install command option ([#115](https://github.com/microsoft/windows-drivers-rs/pull/115)) +- fix various pipeline breakages (nightly rustfmt bug, new nightly clippy lints, upstream winget dependency issue) ([#117](https://github.com/microsoft/windows-drivers-rs/pull/117)) +- add lint exceptions for clippy::manual_c_str_literals and clippy::ref_as_ptr ([#108](https://github.com/microsoft/windows-drivers-rs/pull/108)) +# 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). + + +## [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 diff --git a/crates/wdk-build/Cargo.toml b/crates/wdk-build/Cargo.toml index c9f2e60e7..be60ee37e 100644 --- a/crates/wdk-build/Cargo.toml +++ b/crates/wdk-build/Cargo.toml @@ -2,7 +2,7 @@ edition.workspace = true rust-version.workspace = true name = "wdk-build" -version = "0.5.0" +version = "0.5.1" description = "A library to configure a Cargo build script for binding generation and downstream linking of the WDK (Windows Driver Kit)" repository.workspace = true readme.workspace = true diff --git a/crates/wdk-build/rust-driver-makefile.toml b/crates/wdk-build/rust-driver-makefile.toml index 46b345d5c..625515435 100644 --- a/crates/wdk-build/rust-driver-makefile.toml +++ b/crates/wdk-build/rust-driver-makefile.toml @@ -122,7 +122,7 @@ script_runner = "@rust" script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! ``` #![allow(unused_doc_comments)] @@ -148,7 +148,7 @@ script_runner_args = [ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! ``` #![allow(unused_doc_comments)] @@ -188,7 +188,7 @@ script_runner_args = [ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! ``` #![allow(unused_doc_comments)] @@ -234,7 +234,7 @@ condition_script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! ``` #![allow(unused_doc_comments)] @@ -257,7 +257,7 @@ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! ``` #![allow(unused_doc_comments)] @@ -321,7 +321,7 @@ script_runner_args = [ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! ``` #![allow(unused_doc_comments)] @@ -345,7 +345,7 @@ script_runner_args = [ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! ``` #![allow(unused_doc_comments)] @@ -368,7 +368,7 @@ script_runner_args = [ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! ``` #![allow(unused_doc_comments)] @@ -391,7 +391,7 @@ script_runner_args = [ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! ``` #![allow(unused_doc_comments)] @@ -425,7 +425,7 @@ condition_script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! anyhow = "1" //! ``` #![allow(unused_doc_comments)] @@ -460,7 +460,7 @@ script_runner_args = [ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! ``` #![allow(unused_doc_comments)] @@ -546,7 +546,7 @@ condition_script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! anyhow = "1" //! ``` #![allow(unused_doc_comments)] diff --git a/crates/wdk-build/rust-driver-sample-makefile.toml b/crates/wdk-build/rust-driver-sample-makefile.toml index 0a9f2fb90..b30ed6f0b 100644 --- a/crates/wdk-build/rust-driver-sample-makefile.toml +++ b/crates/wdk-build/rust-driver-sample-makefile.toml @@ -10,7 +10,7 @@ script_runner = "@rust" script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! ``` #![allow(unused_doc_comments)] @@ -37,7 +37,7 @@ condition_script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! anyhow = "1" //! ``` #![allow(unused_doc_comments)] diff --git a/crates/wdk-macros/CHANGELOG.md b/crates/wdk-macros/CHANGELOG.md index 12c5a200f..f148fac39 100644 --- a/crates/wdk-macros/CHANGELOG.md +++ b/crates/wdk-macros/CHANGELOG.md @@ -1,81 +1,87 @@ -# 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). - - -## [0.5.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-macros-v0.4.0...wdk-macros-v0.5.0) - 2025-11-06 - -### Other - -- [**breaking**] bump to Rust 2024 Edition ([#430](https://github.com/microsoft/windows-drivers-rs/pull/430)) -- enforce typo checking ([#452](https://github.com/microsoft/windows-drivers-rs/pull/452)) -- update crate references for consistency in documentation ([#440](https://github.com/microsoft/windows-drivers-rs/pull/440)) - -## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-macros-v0.3.0...wdk-macros-v0.4.0) - 2025-04-18 - -### Added - -- Cache parameters & return type during `call_unsafe_wdf_function_binding` macro expansion ([#295](https://github.com/microsoft/windows-drivers-rs/pull/295)) - -### Fixed - -- passing cache tests when WDK config is enabled ([#332](https://github.com/microsoft/windows-drivers-rs/pull/332)) - -### Other - -- update README to clarify community engagement and contact methods ([#312](https://github.com/microsoft/windows-drivers-rs/pull/312)) -- [**breaking**] Remove lazy static instances ([#250](https://github.com/microsoft/windows-drivers-rs/pull/250)) - -## [0.3.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-macros-v0.2.0...wdk-macros-v0.3.0) - 2024-09-27 - -### Added - -- configure WDK configuration via parsing Cargo manifest metadata ([#186](https://github.com/microsoft/windows-drivers-rs/pull/186)) - -### Fixed - -- typos in Getting Started section of README.md ([#213](https://github.com/microsoft/windows-drivers-rs/pull/213)) -- prevent unused import warning in arguments to `call_unsafe_wdf_function_binding` ([#207](https://github.com/microsoft/windows-drivers-rs/pull/207)) -- prevent `E0530 function parameters cannot shadow tuple structs` error when using `call_unsafe_wdf_function_binding` ([#200](https://github.com/microsoft/windows-drivers-rs/pull/200)) -- only emit must_use hint when wdf function has return type ([#122](https://github.com/microsoft/windows-drivers-rs/pull/122)) -- [**breaking**] prevent linking of wdk libraries in tests that depend on `wdk-sys` ([#118](https://github.com/microsoft/windows-drivers-rs/pull/118)) - -### Other - -- Improve doc comments to comply with `too_long_first_doc_paragraph` clippy lint ([#202](https://github.com/microsoft/windows-drivers-rs/pull/202)) -- Update README.md ([#180](https://github.com/microsoft/windows-drivers-rs/pull/180)) -- update readme to call out bugged LLVM 18 versions ([#169](https://github.com/microsoft/windows-drivers-rs/pull/169)) -- Bump paste from 1.0.14 to 1.0.15 ([#152](https://github.com/microsoft/windows-drivers-rs/pull/152)) -- Bump proc-macro2 from 1.0.81 to 1.0.82 ([#151](https://github.com/microsoft/windows-drivers-rs/pull/151)) -- Bump rustversion from 1.0.14 to 1.0.15 ([#145](https://github.com/microsoft/windows-drivers-rs/pull/145)) -- Bump macrotest from 1.0.11 to 1.0.12 ([#146](https://github.com/microsoft/windows-drivers-rs/pull/146)) -- Bump proc-macro2 from 1.0.78 to 1.0.81 ([#147](https://github.com/microsoft/windows-drivers-rs/pull/147)) -- Bump trybuild from 1.0.89 to 1.0.91 ([#148](https://github.com/microsoft/windows-drivers-rs/pull/148)) -- use a standardized workspace lint table ([#134](https://github.com/microsoft/windows-drivers-rs/pull/134)) -- Bump syn from 2.0.48 to 2.0.58 ([#135](https://github.com/microsoft/windows-drivers-rs/pull/135)) -- fix `winget` llvm install command option ([#115](https://github.com/microsoft/windows-drivers-rs/pull/115)) -- fix various pipeline breakages (nightly rustfmt bug, new nightly clippy lints, upstream winget dependency issue) ([#117](https://github.com/microsoft/windows-drivers-rs/pull/117)) -# 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). - - -## [0.2.0](https://github/microsoft/windows-drivers-rs/compare/wdk-macros-v0.1.0...wdk-macros-v0.2.0) - 2024-02-08 - -### Fixed -- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87)) - -### Other -- allow multiple_crate_versions in wdk-build (build dependency) ([#98](https://github/microsoft/windows-drivers-rs/pull/98)) -- use owo-colors for colored output in tests ([#73](https://github/microsoft/windows-drivers-rs/pull/73)) -- Bump proc-macro2 from 1.0.66 to 1.0.74 ([#60](https://github/microsoft/windows-drivers-rs/pull/60)) -- Bump trybuild from 1.0.84 to 1.0.86 ([#52](https://github/microsoft/windows-drivers-rs/pull/52)) -- 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 keyword for wdk-macros -- initial open-source check in +# 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). + + +## [0.5.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-macros-v0.5.0...wdk-macros-v0.5.1) - 2025-11-13 + +### Other + +- fix wdk-build version in readme ([#568](https://github.com/microsoft/windows-drivers-rs/pull/568)) + +## [0.5.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-macros-v0.4.0...wdk-macros-v0.5.0) - 2025-11-06 + +### Other + +- [**breaking**] bump to Rust 2024 Edition ([#430](https://github.com/microsoft/windows-drivers-rs/pull/430)) +- enforce typo checking ([#452](https://github.com/microsoft/windows-drivers-rs/pull/452)) +- update crate references for consistency in documentation ([#440](https://github.com/microsoft/windows-drivers-rs/pull/440)) + +## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-macros-v0.3.0...wdk-macros-v0.4.0) - 2025-04-18 + +### Added + +- Cache parameters & return type during `call_unsafe_wdf_function_binding` macro expansion ([#295](https://github.com/microsoft/windows-drivers-rs/pull/295)) + +### Fixed + +- passing cache tests when WDK config is enabled ([#332](https://github.com/microsoft/windows-drivers-rs/pull/332)) + +### Other + +- update README to clarify community engagement and contact methods ([#312](https://github.com/microsoft/windows-drivers-rs/pull/312)) +- [**breaking**] Remove lazy static instances ([#250](https://github.com/microsoft/windows-drivers-rs/pull/250)) + +## [0.3.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-macros-v0.2.0...wdk-macros-v0.3.0) - 2024-09-27 + +### Added + +- configure WDK configuration via parsing Cargo manifest metadata ([#186](https://github.com/microsoft/windows-drivers-rs/pull/186)) + +### Fixed + +- typos in Getting Started section of README.md ([#213](https://github.com/microsoft/windows-drivers-rs/pull/213)) +- prevent unused import warning in arguments to `call_unsafe_wdf_function_binding` ([#207](https://github.com/microsoft/windows-drivers-rs/pull/207)) +- prevent `E0530 function parameters cannot shadow tuple structs` error when using `call_unsafe_wdf_function_binding` ([#200](https://github.com/microsoft/windows-drivers-rs/pull/200)) +- only emit must_use hint when wdf function has return type ([#122](https://github.com/microsoft/windows-drivers-rs/pull/122)) +- [**breaking**] prevent linking of wdk libraries in tests that depend on `wdk-sys` ([#118](https://github.com/microsoft/windows-drivers-rs/pull/118)) + +### Other + +- Improve doc comments to comply with `too_long_first_doc_paragraph` clippy lint ([#202](https://github.com/microsoft/windows-drivers-rs/pull/202)) +- Update README.md ([#180](https://github.com/microsoft/windows-drivers-rs/pull/180)) +- update readme to call out bugged LLVM 18 versions ([#169](https://github.com/microsoft/windows-drivers-rs/pull/169)) +- Bump paste from 1.0.14 to 1.0.15 ([#152](https://github.com/microsoft/windows-drivers-rs/pull/152)) +- Bump proc-macro2 from 1.0.81 to 1.0.82 ([#151](https://github.com/microsoft/windows-drivers-rs/pull/151)) +- Bump rustversion from 1.0.14 to 1.0.15 ([#145](https://github.com/microsoft/windows-drivers-rs/pull/145)) +- Bump macrotest from 1.0.11 to 1.0.12 ([#146](https://github.com/microsoft/windows-drivers-rs/pull/146)) +- Bump proc-macro2 from 1.0.78 to 1.0.81 ([#147](https://github.com/microsoft/windows-drivers-rs/pull/147)) +- Bump trybuild from 1.0.89 to 1.0.91 ([#148](https://github.com/microsoft/windows-drivers-rs/pull/148)) +- use a standardized workspace lint table ([#134](https://github.com/microsoft/windows-drivers-rs/pull/134)) +- Bump syn from 2.0.48 to 2.0.58 ([#135](https://github.com/microsoft/windows-drivers-rs/pull/135)) +- fix `winget` llvm install command option ([#115](https://github.com/microsoft/windows-drivers-rs/pull/115)) +- fix various pipeline breakages (nightly rustfmt bug, new nightly clippy lints, upstream winget dependency issue) ([#117](https://github.com/microsoft/windows-drivers-rs/pull/117)) +# 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). + + +## [0.2.0](https://github/microsoft/windows-drivers-rs/compare/wdk-macros-v0.1.0...wdk-macros-v0.2.0) - 2024-02-08 + +### Fixed +- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87)) + +### Other +- allow multiple_crate_versions in wdk-build (build dependency) ([#98](https://github/microsoft/windows-drivers-rs/pull/98)) +- use owo-colors for colored output in tests ([#73](https://github/microsoft/windows-drivers-rs/pull/73)) +- Bump proc-macro2 from 1.0.66 to 1.0.74 ([#60](https://github/microsoft/windows-drivers-rs/pull/60)) +- Bump trybuild from 1.0.84 to 1.0.86 ([#52](https://github/microsoft/windows-drivers-rs/pull/52)) +- 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 keyword for wdk-macros +- initial open-source check in diff --git a/crates/wdk-macros/Cargo.toml b/crates/wdk-macros/Cargo.toml index 32193d828..c8d7b4fb0 100644 --- a/crates/wdk-macros/Cargo.toml +++ b/crates/wdk-macros/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" description = "A collection of macros that help make it easier to interact with wdk-sys's direct bindings. This should not be directly consumed, and should be instead consumed via the wdk-sys crate." repository.workspace = true readme.workspace = true diff --git a/crates/wdk-panic/CHANGELOG.md b/crates/wdk-panic/CHANGELOG.md index 5ca0d7b74..804455424 100644 --- a/crates/wdk-panic/CHANGELOG.md +++ b/crates/wdk-panic/CHANGELOG.md @@ -5,6 +5,12 @@ 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.4.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-panic-v0.4.0...wdk-panic-v0.4.1) - 2025-11-13 + +### Other + +- fix wdk-build version in readme ([#568](https://github.com/microsoft/windows-drivers-rs/pull/568)) + ## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-panic-v0.3.1...wdk-panic-v0.4.0) - 2025-11-06 ### Other @@ -36,19 +42,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - use a standardized workspace lint table ([#134](https://github.com/microsoft/windows-drivers-rs/pull/134)) - fix `winget` llvm install command option ([#115](https://github.com/microsoft/windows-drivers-rs/pull/115)) - fix various pipeline breakages (nightly rustfmt bug, new nightly clippy lints, upstream winget dependency issue) ([#117](https://github.com/microsoft/windows-drivers-rs/pull/117)) -# 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). - - -## [0.2.0](https://github/microsoft/windows-drivers-rs/compare/wdk-panic-v0.1.0...wdk-panic-v0.2.0) - 2024-02-08 - -### Fixed -- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87)) - -### Other -- 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 +# 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). + + +## [0.2.0](https://github/microsoft/windows-drivers-rs/compare/wdk-panic-v0.1.0...wdk-panic-v0.2.0) - 2024-02-08 + +### Fixed +- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87)) + +### Other +- 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 diff --git a/crates/wdk-panic/Cargo.toml b/crates/wdk-panic/Cargo.toml index f4a5107a5..3ac6aa77d 100644 --- a/crates/wdk-panic/Cargo.toml +++ b/crates/wdk-panic/Cargo.toml @@ -1,7 +1,7 @@ [package] edition.workspace = true name = "wdk-panic" -version = "0.4.0" +version = "0.4.1" description = "Default panic handler implementations for programs built with WDK" repository.workspace = true readme.workspace = true diff --git a/crates/wdk-sys/CHANGELOG.md b/crates/wdk-sys/CHANGELOG.md index ead1fb45e..526d57158 100644 --- a/crates/wdk-sys/CHANGELOG.md +++ b/crates/wdk-sys/CHANGELOG.md @@ -1,100 +1,106 @@ -# 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). - - -## [0.5.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-sys-v0.4.0...wdk-sys-v0.5.0) - 2025-11-06 - -### Added - -- enhance error handling with IoError and IoErrorMetadata for improved std::io::Error diagnostics for fs errors ([#480](https://github.com/microsoft/windows-drivers-rs/pull/480)) - -### Fixed - -- use latest version of ucx in the WDKContent as default ([#411](https://github.com/microsoft/windows-drivers-rs/pull/411)) -- allow unnecessary_transmutes lint for bindgen-generated types.rs ([#350](https://github.com/microsoft/windows-drivers-rs/pull/350)) - -### Other - -- [**breaking**] bump to Rust 2024 Edition ([#430](https://github.com/microsoft/windows-drivers-rs/pull/430)) -- improve logging for build action ([#495](https://github.com/microsoft/windows-drivers-rs/pull/495)) -- enforce typo checking ([#452](https://github.com/microsoft/windows-drivers-rs/pull/452)) -- Add stubs for __CxxFrameHandler4 and __GSHandlerCheck_EH4 ([#438](https://github.com/microsoft/windows-drivers-rs/pull/438)) - -## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-sys-v0.3.0...wdk-sys-v0.4.0) - 2025-04-18 - -### Added - -- extend coverage in `wdk-sys` to include usb-related headers ([#296](https://github.com/microsoft/windows-drivers-rs/pull/296)) -- expand wdk-sys coverage to include gpio and parallel ports related headers ([#278](https://github.com/microsoft/windows-drivers-rs/pull/278)) -- add support for Storage API subset in `wdk-sys` ([#287](https://github.com/microsoft/windows-drivers-rs/pull/287)) -- expand `wdk-sys` coverage to include spb-related headers ([#263](https://github.com/microsoft/windows-drivers-rs/pull/263)) -- [**breaking**] expand `wdk-sys` coverage to include hid-related headers ([#260](https://github.com/microsoft/windows-drivers-rs/pull/260)) -- Use stack-based formatter for debug-printing. ([#233](https://github.com/microsoft/windows-drivers-rs/pull/233)) - -### Fixed - -- passing cache tests when WDK config is enabled ([#332](https://github.com/microsoft/windows-drivers-rs/pull/332)) -- [**breaking**] specify rust version & edition to wdk-default bindgen::builder ([#314](https://github.com/microsoft/windows-drivers-rs/pull/314)) -- use absolute paths for items used in PAGED_CODE macro ([#297](https://github.com/microsoft/windows-drivers-rs/pull/297)) - -### Other - -- update README to clarify community engagement and contact methods ([#312](https://github.com/microsoft/windows-drivers-rs/pull/312)) -- [**breaking**] Remove lazy static instances ([#250](https://github.com/microsoft/windows-drivers-rs/pull/250)) -- use `is_none_or` for `clippy::nonminimal_bool` and resolve `clippy::needless_raw_string_hashes` ([#231](https://github.com/microsoft/windows-drivers-rs/pull/231)) - -## [0.3.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-sys-v0.2.0...wdk-sys-v0.3.0) - 2024-09-27 - -### Added - -- add more precise NTSTATUS const fns ([#183](https://github.com/microsoft/windows-drivers-rs/pull/183)) -- configure WDK configuration via parsing Cargo manifest metadata ([#186](https://github.com/microsoft/windows-drivers-rs/pull/186)) - -### Fixed - -- typos in Getting Started section of README.md ([#213](https://github.com/microsoft/windows-drivers-rs/pull/213)) -- [**breaking**] prevent linking of wdk libraries in tests that depend on `wdk-sys` ([#118](https://github.com/microsoft/windows-drivers-rs/pull/118)) - -### Other - -- Improve doc comments to comply with `too_long_first_doc_paragraph` clippy lint ([#202](https://github.com/microsoft/windows-drivers-rs/pull/202)) -- Update README.md ([#180](https://github.com/microsoft/windows-drivers-rs/pull/180)) -- update readme to call out bugged LLVM 18 versions ([#169](https://github.com/microsoft/windows-drivers-rs/pull/169)) -- Build perf: Make calls to bindgen run in parallel ([#159](https://github.com/microsoft/windows-drivers-rs/pull/159)) -- Bump rustversion from 1.0.14 to 1.0.15 ([#145](https://github.com/microsoft/windows-drivers-rs/pull/145)) -- use a standardized workspace lint table ([#134](https://github.com/microsoft/windows-drivers-rs/pull/134)) -- Bump anyhow from 1.0.79 to 1.0.82 ([#140](https://github.com/microsoft/windows-drivers-rs/pull/140)) -- Bump thiserror from 1.0.56 to 1.0.59 ([#142](https://github.com/microsoft/windows-drivers-rs/pull/142)) -- change version bounds for `manual_c_str_literals` and `ref_as_ptr` clippy lints ([#127](https://github.com/microsoft/windows-drivers-rs/pull/127)) -- fix `winget` llvm install command option ([#115](https://github.com/microsoft/windows-drivers-rs/pull/115)) -- fix various pipeline breakages (nightly rustfmt bug, new nightly clippy lints, upstream winget dependency issue) ([#117](https://github.com/microsoft/windows-drivers-rs/pull/117)) -- add lint exceptions for clippy::manual_c_str_literals and clippy::ref_as_ptr ([#108](https://github.com/microsoft/windows-drivers-rs/pull/108)) -# 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). - - -## [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 +# 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). + + +## [0.5.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-sys-v0.5.0...wdk-sys-v0.5.1) - 2025-11-13 + +### Other + +- fix wdk-build version in readme ([#568](https://github.com/microsoft/windows-drivers-rs/pull/568)) + +## [0.5.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-sys-v0.4.0...wdk-sys-v0.5.0) - 2025-11-06 + +### Added + +- enhance error handling with IoError and IoErrorMetadata for improved std::io::Error diagnostics for fs errors ([#480](https://github.com/microsoft/windows-drivers-rs/pull/480)) + +### Fixed + +- use latest version of ucx in the WDKContent as default ([#411](https://github.com/microsoft/windows-drivers-rs/pull/411)) +- allow unnecessary_transmutes lint for bindgen-generated types.rs ([#350](https://github.com/microsoft/windows-drivers-rs/pull/350)) + +### Other + +- [**breaking**] bump to Rust 2024 Edition ([#430](https://github.com/microsoft/windows-drivers-rs/pull/430)) +- improve logging for build action ([#495](https://github.com/microsoft/windows-drivers-rs/pull/495)) +- enforce typo checking ([#452](https://github.com/microsoft/windows-drivers-rs/pull/452)) +- Add stubs for __CxxFrameHandler4 and __GSHandlerCheck_EH4 ([#438](https://github.com/microsoft/windows-drivers-rs/pull/438)) + +## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-sys-v0.3.0...wdk-sys-v0.4.0) - 2025-04-18 + +### Added + +- extend coverage in `wdk-sys` to include usb-related headers ([#296](https://github.com/microsoft/windows-drivers-rs/pull/296)) +- expand wdk-sys coverage to include gpio and parallel ports related headers ([#278](https://github.com/microsoft/windows-drivers-rs/pull/278)) +- add support for Storage API subset in `wdk-sys` ([#287](https://github.com/microsoft/windows-drivers-rs/pull/287)) +- expand `wdk-sys` coverage to include spb-related headers ([#263](https://github.com/microsoft/windows-drivers-rs/pull/263)) +- [**breaking**] expand `wdk-sys` coverage to include hid-related headers ([#260](https://github.com/microsoft/windows-drivers-rs/pull/260)) +- Use stack-based formatter for debug-printing. ([#233](https://github.com/microsoft/windows-drivers-rs/pull/233)) + +### Fixed + +- passing cache tests when WDK config is enabled ([#332](https://github.com/microsoft/windows-drivers-rs/pull/332)) +- [**breaking**] specify rust version & edition to wdk-default bindgen::builder ([#314](https://github.com/microsoft/windows-drivers-rs/pull/314)) +- use absolute paths for items used in PAGED_CODE macro ([#297](https://github.com/microsoft/windows-drivers-rs/pull/297)) + +### Other + +- update README to clarify community engagement and contact methods ([#312](https://github.com/microsoft/windows-drivers-rs/pull/312)) +- [**breaking**] Remove lazy static instances ([#250](https://github.com/microsoft/windows-drivers-rs/pull/250)) +- use `is_none_or` for `clippy::nonminimal_bool` and resolve `clippy::needless_raw_string_hashes` ([#231](https://github.com/microsoft/windows-drivers-rs/pull/231)) + +## [0.3.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-sys-v0.2.0...wdk-sys-v0.3.0) - 2024-09-27 + +### Added + +- add more precise NTSTATUS const fns ([#183](https://github.com/microsoft/windows-drivers-rs/pull/183)) +- configure WDK configuration via parsing Cargo manifest metadata ([#186](https://github.com/microsoft/windows-drivers-rs/pull/186)) + +### Fixed + +- typos in Getting Started section of README.md ([#213](https://github.com/microsoft/windows-drivers-rs/pull/213)) +- [**breaking**] prevent linking of wdk libraries in tests that depend on `wdk-sys` ([#118](https://github.com/microsoft/windows-drivers-rs/pull/118)) + +### Other + +- Improve doc comments to comply with `too_long_first_doc_paragraph` clippy lint ([#202](https://github.com/microsoft/windows-drivers-rs/pull/202)) +- Update README.md ([#180](https://github.com/microsoft/windows-drivers-rs/pull/180)) +- update readme to call out bugged LLVM 18 versions ([#169](https://github.com/microsoft/windows-drivers-rs/pull/169)) +- Build perf: Make calls to bindgen run in parallel ([#159](https://github.com/microsoft/windows-drivers-rs/pull/159)) +- Bump rustversion from 1.0.14 to 1.0.15 ([#145](https://github.com/microsoft/windows-drivers-rs/pull/145)) +- use a standardized workspace lint table ([#134](https://github.com/microsoft/windows-drivers-rs/pull/134)) +- Bump anyhow from 1.0.79 to 1.0.82 ([#140](https://github.com/microsoft/windows-drivers-rs/pull/140)) +- Bump thiserror from 1.0.56 to 1.0.59 ([#142](https://github.com/microsoft/windows-drivers-rs/pull/142)) +- change version bounds for `manual_c_str_literals` and `ref_as_ptr` clippy lints ([#127](https://github.com/microsoft/windows-drivers-rs/pull/127)) +- fix `winget` llvm install command option ([#115](https://github.com/microsoft/windows-drivers-rs/pull/115)) +- fix various pipeline breakages (nightly rustfmt bug, new nightly clippy lints, upstream winget dependency issue) ([#117](https://github.com/microsoft/windows-drivers-rs/pull/117)) +- add lint exceptions for clippy::manual_c_str_literals and clippy::ref_as_ptr ([#108](https://github.com/microsoft/windows-drivers-rs/pull/108)) +# 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). + + +## [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 diff --git a/crates/wdk-sys/Cargo.toml b/crates/wdk-sys/Cargo.toml index 4a9a268c4..a1428cc09 100644 --- a/crates/wdk-sys/Cargo.toml +++ b/crates/wdk-sys/Cargo.toml @@ -1,7 +1,7 @@ [package] edition.workspace = true name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" # Since the WDK links against many different dlls (that vary based off configuration), this crate sets the system library name to be "wdk". This name is only used by downstream build.rs scripts to consume metadata links = "wdk" description = "Direct bindings to APIs available in the Windows Development Kit (WDK)" diff --git a/crates/wdk/CHANGELOG.md b/crates/wdk/CHANGELOG.md index 236e60b4c..9cf006242 100644 --- a/crates/wdk/CHANGELOG.md +++ b/crates/wdk/CHANGELOG.md @@ -1,59 +1,65 @@ -# 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). - - -## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-v0.3.1...wdk-v0.4.0) - 2025-11-06 - -### Other - -- [**breaking**] bump to Rust 2024 Edition ([#430](https://github.com/microsoft/windows-drivers-rs/pull/430)) -- enforce typo checking ([#452](https://github.com/microsoft/windows-drivers-rs/pull/452)) -- update crate references for consistency in documentation ([#440](https://github.com/microsoft/windows-drivers-rs/pull/440)) - -## [0.3.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-v0.3.0...wdk-v0.3.1) - 2025-04-18 - -### Other - -- Use stack-based formatter for debug-printing. ([#233](https://github.com/microsoft/windows-drivers-rs/pull/233)) -- update README to clarify community engagement and contact methods ([#312](https://github.com/microsoft/windows-drivers-rs/pull/312)) - -## [0.3.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-v0.2.0...wdk-v0.3.0) - 2024-09-27 - -### Added - -- configure WDK configuration via parsing Cargo manifest metadata ([#186](https://github.com/microsoft/windows-drivers-rs/pull/186)) - -### Fixed - -- typos in Getting Started section of README.md ([#213](https://github.com/microsoft/windows-drivers-rs/pull/213)) -- only emit must_use hint when wdf function has return type ([#122](https://github.com/microsoft/windows-drivers-rs/pull/122)) -- [**breaking**] prevent linking of wdk libraries in tests that depend on `wdk-sys` ([#118](https://github.com/microsoft/windows-drivers-rs/pull/118)) - -### Other - -- Update README.md ([#180](https://github.com/microsoft/windows-drivers-rs/pull/180)) -- update readme to call out bugged LLVM 18 versions ([#169](https://github.com/microsoft/windows-drivers-rs/pull/169)) -- use a standardized workspace lint table ([#134](https://github.com/microsoft/windows-drivers-rs/pull/134)) -- fix `winget` llvm install command option ([#115](https://github.com/microsoft/windows-drivers-rs/pull/115)) -- fix various pipeline breakages (nightly rustfmt bug, new nightly clippy lints, upstream winget dependency issue) ([#117](https://github.com/microsoft/windows-drivers-rs/pull/117)) -# 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). - - -## [0.2.0](https://github/microsoft/windows-drivers-rs/compare/wdk-v0.1.0...wdk-v0.2.0) - 2024-02-08 - -### Fixed -- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87)) -- fix wrong instruction used for arm64 breakpoint - -### Other -- 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 +# 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). + + +## [0.4.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-v0.4.0...wdk-v0.4.1) - 2025-11-13 + +### Other + +- fix wdk-build version in readme ([#568](https://github.com/microsoft/windows-drivers-rs/pull/568)) + +## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-v0.3.1...wdk-v0.4.0) - 2025-11-06 + +### Other + +- [**breaking**] bump to Rust 2024 Edition ([#430](https://github.com/microsoft/windows-drivers-rs/pull/430)) +- enforce typo checking ([#452](https://github.com/microsoft/windows-drivers-rs/pull/452)) +- update crate references for consistency in documentation ([#440](https://github.com/microsoft/windows-drivers-rs/pull/440)) + +## [0.3.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-v0.3.0...wdk-v0.3.1) - 2025-04-18 + +### Other + +- Use stack-based formatter for debug-printing. ([#233](https://github.com/microsoft/windows-drivers-rs/pull/233)) +- update README to clarify community engagement and contact methods ([#312](https://github.com/microsoft/windows-drivers-rs/pull/312)) + +## [0.3.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-v0.2.0...wdk-v0.3.0) - 2024-09-27 + +### Added + +- configure WDK configuration via parsing Cargo manifest metadata ([#186](https://github.com/microsoft/windows-drivers-rs/pull/186)) + +### Fixed + +- typos in Getting Started section of README.md ([#213](https://github.com/microsoft/windows-drivers-rs/pull/213)) +- only emit must_use hint when wdf function has return type ([#122](https://github.com/microsoft/windows-drivers-rs/pull/122)) +- [**breaking**] prevent linking of wdk libraries in tests that depend on `wdk-sys` ([#118](https://github.com/microsoft/windows-drivers-rs/pull/118)) + +### Other + +- Update README.md ([#180](https://github.com/microsoft/windows-drivers-rs/pull/180)) +- update readme to call out bugged LLVM 18 versions ([#169](https://github.com/microsoft/windows-drivers-rs/pull/169)) +- use a standardized workspace lint table ([#134](https://github.com/microsoft/windows-drivers-rs/pull/134)) +- fix `winget` llvm install command option ([#115](https://github.com/microsoft/windows-drivers-rs/pull/115)) +- fix various pipeline breakages (nightly rustfmt bug, new nightly clippy lints, upstream winget dependency issue) ([#117](https://github.com/microsoft/windows-drivers-rs/pull/117)) +# 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). + + +## [0.2.0](https://github/microsoft/windows-drivers-rs/compare/wdk-v0.1.0...wdk-v0.2.0) - 2024-02-08 + +### Fixed +- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87)) +- fix wrong instruction used for arm64 breakpoint + +### Other +- 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 diff --git a/crates/wdk/Cargo.toml b/crates/wdk/Cargo.toml index f2c2a8eb8..b6987f4c5 100644 --- a/crates/wdk/Cargo.toml +++ b/crates/wdk/Cargo.toml @@ -1,7 +1,7 @@ [package] edition.workspace = true name = "wdk" -version = "0.4.0" +version = "0.4.1" # This crate doesn't actually directly link to any native libraries, but its set to wdk-sys in order to pass metadata to consumers of this crates links = "wdk-sys" description = "Safe idiomatic bindings to APIs available in the Windows Development Kit (WDK)" diff --git a/examples/sample-kmdf-driver/Cargo.lock b/examples/sample-kmdf-driver/Cargo.lock index 087f9955b..7e627d51d 100644 --- a/examples/sample-kmdf-driver/Cargo.lock +++ b/examples/sample-kmdf-driver/Cargo.lock @@ -669,7 +669,7 @@ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "wdk" -version = "0.4.0" +version = "0.4.1" dependencies = [ "cfg-if", "tracing", @@ -680,7 +680,7 @@ dependencies = [ [[package]] name = "wdk-alloc" -version = "0.4.0" +version = "0.4.1" dependencies = [ "tracing", "tracing-subscriber", @@ -690,7 +690,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -712,7 +712,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -727,11 +727,11 @@ dependencies = [ [[package]] name = "wdk-panic" -version = "0.4.0" +version = "0.4.1" [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/examples/sample-umdf-driver/Cargo.lock b/examples/sample-umdf-driver/Cargo.lock index b791ca517..2c4d2a459 100644 --- a/examples/sample-umdf-driver/Cargo.lock +++ b/examples/sample-umdf-driver/Cargo.lock @@ -672,7 +672,7 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" [[package]] name = "wdk" -version = "0.4.0" +version = "0.4.1" dependencies = [ "cfg-if", "tracing", @@ -683,7 +683,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -705,7 +705,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -720,7 +720,7 @@ dependencies = [ [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/examples/sample-wdm-driver/Cargo.lock b/examples/sample-wdm-driver/Cargo.lock index 56344b319..5a2bad420 100644 --- a/examples/sample-wdm-driver/Cargo.lock +++ b/examples/sample-wdm-driver/Cargo.lock @@ -674,7 +674,7 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" [[package]] name = "wdk" -version = "0.4.0" +version = "0.4.1" dependencies = [ "cfg-if", "tracing", @@ -685,7 +685,7 @@ dependencies = [ [[package]] name = "wdk-alloc" -version = "0.4.0" +version = "0.4.1" dependencies = [ "tracing", "tracing-subscriber", @@ -695,7 +695,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -717,7 +717,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -732,11 +732,11 @@ dependencies = [ [[package]] name = "wdk-panic" -version = "0.4.0" +version = "0.4.1" [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/tests/config-kmdf/Cargo.lock b/tests/config-kmdf/Cargo.lock index a30c1a769..fe0294679 100644 --- a/tests/config-kmdf/Cargo.lock +++ b/tests/config-kmdf/Cargo.lock @@ -823,7 +823,7 @@ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -845,7 +845,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -873,7 +873,7 @@ dependencies = [ [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/tests/config-umdf/Cargo.lock b/tests/config-umdf/Cargo.lock index 36c760aee..f7cbd416d 100644 --- a/tests/config-umdf/Cargo.lock +++ b/tests/config-umdf/Cargo.lock @@ -823,7 +823,7 @@ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -845,7 +845,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -873,7 +873,7 @@ dependencies = [ [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/tests/mixed-package-kmdf-workspace/Cargo.lock b/tests/mixed-package-kmdf-workspace/Cargo.lock index ca03497bb..0cbed4932 100644 --- a/tests/mixed-package-kmdf-workspace/Cargo.lock +++ b/tests/mixed-package-kmdf-workspace/Cargo.lock @@ -679,7 +679,7 @@ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "wdk" -version = "0.4.0" +version = "0.4.1" dependencies = [ "cfg-if", "tracing", @@ -690,7 +690,7 @@ dependencies = [ [[package]] name = "wdk-alloc" -version = "0.4.0" +version = "0.4.1" dependencies = [ "tracing", "tracing-subscriber", @@ -700,7 +700,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -722,7 +722,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -737,11 +737,11 @@ dependencies = [ [[package]] name = "wdk-panic" -version = "0.4.0" +version = "0.4.1" [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/tests/umdf-driver-workspace/Cargo.lock b/tests/umdf-driver-workspace/Cargo.lock index f1cc863e4..3b6ab1fd8 100644 --- a/tests/umdf-driver-workspace/Cargo.lock +++ b/tests/umdf-driver-workspace/Cargo.lock @@ -682,7 +682,7 @@ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "wdk" -version = "0.4.0" +version = "0.4.1" dependencies = [ "cfg-if", "tracing", @@ -693,7 +693,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -715,7 +715,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -730,7 +730,7 @@ dependencies = [ [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/tests/wdk-sys-tests/Cargo.lock b/tests/wdk-sys-tests/Cargo.lock index 15264979d..92c8098d7 100644 --- a/tests/wdk-sys-tests/Cargo.lock +++ b/tests/wdk-sys-tests/Cargo.lock @@ -664,7 +664,7 @@ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -686,7 +686,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -701,7 +701,7 @@ dependencies = [ [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen",