microsoft/windows-rs (windows)
### [`v0.58.0`](https://togithub.com/microsoft/windows-rs/releases/tag/0.58.0)
[Compare Source](https://togithub.com/microsoft/windows-rs/compare/0.57.0...0.58.0)
This release includes updates to metadata for new or fixed API definitions ([#3111](https://togithub.com/microsoft/windows-rs/issues/3111), [#3136](https://togithub.com/microsoft/windows-rs/issues/3136)), various improvements and fixes to code generation, compliance with new Rust warnings, additional COM authoring support improvements ([#3065](https://togithub.com/microsoft/windows-rs/issues/3065)), limited non-Windows support ([#3135](https://togithub.com/microsoft/windows-rs/issues/3135)), and more.
It includes major updates to the following crates, mainly due to breaking changes in metadata for API definitions.
- `riddle` 0.58.0
- `windows` 0.58.0
- `windows-bindgen` 0.58.0
- `windows-core` 0.58.0
- `windows-implement` 0.58.0
- `windows-interface` 0.58.0
- `windows-metadata` 0.58.0
It also includes major updates to the following utility crates.
- `windows-result` 0.2.0
- `windows-registry` 0.2.0
The `windows-result` crate now provides limited non-Windows support, and the `windows-registry` crate offers new lossless queries for binary and wide string values.
And it includes minor updates to the `windows-targets` crates, with the addition of several new APIs.
- `windows-targets` 0.52.6
This release also includes the first published version of the `windows-strings` crate, moving the string types from the `windows-core` crate into a dedicated crate as a smaller dependency. It also offers an efficient `HSTRING` builder ([#3133](https://togithub.com/microsoft/windows-rs/issues/3133)).
To clarify, the only crates that continue to support limited non-Windows builds are:
- `windows-bindgen` and `windows-metadata` for code generation on non-Windows platforms.
- `windows-core` and `windows-result` for COM support on non-Windows platforms.
#### What's Changed
- Fix default `rustfmt` for repo by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3084](https://togithub.com/microsoft/windows-rs/pull/3084)
- Simplify standalone test by calling `windows-bindgen` directly by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3086](https://togithub.com/microsoft/windows-rs/pull/3086)
- Disable docs and tests for test crates by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3085](https://togithub.com/microsoft/windows-rs/pull/3085)
- Simplify pointer writes in generated code by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3089](https://togithub.com/microsoft/windows-rs/pull/3089)
- Infer return type in generated bindings by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3090](https://togithub.com/microsoft/windows-rs/pull/3090)
- Allow `windows-result` to work on non-Windows platforms by [@sivadeilra](https://togithub.com/sivadeilra) in [https://github.com/microsoft/windows-rs/pull/3082](https://togithub.com/microsoft/windows-rs/pull/3082)
- Change tests/standalone so that a tool regenerates its sources by [@sivadeilra](https://togithub.com/sivadeilra) in [https://github.com/microsoft/windows-rs/pull/3091](https://togithub.com/microsoft/windows-rs/pull/3091)
- Bump braces from 3.0.2 to 3.0.3 in /web/features by [@dependabot](https://togithub.com/dependabot) in [https://github.com/microsoft/windows-rs/pull/3092](https://togithub.com/microsoft/windows-rs/pull/3092)
- Use malloc on non-Windows platforms by [@sivadeilra](https://togithub.com/sivadeilra) in [https://github.com/microsoft/windows-rs/pull/3095](https://togithub.com/microsoft/windows-rs/pull/3095)
- COM interface impls move from MyApp to MyApp_Impl ("outer" object) by [@sivadeilra](https://togithub.com/sivadeilra) in [https://github.com/microsoft/windows-rs/pull/3065](https://togithub.com/microsoft/windows-rs/pull/3065)
- Workaround for false dead code warning by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3098](https://togithub.com/microsoft/windows-rs/pull/3098)
- The `Debug` derive macro does not need to be qualified by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3097](https://togithub.com/microsoft/windows-rs/pull/3097)
- Harden detection of missing nested types by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3099](https://togithub.com/microsoft/windows-rs/pull/3099)
- Use tools to generate bindings for library crates by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3102](https://togithub.com/microsoft/windows-rs/pull/3102)
- Allow `unused` to deal with new warning about "unused" private fields in structs by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3103](https://togithub.com/microsoft/windows-rs/pull/3103)
- Remove `mio` dependency by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3107](https://togithub.com/microsoft/windows-rs/pull/3107)
- Support some edge cases for the next Win32 metadata update by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3109](https://togithub.com/microsoft/windows-rs/pull/3109)
- Simplify how extension code for `windows` crate works by [@sivadeilra](https://togithub.com/sivadeilra) in [https://github.com/microsoft/windows-rs/pull/3110](https://togithub.com/microsoft/windows-rs/pull/3110)
- Directly invoke bindgen instead of recursively calling `cargo run ...` by [@sivadeilra](https://togithub.com/sivadeilra) in [https://github.com/microsoft/windows-rs/pull/3113](https://togithub.com/microsoft/windows-rs/pull/3113)
- Update Win32 metadata by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3111](https://togithub.com/microsoft/windows-rs/pull/3111)
- Don't compile `windows` and `windows-sys` in unit test mode by [@sivadeilra](https://togithub.com/sivadeilra) in [https://github.com/microsoft/windows-rs/pull/3112](https://togithub.com/microsoft/windows-rs/pull/3112)
- Remove unused dependencies by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3117](https://togithub.com/microsoft/windows-rs/pull/3117)
- Test cross-compilation with stable gnullvm targets by [@mati865](https://togithub.com/mati865) in [https://github.com/microsoft/windows-rs/pull/3104](https://togithub.com/microsoft/windows-rs/pull/3104)
- Add flexible registry type and byte query support by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3120](https://togithub.com/microsoft/windows-rs/pull/3120)
- Remove unnecessary test cfg checks by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3124](https://togithub.com/microsoft/windows-rs/pull/3124)
- Add `windows-strings` crate by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3125](https://togithub.com/microsoft/windows-rs/pull/3125)
- Lock down `windows-core` internals by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3129](https://togithub.com/microsoft/windows-rs/pull/3129)
- Remove "std" writer from `windows-bindgen` by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3130](https://togithub.com/microsoft/windows-rs/pull/3130)
- Allow `Error` and `Result<()>` to be the same size as `HRESULT` by [@sivadeilra](https://togithub.com/sivadeilra) in [https://github.com/microsoft/windows-rs/pull/3126](https://togithub.com/microsoft/windows-rs/pull/3126)
- Remove boxing support from `windows-core` crate by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3131](https://togithub.com/microsoft/windows-rs/pull/3131)
- Use conventional testing for `windows_slim_errors` by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3132](https://togithub.com/microsoft/windows-rs/pull/3132)
- Clarify support for non-Windows targets by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3135](https://togithub.com/microsoft/windows-rs/pull/3135)
- Add `HSTRING` builder and registry support by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3133](https://togithub.com/microsoft/windows-rs/pull/3133)
- Update Windows metadata to 10.0.26100.1 by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3136](https://togithub.com/microsoft/windows-rs/pull/3136)
- Implement `Send` and `Sync` for `Weak` by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3138](https://togithub.com/microsoft/windows-rs/pull/3138)
- Remove `Future` implementation by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3142](https://togithub.com/microsoft/windows-rs/pull/3142)
- Ensure that `HSTRING` builder provides initialized memory by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3141](https://togithub.com/microsoft/windows-rs/pull/3141)
- Make new `windows-strings` crate Windows-only by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3143](https://togithub.com/microsoft/windows-rs/pull/3143)
- Release 0.58.0 by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3140](https://togithub.com/microsoft/windows-rs/pull/3140)
**Full Changelog**: https://github.com/microsoft/windows-rs/compare/0.57.0...0.58.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
Package Changes Through 37843017241ffbd4af9c4a2e9fe9d007113f5fee
There are 1 changes which include tao with minor
Planned Package Versions
The following package releases are the planned based on the context of changes in this pull request.
| package | current | next |
|----|----|----|
| tao | 0.28.1 | 0.29.0 |
This PR contains the following updates:
0.57
->0.58
Release Notes
microsoft/windows-rs (windows)
### [`v0.58.0`](https://togithub.com/microsoft/windows-rs/releases/tag/0.58.0) [Compare Source](https://togithub.com/microsoft/windows-rs/compare/0.57.0...0.58.0) This release includes updates to metadata for new or fixed API definitions ([#3111](https://togithub.com/microsoft/windows-rs/issues/3111), [#3136](https://togithub.com/microsoft/windows-rs/issues/3136)), various improvements and fixes to code generation, compliance with new Rust warnings, additional COM authoring support improvements ([#3065](https://togithub.com/microsoft/windows-rs/issues/3065)), limited non-Windows support ([#3135](https://togithub.com/microsoft/windows-rs/issues/3135)), and more. It includes major updates to the following crates, mainly due to breaking changes in metadata for API definitions. - `riddle` 0.58.0 - `windows` 0.58.0 - `windows-bindgen` 0.58.0 - `windows-core` 0.58.0 - `windows-implement` 0.58.0 - `windows-interface` 0.58.0 - `windows-metadata` 0.58.0 It also includes major updates to the following utility crates. - `windows-result` 0.2.0 - `windows-registry` 0.2.0 The `windows-result` crate now provides limited non-Windows support, and the `windows-registry` crate offers new lossless queries for binary and wide string values. And it includes minor updates to the `windows-targets` crates, with the addition of several new APIs. - `windows-targets` 0.52.6 This release also includes the first published version of the `windows-strings` crate, moving the string types from the `windows-core` crate into a dedicated crate as a smaller dependency. It also offers an efficient `HSTRING` builder ([#3133](https://togithub.com/microsoft/windows-rs/issues/3133)). To clarify, the only crates that continue to support limited non-Windows builds are: - `windows-bindgen` and `windows-metadata` for code generation on non-Windows platforms. - `windows-core` and `windows-result` for COM support on non-Windows platforms. #### What's Changed - Fix default `rustfmt` for repo by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3084](https://togithub.com/microsoft/windows-rs/pull/3084) - Simplify standalone test by calling `windows-bindgen` directly by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3086](https://togithub.com/microsoft/windows-rs/pull/3086) - Disable docs and tests for test crates by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3085](https://togithub.com/microsoft/windows-rs/pull/3085) - Simplify pointer writes in generated code by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3089](https://togithub.com/microsoft/windows-rs/pull/3089) - Infer return type in generated bindings by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3090](https://togithub.com/microsoft/windows-rs/pull/3090) - Allow `windows-result` to work on non-Windows platforms by [@sivadeilra](https://togithub.com/sivadeilra) in [https://github.com/microsoft/windows-rs/pull/3082](https://togithub.com/microsoft/windows-rs/pull/3082) - Change tests/standalone so that a tool regenerates its sources by [@sivadeilra](https://togithub.com/sivadeilra) in [https://github.com/microsoft/windows-rs/pull/3091](https://togithub.com/microsoft/windows-rs/pull/3091) - Bump braces from 3.0.2 to 3.0.3 in /web/features by [@dependabot](https://togithub.com/dependabot) in [https://github.com/microsoft/windows-rs/pull/3092](https://togithub.com/microsoft/windows-rs/pull/3092) - Use malloc on non-Windows platforms by [@sivadeilra](https://togithub.com/sivadeilra) in [https://github.com/microsoft/windows-rs/pull/3095](https://togithub.com/microsoft/windows-rs/pull/3095) - COM interface impls move from MyApp to MyApp_Impl ("outer" object) by [@sivadeilra](https://togithub.com/sivadeilra) in [https://github.com/microsoft/windows-rs/pull/3065](https://togithub.com/microsoft/windows-rs/pull/3065) - Workaround for false dead code warning by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3098](https://togithub.com/microsoft/windows-rs/pull/3098) - The `Debug` derive macro does not need to be qualified by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3097](https://togithub.com/microsoft/windows-rs/pull/3097) - Harden detection of missing nested types by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3099](https://togithub.com/microsoft/windows-rs/pull/3099) - Use tools to generate bindings for library crates by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3102](https://togithub.com/microsoft/windows-rs/pull/3102) - Allow `unused` to deal with new warning about "unused" private fields in structs by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3103](https://togithub.com/microsoft/windows-rs/pull/3103) - Remove `mio` dependency by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3107](https://togithub.com/microsoft/windows-rs/pull/3107) - Support some edge cases for the next Win32 metadata update by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3109](https://togithub.com/microsoft/windows-rs/pull/3109) - Simplify how extension code for `windows` crate works by [@sivadeilra](https://togithub.com/sivadeilra) in [https://github.com/microsoft/windows-rs/pull/3110](https://togithub.com/microsoft/windows-rs/pull/3110) - Directly invoke bindgen instead of recursively calling `cargo run ...` by [@sivadeilra](https://togithub.com/sivadeilra) in [https://github.com/microsoft/windows-rs/pull/3113](https://togithub.com/microsoft/windows-rs/pull/3113) - Update Win32 metadata by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3111](https://togithub.com/microsoft/windows-rs/pull/3111) - Don't compile `windows` and `windows-sys` in unit test mode by [@sivadeilra](https://togithub.com/sivadeilra) in [https://github.com/microsoft/windows-rs/pull/3112](https://togithub.com/microsoft/windows-rs/pull/3112) - Remove unused dependencies by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3117](https://togithub.com/microsoft/windows-rs/pull/3117) - Test cross-compilation with stable gnullvm targets by [@mati865](https://togithub.com/mati865) in [https://github.com/microsoft/windows-rs/pull/3104](https://togithub.com/microsoft/windows-rs/pull/3104) - Add flexible registry type and byte query support by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3120](https://togithub.com/microsoft/windows-rs/pull/3120) - Remove unnecessary test cfg checks by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3124](https://togithub.com/microsoft/windows-rs/pull/3124) - Add `windows-strings` crate by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3125](https://togithub.com/microsoft/windows-rs/pull/3125) - Lock down `windows-core` internals by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3129](https://togithub.com/microsoft/windows-rs/pull/3129) - Remove "std" writer from `windows-bindgen` by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3130](https://togithub.com/microsoft/windows-rs/pull/3130) - Allow `Error` and `Result<()>` to be the same size as `HRESULT` by [@sivadeilra](https://togithub.com/sivadeilra) in [https://github.com/microsoft/windows-rs/pull/3126](https://togithub.com/microsoft/windows-rs/pull/3126) - Remove boxing support from `windows-core` crate by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3131](https://togithub.com/microsoft/windows-rs/pull/3131) - Use conventional testing for `windows_slim_errors` by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3132](https://togithub.com/microsoft/windows-rs/pull/3132) - Clarify support for non-Windows targets by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3135](https://togithub.com/microsoft/windows-rs/pull/3135) - Add `HSTRING` builder and registry support by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3133](https://togithub.com/microsoft/windows-rs/pull/3133) - Update Windows metadata to 10.0.26100.1 by [@kennykerr](https://togithub.com/kennykerr) in [https://github.com/microsoft/windows-rs/pull/3136](https://togithub.com/microsoft/windows-rs/pull/3136) - Implement `Send` and `Sync` for `WeakConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.