fix(deps): update rust crate windows to 0.51 - autoclosed #236
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.51
Release Notes
microsoft/windows-rs (windows)
v0.51.1
Compare Source
This is mainly for publishing an update of the
windows-bindgen
crate but also fixes a few minor readme and version issues to avoid confusion.windows
andwindows-core
crates are updated to 0.51.1 to update the readme but are otherwise unchanged.windows-targets
crate 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-bindgen
crate is updated to 0.51.1 and includes the new riddle-based metadata processing capabilities and is compatible with thewindows
andwindows-core
crates.windows-metadata
crate is updated to 0.51.1 and includes many refinements but is largely for internal use.Those are major breaking changes.
The
windows-sys
crate will not be updated at this time.What's Changed
riddle
available as a library by @kennykerr in https://github.com/microsoft/windows-rs/pull/2609windows-bindgen
forstd
usage by @kennykerr in https://github.com/microsoft/windows-rs/pull/2610Full Changelog: microsoft/windows-rs@0.51.0...0.51.1
v0.51.0
Compare Source
As requested by #2603, this update includes the first published update to the windows crate in 5 months. As a reminder, updates are only published by request.
windows
crate now depends on the windows-core crate.windows
,windows-core
,windows-implement
, andwindows-interface
crates have been bumped to version 0.51.0 as there have been breaking changes.windows-targets
crate has been bumped to version 0.48.2 as it remains compatible with previous versions.What's Changed
None
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2535cdylib
dependency by @kennykerr in https://github.com/microsoft/windows-rs/pull/2545windows-targets
0.48.1 by @kennykerr in https://github.com/microsoft/windows-rs/pull/2558AsImpl::as_impl
should be unsafe by @kennykerr in https://github.com/microsoft/windows-rs/pull/2565Full Changelog: microsoft/windows-rs@0.50.0...0.51.0
v0.48.0
Compare Source
This release includes an update to all crates to address a target version reliability issue. This issue is detailed here: https://github.com/microsoft/windows-rs/issues/2410#issuecomment-1490802715
What's Changed
Full Changelog: microsoft/windows-rs@0.47.0...0.48.0
v0.47.0
Compare Source
As a reminder, updates are only published by request (#2397; https://github.com/microsoft/win32metadata/issues/1507). This release provides an update to the
windows
crate. It does not include an update to thewindows-sys
crate.This update adds support for standalone code generation (#2396) as well as requested fixes to the Win32 metadata that prevented some APIs from being used.
What's Changed
rustdoc
regression by @kennykerr in https://github.com/microsoft/windows-rs/pull/2381const
parameter metadata by @kennykerr in https://github.com/microsoft/windows-rs/pull/2384windows-targets
andwindows-bindgen
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2399Full Changelog: microsoft/windows-rs@0.46.0...0.47.0
v0.46.0
Compare Source
As a reminder, updates are only published by request (https://github.com/microsoft/windows-rs/pull/2380). This release provides an update to the
windows
crate. It does not include an update to thewindows-sys
crate.This is the first update to the
windows
crate in about 2 months and includes numerous improvements as well as updated API definitions via the Win32 metadata. Notably, thewindows
crate now sports streamlined and much simpler type traits (#2343) and parameter bindings (#2360). It includes the first steps towards WDK support (#2358), and it finally includes stock collection implementations (#91).Please note that the
ComInterface
trait is now required to call thecast
function (#2360).What's Changed
windows
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2318raw-dylib
testing withnightly-i686-pc-windows-gnu
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2312contains
method for enum flags by @kennykerr in https://github.com/microsoft/windows-rs/pull/2323riddle
syntax parsing and testing by @kennykerr in https://github.com/microsoft/windows-rs/pull/2324Reader::attribute_args
enhancements by @ChrisDenton in https://github.com/microsoft/windows-rs/pull/2329windows-bindgen
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2339windows::core
type traits by @kennykerr in https://github.com/microsoft/windows-rs/pull/2343IIterable
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2346Windows.Win32.Web.MsHtml
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2348IInspectable
extensions fromwindows::core
towindows::Foundation
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2349IVectorView
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2350IMapView
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2353ManuallyDrop
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2361Array
usage with non-WinRT types by @kennykerr in https://github.com/microsoft/windows-rs/pull/2362prettyplease
dependency by @kennykerr in https://github.com/microsoft/windows-rs/pull/2367BSTR
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2372windows::core
docs by @kennykerr in https://github.com/microsoft/windows-rs/pull/2376CHAR
tou8
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2378Full Changelog: microsoft/windows-rs@0.44.0...0.46.0
v0.44.0
Compare Source
As a reminder, updates are only published by request (#2279). This release does not include an update to the
windows-sys
crate, which remains stable and unchanged.This is the first update to the
windows
crate in 3 months. As such, there are quite a few improvements and fixes. Some notable changes to take a look at:raw-dylib
(#2164) - thanks @dpaoliello!windows-targets
crate that simplifies taking a dependency on the Windows libs (#2158)Changes
D3DMATRIX
toMatrix4x4
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2130DEVMODEA
/DEVMODEW
struct sizes are correct by @kennykerr in https://github.com/microsoft/windows-rs/pull/2139link
macro to provide an abstraction over the Rustlink
attribute by @kennykerr in https://github.com/microsoft/windows-rs/pull/2152windows-targets
crate to simplify lib dependency management by @kennykerr in https://github.com/microsoft/windows-rs/pull/2158raw-dylib
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2164windows-sys
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2173windows-sys
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2194verbatim
modifier is now stable by @kennykerr in https://github.com/microsoft/windows-rs/pull/2199VARIANT_BOOL
by @aquacash5 in https://github.com/microsoft/windows-rs/pull/2206.dll
suffix from non-Windows link import file names by @kennykerr in https://github.com/microsoft/windows-rs/pull/2216clippy
warninguninlined_format_args
by @kaivol in https://github.com/microsoft/windows-rs/pull/2224const
parameters through pointers by @kennykerr in https://github.com/microsoft/windows-rs/pull/2227HRESULT
'sok
method by @kennykerr in https://github.com/microsoft/windows-rs/pull/2228debugger_visualizer
test if option is not enabled by @kennykerr in https://github.com/microsoft/windows-rs/pull/2230link
docs by @kennykerr in https://github.com/microsoft/windows-rs/pull/2238PCWSTR
conversion by @kennykerr in https://github.com/microsoft/windows-rs/pull/2239interface
andimplement
features by @kennykerr in https://github.com/microsoft/windows-rs/pull/2240doc
comment forGUID
constants by @kennykerr in https://github.com/microsoft/windows-rs/pull/2268DEVMODEA
/DEVMODEW
structs by @kennykerr in https://github.com/microsoft/windows-rs/pull/2271New Contributors
Full Changelog: microsoft/windows-rs@0.43.0...0.44.0
v0.43.0
Compare Source
String constants now preserve their original encoding as either UTF-8 or UTF-16 null-terminated string constants. This makes many string constants directly and efficiently usable as constants to pass to various Windows APIs that expect either "ansi" or wide null-terminated string literals. This update also provides a collection of small improvements, particularly to string handling. Updated Win32 metadata provides fixes to various API definitions.
This release does not include an update to the
windows-sys
crate, which remains stable and unchanged.What's Changed
const GUID
code gen acrosswindows
andwindows-sys
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2072std
consistently in thewindows
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2073HSTRING
by @ridwanabdillahi in https://github.com/microsoft/windows-rs/pull/2077windows::core::Error
formatting by @kennykerr in https://github.com/microsoft/windows-rs/pull/2075HSTRING
methodsconst
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2078macro_rules
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2079clippy
warnings by @kaivol in https://github.com/microsoft/windows-rs/pull/2090BSTR
by @rylev in https://github.com/microsoft/windows-rs/pull/2116Full Changelog: microsoft/windows-rs@0.42.0...0.43.0
v0.42.0
Compare Source
This release provides a major update to the
windows-sys
crate, the first update since 0.36.1, and includes numerous fixes and improvements to the completeness and correctness of both API definitions and import libs.What's Changed
winmd
files fromwindows-metadata
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2060implement
macro traits need not be recursively dependent by @kennykerr in https://github.com/microsoft/windows-rs/pull/2062windows-sys
test coverage by @kennykerr in https://github.com/microsoft/windows-rs/pull/2063Changelog for
windows
crate: microsoft/windows-rs@0.41.0...0.42.0Changelog for
windows-sys
crate: microsoft/windows-rs@0.36.1...0.42.0v0.41.0
Compare Source
This is a minor service release addressing a number of issues mostly originating from the underlying win32 metadata which have now been resolved.
This release does not include an update to the
windows-sys
crate, which remains stable and unchanged.What's Changed
windows-sys
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2043core
module of thewindows
crate by @ridwanabdillahi in https://github.com/microsoft/windows-rs/pull/2023Vtable
support fromInterface
trait by @kennykerr in https://github.com/microsoft/windows-rs/pull/2051HSTRING
to conform to Rust's aliasing rules by @ChrisDenton in https://github.com/microsoft/windows-rs/pull/2057New Contributors
Full Changelog: microsoft/windows-rs@0.40.0...0.41.0
v0.40.0
Compare Source
This release includes a rollup of fixes and improvements to the Win32 metadata and many small fixes to the Rust bindings themselves. Notably, fixed-size array parameters, APIs with non-system calling conventions such as
cdecl
, reproducible builds, and far more accurate import libs.This release does not include an update to the
windows-sys
crate, which remains stable and unchanged.What's Changed
strlen
usage in metadata library with safe Rust by @Swatinem in https://github.com/microsoft/windows-rs/pull/1926windows-sys
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/1935implement
andinterface
crates by @kennykerr in https://github.com/microsoft/windows-rs/pull/1931rust-version
forwindows-interface
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/1930SetWindowLongPtrA
andGetWindowLongPtrA
by @kennykerr in https://github.com/microsoft/windows-rs/pull/1932&T
to*const T
for Win32 input parameters by @kennykerr in https://github.com/microsoft/windows-rs/pull/1939windows::core
by @kennykerr in https://github.com/microsoft/windows-rs/pull/1943aarch64-pc-windows-gnullvm
andx86_64-pc-windows-gnullvm
targets by @mati865 in https://github.com/microsoft/windows-rs/pull/1883Debug
forAgileReference
by @kennykerr in https://github.com/microsoft/windows-rs/pull/1986windows-sys
to 1.49 by @kennykerr in https://github.com/microsoft/windows-rs/pull/1987no_std
support by @kennykerr in https://github.com/microsoft/windows-rs/pull/1992windows::core
internals by @kennykerr in https://github.com/microsoft/windows-rs/pull/1993bindgen
options by @kennykerr in https://github.com/microsoft/windows-rs/pull/1994BOOL
,BOOLEAN
, andNTSTATUS
extensions rather than replacements by @kennykerr in https://github.com/microsoft/windows-rs/pull/1995MAKEINTRESOURCE
style constants by @kennykerr in https://github.com/microsoft/windows-rs/pull/2007BSTR
a core string type by @kennykerr in https://github.com/microsoft/windows-rs/pull/2006unsafe
helpers to cast from C++ or rawIUnknown
pointers to RustIUnknown
values by @kennykerr in https://github.com/microsoft/windows-rs/pull/2010New Contributors
Full Changelog: microsoft/windows-rs@0.39.0...0.40.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.
This PR has been generated by Mend Renovate. View repository job log here.