chore(deps): update rust crate windows to 0.59.0 (1.x) #12304
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.39.0
->0.59.0
Release Notes
microsoft/windows-rs (windows)
v0.59.0
Compare Source
This release includes an update to the windows-sys crate only. The
windows-sys
crate is updated very infrequently and only when there is an explicit need to do so. The 0.59.0 release includes a rollup of API fixes, updates, and additions since the 0.52.0 release nine months ago. Notably:Full Changelog: microsoft/windows-rs@0.52.0...0.59.0
v0.58.0
Compare Source
This release includes updates to metadata for new or fixed API definitions (#3111, #3136), various improvements and fixes to code generation, compliance with new Rust warnings, additional COM authoring support improvements (#3065), limited non-Windows support (#3135), and more.
It includes major updates to the following crates, mainly due to breaking changes in metadata for API definitions.
riddle
0.58.0windows
0.58.0windows-bindgen
0.58.0windows-core
0.58.0windows-implement
0.58.0windows-interface
0.58.0windows-metadata
0.58.0It also includes major updates to the following utility crates.
windows-result
0.2.0windows-registry
0.2.0The
windows-result
crate now provides limited non-Windows support, and thewindows-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.6This release also includes the first published version of the
windows-strings
crate, moving the string types from thewindows-core
crate into a dedicated crate as a smaller dependency. It also offers an efficientHSTRING
builder (#3133).To clarify, the only crates that continue to support limited non-Windows builds are:
windows-bindgen
andwindows-metadata
for code generation on non-Windows platforms.windows-core
andwindows-result
for COM support on non-Windows platforms.What's Changed
rustfmt
for repo by @kennykerr in https://github.com/microsoft/windows-rs/pull/3084windows-bindgen
directly by @kennykerr in https://github.com/microsoft/windows-rs/pull/3086windows-result
to work on non-Windows platforms by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3082Debug
derive macro does not need to be qualified by @kennykerr in https://github.com/microsoft/windows-rs/pull/3097unused
to deal with new warning about "unused" private fields in structs by @kennykerr in https://github.com/microsoft/windows-rs/pull/3103mio
dependency by @kennykerr in https://github.com/microsoft/windows-rs/pull/3107windows
crate works by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3110cargo run ...
by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3113windows
andwindows-sys
in unit test mode by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3112windows-strings
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/3125windows-core
internals by @kennykerr in https://github.com/microsoft/windows-rs/pull/3129windows-bindgen
by @kennykerr in https://github.com/microsoft/windows-rs/pull/3130Error
andResult<()>
to be the same size asHRESULT
by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3126windows-core
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/3131windows_slim_errors
by @kennykerr in https://github.com/microsoft/windows-rs/pull/3132HSTRING
builder and registry support by @kennykerr in https://github.com/microsoft/windows-rs/pull/3133Send
andSync
forWeak<T>
by @kennykerr in https://github.com/microsoft/windows-rs/pull/3138Future
implementation by @kennykerr in https://github.com/microsoft/windows-rs/pull/3142HSTRING
builder provides initialized memory by @kennykerr in https://github.com/microsoft/windows-rs/pull/3141windows-strings
crate Windows-only by @kennykerr in https://github.com/microsoft/windows-rs/pull/3143Full Changelog: microsoft/windows-rs@0.57.0...0.58.0
v0.57.0
Compare Source
This release includes updates to a number of crates.
It includes major updates to the following:
riddle
0.57.0windows
0.57.0windows-bindgen
0.57.0windows-core
0.57.0windows-implement
0.57.0windows-interface
0.57.0windows-metadata
0.57.0It also includes minor updates to the following:
windows-result
0.1.2windows-registry
0.1.2This includes various improvements and fixes to code generation, compliance with new Rust warnings, COM authoring support helpers, and more.
This release also includes the first published version of the
cppwinrt
crate.What's Changed
as_raw
towindows-registry
by @kennykerr in https://github.com/microsoft/windows-rs/pull/3003E_POINTER
constant inwindows-core
by @kennykerr in https://github.com/microsoft/windows-rs/pull/3008Copy
,Clone
, andDebug
for handles by @kennykerr in https://github.com/microsoft/windows-rs/pull/3015HSTRING
interior mutability warnings in nightly by @riverar in https://github.com/microsoft/windows-rs/pull/3021unexpected_cfgs
warnings by @kennykerr in https://github.com/microsoft/windows-rs/pull/3022Ref
andOutRef
to enhance COM authoring support by @kennykerr in https://github.com/microsoft/windows-rs/pull/3025Ref
interface parameters by @kennykerr in https://github.com/microsoft/windows-rs/pull/3027from_raw
towindows-registry
by @kennykerr in https://github.com/microsoft/windows-rs/pull/3034windows-registry
readme by @kennykerr in https://github.com/microsoft/windows-rs/pull/3035windows-metadata
andwindows-bindgen
by @kennykerr in https://github.com/microsoft/windows-rs/pull/3039TypeName
to support pattern matching by @kennykerr in https://github.com/microsoft/windows-rs/pull/3040ComObject<T>
type that represents a heap-allocated COM object by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3043unexpected_cfgs
by @ChrisDenton in https://github.com/microsoft/windows-rs/pull/3050no-default-features
yml workflow by @kennykerr in https://github.com/microsoft/windows-rs/pull/3053windows-registry
value iterator by @kennykerr in https://github.com/microsoft/windows-rs/pull/3052windows-2022
hosted runners by @kennykerr in https://github.com/microsoft/windows-rs/pull/3056cppwinrt
crate and sample by @kennykerr in https://github.com/microsoft/windows-rs/pull/3054IInspectable
implementation by @kennykerr in https://github.com/microsoft/windows-rs/pull/3057unused_qualifications
entirely by @kennykerr in https://github.com/microsoft/windows-rs/pull/3078IUnknown
identity checks by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3073noexcept
support by @kennykerr in https://github.com/microsoft/windows-rs/pull/3070New Contributors
Full Changelog: microsoft/windows-rs@0.56.0...0.57.0
v0.56.0
Compare Source
This release includes updates to all crates except
windows-sys
.It includes major updates to the following:
riddle
0.56.0windows
0.56.0windows-bindgen
0.56.0windows-core
0.56.0windows-implement
0.56.0windows-interface
0.56.0windows-metadata
0.56.0This includes various improvements and fixes to code generation, compliance with new Rust warnings, Arm64EC bindings, as well as ergonomic improvements. The
riddle
crate in particular now matches the version ofwindows-bindgen
as they are inextricably linked.It includes minor updates to the following:
windows-targets
0.52.5windows-result
0.1.1windows-registry
0.1.1windows-version
0.1.1The
windows-targets
crate adds support forarm64ec-pc-windows-msvc
andi686-pc-windows-gnullvm
. The other crates only update dependencies.What's Changed
windows
crate dependency inimplement
andinterface
macros by @kennykerr in https://github.com/microsoft/windows-rs/pull/2917Param
trait by @kennykerr in https://github.com/microsoft/windows-rs/pull/2938windows-core
to generate its own bindings by @kennykerr in https://github.com/microsoft/windows-rs/pull/2941windows-targets
readme by @kennykerr in https://github.com/microsoft/windows-rs/pull/2962cfg
union calculation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2965Deref
for COM interface hierarchies inwindows-bindgen
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2968Deref
for COM interface hierarchies defined with theinterface
macro by @kennykerr in https://github.com/microsoft/windows-rs/pull/2969interface
macro by @kennykerr in https://github.com/microsoft/windows-rs/pull/2976Interface::IID
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2990New Contributors
Full Changelog: microsoft/windows-rs@0.55.0...0.56.0
v0.54.0
Compare Source
This update includes a few improvements to error propagation and expanded
VARIANT
support.What's Changed
LocalFree
behavior by @kennykerr in https://github.com/microsoft/windows-rs/pull/2889Result
transformation forWIN32_ERROR
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2890VARIANT
types by @kennykerr in https://github.com/microsoft/windows-rs/pull/2892Full Changelog: microsoft/windows-rs@0.53.0...0.54.0
v0.53.0
Compare Source
As requested, this release updates the Windows family of crates. Notably:
windows-sys
crate won't be updated at this time.windows-version
crate is unchanged.windows-targets
crates.windows-result
(#2847) crate and provides efficient Windows error handling and propagation with support for Win32, COM, WinRT, and NT APIs.windows-registry
(#2848) crate and provides simple, safe, and efficient access to the Windows registry.VARIANT
andPROPVARIANT
support has been added to thewindows-core
crate (#2786), making it a lot easier to work with Shell and OLE APIs.What's Changed
GetTrustLevel
return value by @kennykerr in https://github.com/microsoft/windows-rs/pull/2714invalid_mut
whenwriter.std
by @ChrisDenton in https://github.com/microsoft/windows-rs/pull/2727windows
crate to 1.62 by @kennykerr in https://github.com/microsoft/windows-rs/pull/2730windows::core::Error::from_win32()
by @Enyium in https://github.com/microsoft/windows-rs/pull/2733unused_qualifications
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2743HSTRING::len
documentation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2749Copy
,Clone
,Default
for enums by @kennykerr in https://github.com/microsoft/windows-rs/pull/2760matches
function safe by @kennykerr in https://github.com/microsoft/windows-rs/pull/2761Option
for propagation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2766From<T>
andFrom<&T>
for interface hierarchies by @kennykerr in https://github.com/microsoft/windows-rs/pull/2779char
type by @kennykerr in https://github.com/microsoft/windows-rs/pull/2781VARIANT
andPROPVARIANT
support by @kennykerr in https://github.com/microsoft/windows-rs/pull/2786VT_UNKNOWN
support forVARIANT
andPROPVARIANT
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2788VARIANT
support by @kennykerr in https://github.com/microsoft/windows-rs/pull/2789ExecQuery
andExecMethod
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2794AssociatedEnum
attribute to input parameters by @kennykerr in https://github.com/microsoft/windows-rs/pull/2797missing_docs
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2799Windows.Win32.UI.Shell.Common
in thewindows-sys
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2804const
functions across string types by @kennykerr in https://github.com/microsoft/windows-rs/pull/2810windows-sys
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2818std::io::Error
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2840HRESULT
ergonomics by @kennykerr in https://github.com/microsoft/windows-rs/pull/2843windows-result
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2847windows-registry
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2848TryFromIntError
toERROR_INVALID_DATA
inwindows-result
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2851windows-result
crate split by @tim-weis in https://github.com/microsoft/windows-rs/pull/2853HRESULT
constant literal generation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2857NTSTATUS
constant literal generation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2860NTSTATUS
message formatting support to thewindows-result
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2861New Contributors
Full Changelog: microsoft/windows-rs@0.52.0...0.53.0
v0.52.0
Compare Source
This release includes updates to all crates. This includes the first update to the
windows-sys
crate in 8 months. It also includes the first published version of the riddle tool and the windows-version crate.What's Changed
bindgen
/riddle
filters by @kennykerr in https://github.com/microsoft/windows-rs/pull/2634BOOLEAN
parameter binding by @kennykerr in https://github.com/microsoft/windows-rs/pull/2635HRESULT
input by @kennykerr in https://github.com/microsoft/windows-rs/pull/2646StaticLibrary
attribute by @kennykerr in https://github.com/microsoft/windows-rs/pull/2647PartialEq
,Eq
,Debug
,Clone
for interfaces by @kennykerr in https://github.com/microsoft/windows-rs/pull/2651bindgen
refactoring by @kennykerr in https://github.com/microsoft/windows-rs/pull/2654NTSTATUS
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2658query
method onComInterface
trait by @kennykerr in https://github.com/microsoft/windows-rs/pull/2659QueryInterface
implementation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2660docs
feature by @kennykerr in https://github.com/microsoft/windows-rs/pull/2676implement
andinterface
macros by @kennykerr in https://github.com/microsoft/windows-rs/pull/2696windows-version
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2702New Contributors
Full Changelog: microsoft/windows-rs@0.48.5...0.52.0
v0.51.1
[Compare Source](https://redirect.github.com/microsoft/windows-rs/compare/0.51.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 is behind base branch, 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.