chore(deps) Update Tauri Utils
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| html5ever | dependencies | minor | 0.25 -> 0.26 |
| windows | dependencies | minor | 0.39.0 -> 0.44.0 |
Release Notes
microsoft/windows-rs
v0.44.0
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:
- There is now a getting started guide
- Support for
raw-dylib(#2164) - thanks @dpaoliello! - A number of new samples have been added
- The target lib files are now validated for changes (#2132)
- Windows Runtime metadata has been updated to introduce new APIs for Windows 11 (#2192)
- Win32 metadata has been updated with numerous fixes (#2247)
- There's a new
windows-targetscrate that simplifies taking a dependency on the Windows libs (#2158) - Support for infallible return values (#2248)
- Option to use default metadata for code generation (#2253)
Changes
- Fix new clippy warnings by @kennykerr in https://github.com/microsoft/windows-rs/pull/2121
- Add performance counter samples by @kennykerr in https://github.com/microsoft/windows-rs/pull/2120
- Use more readable formatting for samples by @kennykerr in https://github.com/microsoft/windows-rs/pull/2124
- Add DirectComposition sample by @kennykerr in https://github.com/microsoft/windows-rs/pull/2129
- Remap
D3DMATRIXtoMatrix4x4by @kennykerr in https://github.com/microsoft/windows-rs/pull/2130 - Validate baseline for lib files by @kennykerr in https://github.com/microsoft/windows-rs/pull/2132
- Update the win32 metadata to version 37.0.34 by @kennykerr in https://github.com/microsoft/windows-rs/pull/2133
- Simplify yml build files by @kennykerr in https://github.com/microsoft/windows-rs/pull/2134
- Don't require files for reading/writing by @Jake-Shadle in https://github.com/microsoft/windows-rs/pull/2131
- Test
DEVMODEA/DEVMODEWstruct sizes are correct by @kennykerr in https://github.com/microsoft/windows-rs/pull/2139 - Simplify extern function code generation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2148
- Introduce
linkmacro to provide an abstraction over the Rustlinkattribute by @kennykerr in https://github.com/microsoft/windows-rs/pull/2152 - Simplify yml generation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2157
- Add
windows-targetscrate to simplify lib dependency management by @kennykerr in https://github.com/microsoft/windows-rs/pull/2158 - Improve samples and tests for validating calling conventions by @kennykerr in https://github.com/microsoft/windows-rs/pull/2159
- Switch debugger visualizer from crate feature to build option by @kennykerr in https://github.com/microsoft/windows-rs/pull/2160
- Streamline delay load core implementation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2162
- Remove deprecated WinRT namespaces by @kennykerr in https://github.com/microsoft/windows-rs/pull/2165
- Update the win32 metadata to version 38.0.19 by @kennykerr in https://github.com/microsoft/windows-rs/pull/2166
- Add optional support for
raw-dylibby @kennykerr in https://github.com/microsoft/windows-rs/pull/2164 - Generate field comparisons directly by @kennykerr in https://github.com/microsoft/windows-rs/pull/2168
- Add device watcher sample by @kennykerr in https://github.com/microsoft/windows-rs/pull/2172
- Test lower MSRV for
windows-sysby @kennykerr in https://github.com/microsoft/windows-rs/pull/2173 - Ensure bindings are warning-free by @kennykerr in https://github.com/microsoft/windows-rs/pull/2174
- Detect unsupported trailing array parameters by @kennykerr in https://github.com/microsoft/windows-rs/pull/2178
- Test readme by @kennykerr in https://github.com/microsoft/windows-rs/pull/2179
- Update LLVM (MinGW) toolchain by @riverar in https://github.com/microsoft/windows-rs/pull/2163
- Downgrade target crates versions to 0.42.1 by @glandium in https://github.com/microsoft/windows-rs/pull/2183
- Update Windows metadata by @riverar in https://github.com/microsoft/windows-rs/pull/2192
- Direct3D12 sample - fix copy_nonoverlapping size by @damyanp in https://github.com/microsoft/windows-rs/pull/2195
- Exclude major COM APIs from the
windows-syscrate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2194 verbatimmodifier is now stable by @kennykerr in https://github.com/microsoft/windows-rs/pull/2199- Update Win32 metadata by @kennykerr in https://github.com/microsoft/windows-rs/pull/2198
- Simplify parameter binding code gen by @kennykerr in https://github.com/microsoft/windows-rs/pull/2202
- Remove straggling Xaml code gen by @kennykerr in https://github.com/microsoft/windows-rs/pull/2203
- Add license tool by @kennykerr in https://github.com/microsoft/windows-rs/pull/2207
- Detect missing generated files by @kennykerr in https://github.com/microsoft/windows-rs/pull/2209
- Restructure lib testing by @kennykerr in https://github.com/microsoft/windows-rs/pull/2208
- Add convert methods for
VARIANT_BOOLby @aquacash5 in https://github.com/microsoft/windows-rs/pull/2206 - Tightening up parameter parsing and type generation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2214
- Simpler string ABI by @kennykerr in https://github.com/microsoft/windows-rs/pull/2215
- Remove any
.dllsuffix from non-Windows link import file names by @kennykerr in https://github.com/microsoft/windows-rs/pull/2216 - Introduce signature parameter kinds by @kennykerr in https://github.com/microsoft/windows-rs/pull/2217
- Detect more value types and reduce transmute reliance by @kennykerr in https://github.com/microsoft/windows-rs/pull/2220
- Fix new
clippywarninguninlined_format_argsby @kaivol in https://github.com/microsoft/windows-rs/pull/2224 - Pin samples link to latest published version by @kennykerr in https://github.com/microsoft/windows-rs/pull/2226
- Transform
constparameters through pointers by @kennykerr in https://github.com/microsoft/windows-rs/pull/2227 - Propagate error information through
HRESULT'sokmethod by @kennykerr in https://github.com/microsoft/windows-rs/pull/2228 - Don't run
debugger_visualizertest if option is not enabled by @kennykerr in https://github.com/microsoft/windows-rs/pull/2230 - Input slices should not use default type by @kennykerr in https://github.com/microsoft/windows-rs/pull/2233
- Remove any implied ownership semantics for Win32 structs by @kennykerr in https://github.com/microsoft/windows-rs/pull/2235
- Simplify parameter bindings by @kennykerr in https://github.com/microsoft/windows-rs/pull/2237
- Hide
linkdocs by @kennykerr in https://github.com/microsoft/windows-rs/pull/2238 - Remove unsafe
PCWSTRconversion by @kennykerr in https://github.com/microsoft/windows-rs/pull/2239 - Combine
interfaceandimplementfeatures by @kennykerr in https://github.com/microsoft/windows-rs/pull/2240 - More accurately detect return values while avoiding optional parameters by @kennykerr in https://github.com/microsoft/windows-rs/pull/2241
- Add doc feature requirements for interface traits by @kennykerr in https://github.com/microsoft/windows-rs/pull/2242
- Add threadpool work samples by @kennykerr in https://github.com/microsoft/windows-rs/pull/2243
- Update Win32 metadata by @kennykerr in https://github.com/microsoft/windows-rs/pull/2247
- Infallible return values and more efficient out parameters by @kennykerr in https://github.com/microsoft/windows-rs/pull/2248
- Provide option to use default metadata for code generation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2253
- Add fallible allocations and string conversions by @kennykerr in https://github.com/microsoft/windows-rs/pull/2254
- Include
doccomment forGUIDconstants by @kennykerr in https://github.com/microsoft/windows-rs/pull/2268 - Clarify license of the Windows metadata files by @kennykerr in https://github.com/microsoft/windows-rs/pull/2267
- Organize samples into folders by @kennykerr in https://github.com/microsoft/windows-rs/pull/2270
- Verify alignment for
DEVMODEA/DEVMODEWstructs by @kennykerr in https://github.com/microsoft/windows-rs/pull/2271 - Add Background Intelligent Transfer Service (BITS) sample by @kennykerr in https://github.com/microsoft/windows-rs/pull/2277
- Version 0.44 by @kennykerr in https://github.com/microsoft/windows-rs/pull/2279
New Contributors
- @Jake-Shadle made their first contribution in https://github.com/microsoft/windows-rs/pull/2131
- @aquacash5 made their first contribution in https://github.com/microsoft/windows-rs/pull/2206
Full Changelog: https://github.com/microsoft/windows-rs/compare/0.43.0...0.44.0
v0.43.0
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
- Remove composable support by @kennykerr in https://github.com/microsoft/windows-rs/pull/2070
- Remove unnecessary convertible parameters by @kennykerr in https://github.com/microsoft/windows-rs/pull/2071
- Use consistent
const GUIDcode gen acrosswindowsandwindows-sysby @kennykerr in https://github.com/microsoft/windows-rs/pull/2072 - Use
stdconsistently in thewindowscrate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2073 - Improve core string type testing by @kennykerr in https://github.com/microsoft/windows-rs/pull/2074
- Update the Natvis definition for
HSTRINGby @ridwanabdillahi in https://github.com/microsoft/windows-rs/pull/2077 - Improve
windows::core::Errorformatting by @kennykerr in https://github.com/microsoft/windows-rs/pull/2075 - Make more of the
HSTRINGmethodsconstby @kennykerr in https://github.com/microsoft/windows-rs/pull/2078 - Replace boilerplate COM interface code gen with
macro_rulesby @kennykerr in https://github.com/microsoft/windows-rs/pull/2079 - Fix D3D12 sample by @kennykerr in https://github.com/microsoft/windows-rs/pull/2084
- Suppress fewer warnings by @kennykerr in https://github.com/microsoft/windows-rs/pull/2085
- Fix a few new
clippywarnings by @kaivol in https://github.com/microsoft/windows-rs/pull/2090 - Update the win32 metadata to version 36.0.9 by @kennykerr in https://github.com/microsoft/windows-rs/pull/2099
- Provide original encoding for string constants by @kennykerr in https://github.com/microsoft/windows-rs/pull/2101
- Minor housekeeping by @kennykerr in https://github.com/microsoft/windows-rs/pull/2102
- Simpler non-COM interface code gen by @kennykerr in https://github.com/microsoft/windows-rs/pull/2103
- Fix recursive PartialEq impl in
BSTRby @rylev in https://github.com/microsoft/windows-rs/pull/2116 - Version 0.43 by @kennykerr in https://github.com/microsoft/windows-rs/pull/2117
Full Changelog: https://github.com/microsoft/windows-rs/compare/0.42.0...0.43.0
v0.42.0
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
- Exclude default
winmdfiles fromwindows-metadatacrate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2060 - The
implementmacro traits need not be recursively dependent by @kennykerr in https://github.com/microsoft/windows-rs/pull/2062 - Add
windows-systest coverage by @kennykerr in https://github.com/microsoft/windows-rs/pull/2063 - Add support for non-COM interfaces by @kennykerr in https://github.com/microsoft/windows-rs/pull/2066
- Update the win32 metadata to version 34.0.8 by @kennykerr in https://github.com/microsoft/windows-rs/pull/2067
- Version 0.42.0 by @kennykerr in https://github.com/microsoft/windows-rs/pull/2069
Changelog for windows crate: https://github.com/microsoft/windows-rs/compare/0.41.0...0.42.0
Changelog for windows-sys crate: https://github.com/microsoft/windows-rs/compare/0.36.1...0.42.0
v0.41.0
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
- Harden win32 array support to avoid conflicting metadata by @kennykerr in https://github.com/microsoft/windows-rs/pull/2035
- Don't transform pointers to references by @kennykerr in https://github.com/microsoft/windows-rs/pull/2036
- Avoid transforming array parameters with mismatched metadata by @kennykerr in https://github.com/microsoft/windows-rs/pull/2037
- Add support for reserved parameters by @kennykerr in https://github.com/microsoft/windows-rs/pull/2039
- Add WMI sample by @kennykerr in https://github.com/microsoft/windows-rs/pull/2041
- Add macros for creating null-terminated string literals to
windows-sysby @kennykerr in https://github.com/microsoft/windows-rs/pull/2043 - Further constrain transforming array parameters to avoid potentially polymorphic types by @kennykerr in https://github.com/microsoft/windows-rs/pull/2046
- Add Natvis definitions for types defined in the
coremodule of thewindowscrate by @ridwanabdillahi in https://github.com/microsoft/windows-rs/pull/2023 - Add support for declaring interfaces derived from existing interfaces by @kennykerr in https://github.com/microsoft/windows-rs/pull/2048
- Update the win32 metadata to version 33.0.18 by @kennykerr in https://github.com/microsoft/windows-rs/pull/2050
- Remove dlltool prefix hack by @glandium in https://github.com/microsoft/windows-rs/pull/2052
- Separate
Vtablesupport fromInterfacetrait by @kennykerr in https://github.com/microsoft/windows-rs/pull/2051 - Fix
HSTRINGto conform to Rust's aliasing rules by @ChrisDenton in https://github.com/microsoft/windows-rs/pull/2057 - Version 0.41.0 by @kennykerr in https://github.com/microsoft/windows-rs/pull/2058
New Contributors
- @ridwanabdillahi made their first contribution in https://github.com/microsoft/windows-rs/pull/2023
Full Changelog: https://github.com/microsoft/windows-rs/compare/0.40.0...0.41.0
v0.40.0
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
- Exclude MsHtml APIs by @kennykerr in https://github.com/microsoft/windows-rs/pull/1925
- Replace unsafe
strlenusage in metadata library with safe Rust by @Swatinem in https://github.com/microsoft/windows-rs/pull/1926 - Minor FAQ tweaks by @kennykerr in https://github.com/microsoft/windows-rs/pull/1929
- Adding documentation for factory by @BenJKuhn in https://github.com/microsoft/windows-rs/pull/1936
- Include only Win32 features and modules in the
windows-syscrate by @kennykerr in https://github.com/microsoft/windows-rs/pull/1935 - Use a consistent set of dependencies across the
implementandinterfacecrates by @kennykerr in https://github.com/microsoft/windows-rs/pull/1931 - FAQ - What APIs are included? by @kennykerr in https://github.com/microsoft/windows-rs/pull/1933
- Declare
rust-versionforwindows-interfacecrate by @kennykerr in https://github.com/microsoft/windows-rs/pull/1930 - Provide 32-bit aliases for
SetWindowLongPtrAandGetWindowLongPtrAby @kennykerr in https://github.com/microsoft/windows-rs/pull/1932 - Prefer
&Tto*const Tfor Win32 input parameters by @kennykerr in https://github.com/microsoft/windows-rs/pull/1939 - Support fixed-size array parameters by @kennykerr in https://github.com/microsoft/windows-rs/pull/1941
- Remove hidden dead code in
windows::coreby @kennykerr in https://github.com/microsoft/windows-rs/pull/1943 - Remove unnecessary parentheses by @riverar in https://github.com/microsoft/windows-rs/pull/1949
- Add
aarch64-pc-windows-gnullvmandx86_64-pc-windows-gnullvmtargets by @mati865 in https://github.com/microsoft/windows-rs/pull/1883 - Make the output of tool_yml more deterministic across machines by @glandium in https://github.com/microsoft/windows-rs/pull/1958
- Produce the *_gnu import libraries more deterministically by @glandium in https://github.com/microsoft/windows-rs/pull/1967
- Remove unused binding by @kennykerr in https://github.com/microsoft/windows-rs/pull/1976
- Remove unnecessary symbols and sections from *_gnu import libs by @glandium in https://github.com/microsoft/windows-rs/pull/1968
- Fix msvc lib generation by @kennykerr in https://github.com/microsoft/windows-rs/pull/1979
- Implement
DebugforAgileReferenceby @kennykerr in https://github.com/microsoft/windows-rs/pull/1986 - Update min rust version for
windows-systo 1.49 by @kennykerr in https://github.com/microsoft/windows-rs/pull/1987 - Update the faq to call out
no_stdsupport by @kennykerr in https://github.com/microsoft/windows-rs/pull/1992 - Switch to custom bindings for the
windows::coreinternals by @kennykerr in https://github.com/microsoft/windows-rs/pull/1993 - Add samples readme by @kennykerr in https://github.com/microsoft/windows-rs/pull/1991
- Remove unused
bindgenoptions by @kennykerr in https://github.com/microsoft/windows-rs/pull/1994 - Make
BOOL,BOOLEAN, andNTSTATUSextensions rather than replacements by @kennykerr in https://github.com/microsoft/windows-rs/pull/1995 - Update Win32 metadata version from 24.0.1 to 30.0.12 by @kennykerr in https://github.com/microsoft/windows-rs/pull/1996
- Add support for calling conventions by @kennykerr in https://github.com/microsoft/windows-rs/pull/1999
- Address nightly clippy warnings by @kennykerr in https://github.com/microsoft/windows-rs/pull/2000
- Introduce reproducible builds with stable sorting by @kennykerr in https://github.com/microsoft/windows-rs/pull/2003
- Adds a workaround and test for
MAKEINTRESOURCEstyle constants by @kennykerr in https://github.com/microsoft/windows-rs/pull/2007 - Remove Xaml interop namespace by @kennykerr in https://github.com/microsoft/windows-rs/pull/2008
- Make
BSTRa core string type by @kennykerr in https://github.com/microsoft/windows-rs/pull/2006 - Update the win32 metadata to version 31.0.4 by @kennykerr in https://github.com/microsoft/windows-rs/pull/2009
- Use $crate in s! and w! macros by @goffrie in https://github.com/microsoft/windows-rs/pull/2011
- Adds
unsafehelpers to cast from C++ or rawIUnknownpointers to RustIUnknownvalues by @kennykerr in https://github.com/microsoft/windows-rs/pull/2010 - Update the win32 metadata to version 32.0.17 by @kennykerr in https://github.com/microsoft/windows-rs/pull/2015
- Remove win32metadata workarounds by @kennykerr in https://github.com/microsoft/windows-rs/pull/2017
- Misc. changes to import library generation tooling by @glandium in https://github.com/microsoft/windows-rs/pull/2016
- Remove win32metadata workaround by @kennykerr in https://github.com/microsoft/windows-rs/pull/2021
- Version 0.40.0 by @kennykerr in https://github.com/microsoft/windows-rs/pull/2026
New Contributors
- @Swatinem made their first contribution in https://github.com/microsoft/windows-rs/pull/1926
- @BenJKuhn made their first contribution in https://github.com/microsoft/windows-rs/pull/1936
- @mati865 made their first contribution in https://github.com/microsoft/windows-rs/pull/1883
- @glandium made their first contribution in https://github.com/microsoft/windows-rs/pull/1958
- @goffrie made their first contribution in https://github.com/microsoft/windows-rs/pull/2011
Full Changelog: https://github.com/microsoft/windows-rs/compare/0.39.0...0.40.0
Configuration
📅 Schedule: Branch creation - "after 3am on Wednesday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
blocked by kuchiki. it's last release (2 years ago) still uses html5ever 0.25. In the git repo it was already updated but i'm not sure if there will be a new release any time soon, but i'm just gonna ask them 🤷
@FabianLars i've been thinking about forking it. I also had to pull the template tag fix from their repo because they're inactive :(
yeah i forked it months ago and again when i wrote that comment, but i forgot how fucked up the html/css situation in rust is.
Like i'm somewhat sure that they'd release a new version with the updated html5ever version if we ask them, but that leaves cssparser and selectors to be somewhat problematic - upgrading them is not simple tho because basically the whole ecosystem still uses older versions of them (for example all other crates use selectors 0.22 instead of 0.23. cssparser is similar)
All I want is to de-duplicate the phf dependencies 😢