chore(deps): update rust crate windows to 0.58.0 (1.x) #12231
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.58.0Release Notes
microsoft/windows-rs (windows)
v0.58.0Compare 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.
riddle0.58.0windows0.58.0windows-bindgen0.58.0windows-core0.58.0windows-implement0.58.0windows-interface0.58.0windows-metadata0.58.0It also includes major updates to the following utility crates.
windows-result0.2.0windows-registry0.2.0The
windows-resultcrate now provides limited non-Windows support, and thewindows-registrycrate offers new lossless queries for binary and wide string values.And it includes minor updates to the
windows-targetscrates, with the addition of several new APIs.windows-targets0.52.6This release also includes the first published version of the
windows-stringscrate, moving the string types from thewindows-corecrate into a dedicated crate as a smaller dependency. It also offers an efficientHSTRINGbuilder (#3133).To clarify, the only crates that continue to support limited non-Windows builds are:
windows-bindgenandwindows-metadatafor code generation on non-Windows platforms.windows-coreandwindows-resultfor COM support on non-Windows platforms.What's Changed
rustfmtfor repo by @kennykerr in https://github.com/microsoft/windows-rs/pull/3084windows-bindgendirectly by @kennykerr in https://github.com/microsoft/windows-rs/pull/3086windows-resultto work on non-Windows platforms by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3082Debugderive macro does not need to be qualified by @kennykerr in https://github.com/microsoft/windows-rs/pull/3097unusedto deal with new warning about "unused" private fields in structs by @kennykerr in https://github.com/microsoft/windows-rs/pull/3103miodependency by @kennykerr in https://github.com/microsoft/windows-rs/pull/3107windowscrate works by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3110cargo run ...by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3113windowsandwindows-sysin unit test mode by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3112windows-stringscrate by @kennykerr in https://github.com/microsoft/windows-rs/pull/3125windows-coreinternals by @kennykerr in https://github.com/microsoft/windows-rs/pull/3129windows-bindgenby @kennykerr in https://github.com/microsoft/windows-rs/pull/3130ErrorandResult<()>to be the same size asHRESULTby @sivadeilra in https://github.com/microsoft/windows-rs/pull/3126windows-corecrate by @kennykerr in https://github.com/microsoft/windows-rs/pull/3131windows_slim_errorsby @kennykerr in https://github.com/microsoft/windows-rs/pull/3132HSTRINGbuilder and registry support by @kennykerr in https://github.com/microsoft/windows-rs/pull/3133SendandSyncforWeak<T>by @kennykerr in https://github.com/microsoft/windows-rs/pull/3138Futureimplementation by @kennykerr in https://github.com/microsoft/windows-rs/pull/3142HSTRINGbuilder provides initialized memory by @kennykerr in https://github.com/microsoft/windows-rs/pull/3141windows-stringscrate 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.0Compare Source
This release includes updates to a number of crates.
It includes major updates to the following:
riddle0.57.0windows0.57.0windows-bindgen0.57.0windows-core0.57.0windows-implement0.57.0windows-interface0.57.0windows-metadata0.57.0It also includes minor updates to the following:
windows-result0.1.2windows-registry0.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
cppwinrtcrate.What's Changed
as_rawtowindows-registryby @kennykerr in https://github.com/microsoft/windows-rs/pull/3003E_POINTERconstant inwindows-coreby @kennykerr in https://github.com/microsoft/windows-rs/pull/3008Copy,Clone, andDebugfor handles by @kennykerr in https://github.com/microsoft/windows-rs/pull/3015HSTRINGinterior mutability warnings in nightly by @riverar in https://github.com/microsoft/windows-rs/pull/3021unexpected_cfgswarnings by @kennykerr in https://github.com/microsoft/windows-rs/pull/3022RefandOutRefto enhance COM authoring support by @kennykerr in https://github.com/microsoft/windows-rs/pull/3025Refinterface parameters by @kennykerr in https://github.com/microsoft/windows-rs/pull/3027from_rawtowindows-registryby @kennykerr in https://github.com/microsoft/windows-rs/pull/3034windows-registryreadme by @kennykerr in https://github.com/microsoft/windows-rs/pull/3035windows-metadataandwindows-bindgenby @kennykerr in https://github.com/microsoft/windows-rs/pull/3039TypeNameto 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_cfgsby @ChrisDenton in https://github.com/microsoft/windows-rs/pull/3050no-default-featuresyml workflow by @kennykerr in https://github.com/microsoft/windows-rs/pull/3053windows-registryvalue iterator by @kennykerr in https://github.com/microsoft/windows-rs/pull/3052windows-2022hosted runners by @kennykerr in https://github.com/microsoft/windows-rs/pull/3056cppwinrtcrate and sample by @kennykerr in https://github.com/microsoft/windows-rs/pull/3054IInspectableimplementation by @kennykerr in https://github.com/microsoft/windows-rs/pull/3057unused_qualificationsentirely by @kennykerr in https://github.com/microsoft/windows-rs/pull/3078IUnknownidentity checks by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3073noexceptsupport 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.0Compare Source
This release includes updates to all crates except
windows-sys.It includes major updates to the following:
riddle0.56.0windows0.56.0windows-bindgen0.56.0windows-core0.56.0windows-implement0.56.0windows-interface0.56.0windows-metadata0.56.0This includes various improvements and fixes to code generation, compliance with new Rust warnings, Arm64EC bindings, as well as ergonomic improvements. The
riddlecrate in particular now matches the version ofwindows-bindgenas they are inextricably linked.It includes minor updates to the following:
windows-targets0.52.5windows-result0.1.1windows-registry0.1.1windows-version0.1.1The
windows-targetscrate adds support forarm64ec-pc-windows-msvcandi686-pc-windows-gnullvm. The other crates only update dependencies.What's Changed
windowscrate dependency inimplementandinterfacemacros by @kennykerr in https://github.com/microsoft/windows-rs/pull/2917Paramtrait by @kennykerr in https://github.com/microsoft/windows-rs/pull/2938windows-coreto generate its own bindings by @kennykerr in https://github.com/microsoft/windows-rs/pull/2941windows-targetsreadme by @kennykerr in https://github.com/microsoft/windows-rs/pull/2962cfgunion calculation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2965Dereffor COM interface hierarchies inwindows-bindgenby @kennykerr in https://github.com/microsoft/windows-rs/pull/2968Dereffor COM interface hierarchies defined with theinterfacemacro by @kennykerr in https://github.com/microsoft/windows-rs/pull/2969interfacemacro by @kennykerr in https://github.com/microsoft/windows-rs/pull/2976Interface::IIDby @kennykerr in https://github.com/microsoft/windows-rs/pull/2990New Contributors
Full Changelog: microsoft/windows-rs@0.55.0...0.56.0
v0.54.0Compare Source
This update includes a few improvements to error propagation and expanded
VARIANTsupport.What's Changed
LocalFreebehavior by @kennykerr in https://github.com/microsoft/windows-rs/pull/2889Resulttransformation forWIN32_ERRORby @kennykerr in https://github.com/microsoft/windows-rs/pull/2890VARIANTtypes by @kennykerr in https://github.com/microsoft/windows-rs/pull/2892Full Changelog: microsoft/windows-rs@0.53.0...0.54.0
v0.53.0Compare Source
As requested, this release updates the Windows family of crates. Notably:
windows-syscrate won't be updated at this time.windows-versioncrate is unchanged.windows-targetscrates.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.VARIANTandPROPVARIANTsupport has been added to thewindows-corecrate (#2786), making it a lot easier to work with Shell and OLE APIs.What's Changed
GetTrustLevelreturn value by @kennykerr in https://github.com/microsoft/windows-rs/pull/2714invalid_mutwhenwriter.stdby @ChrisDenton in https://github.com/microsoft/windows-rs/pull/2727windowscrate 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_qualificationsby @kennykerr in https://github.com/microsoft/windows-rs/pull/2743HSTRING::lendocumentation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2749Copy,Clone,Defaultfor enums by @kennykerr in https://github.com/microsoft/windows-rs/pull/2760matchesfunction safe by @kennykerr in https://github.com/microsoft/windows-rs/pull/2761Optionfor 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/2779chartype by @kennykerr in https://github.com/microsoft/windows-rs/pull/2781VARIANTandPROPVARIANTsupport by @kennykerr in https://github.com/microsoft/windows-rs/pull/2786VT_UNKNOWNsupport forVARIANTandPROPVARIANTby @kennykerr in https://github.com/microsoft/windows-rs/pull/2788VARIANTsupport by @kennykerr in https://github.com/microsoft/windows-rs/pull/2789ExecQueryandExecMethodby @kennykerr in https://github.com/microsoft/windows-rs/pull/2794AssociatedEnumattribute to input parameters by @kennykerr in https://github.com/microsoft/windows-rs/pull/2797missing_docsby @kennykerr in https://github.com/microsoft/windows-rs/pull/2799Windows.Win32.UI.Shell.Commonin thewindows-syscrate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2804constfunctions across string types by @kennykerr in https://github.com/microsoft/windows-rs/pull/2810windows-syscrate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2818std::io::Errorby @kennykerr in https://github.com/microsoft/windows-rs/pull/2840HRESULTergonomics by @kennykerr in https://github.com/microsoft/windows-rs/pull/2843windows-resultcrate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2847windows-registrycrate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2848TryFromIntErrortoERROR_INVALID_DATAinwindows-resultby @kennykerr in https://github.com/microsoft/windows-rs/pull/2851windows-resultcrate split by @tim-weis in https://github.com/microsoft/windows-rs/pull/2853HRESULTconstant literal generation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2857NTSTATUSconstant literal generation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2860NTSTATUSmessage formatting support to thewindows-resultcrate 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.0Compare Source
This release includes updates to all crates. This includes the first update to the
windows-syscrate in 8 months. It also includes the first published version of the riddle tool and the windows-version crate.What's Changed
bindgen/riddlefilters by @kennykerr in https://github.com/microsoft/windows-rs/pull/2634BOOLEANparameter binding by @kennykerr in https://github.com/microsoft/windows-rs/pull/2635HRESULTinput by @kennykerr in https://github.com/microsoft/windows-rs/pull/2646StaticLibraryattribute by @kennykerr in https://github.com/microsoft/windows-rs/pull/2647PartialEq,Eq,Debug,Clonefor interfaces by @kennykerr in https://github.com/microsoft/windows-rs/pull/2651bindgenrefactoring by @kennykerr in https://github.com/microsoft/windows-rs/pull/2654NTSTATUSby @kennykerr in https://github.com/microsoft/windows-rs/pull/2658querymethod onComInterfacetrait by @kennykerr in https://github.com/microsoft/windows-rs/pull/2659QueryInterfaceimplementation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2660docsfeature by @kennykerr in https://github.com/microsoft/windows-rs/pull/2676implementandinterfacemacros by @kennykerr in https://github.com/microsoft/windows-rs/pull/2696windows-versioncrate 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.1Compare Source
This is mainly for publishing an update of the
windows-bindgencrate but also fixes a few minor readme and version issues to avoid confusion.windowsandwindows-corecrates are updated to 0.51.1 to update the readme but are otherwise unchanged.windows-targetscrate and arch-specific crates are updated to 0.48.3 to update the readme and bring the lib file names in line with the crate version.Those are all semver-compatible updates.
windows-bindgencrate is updated to 0.51.1 and includes the new riddle-based metadata processing capabilities and is compatible with thewindowsandwindows-corecrates.windows-metadatacrate is updated to 0.51.1 and includes many refinements but is largely for internal use.Those are major breaking changes.
The
windows-syscrate will not be updated at this time.What's Changed
riddleavailable as a library by @kennykerr in https://github.com/microsoft/windows-rs/pull/2609windows-bindgenforstdusage by @kennykerr in [https://github.com/Improvewindows-bindgenforstdusage microsoft/windows-rs#2610]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.