plugins-workspace
plugins-workspace copied to clipboard
chore(deps): update windows-rs and webview2 crates (v2)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| windows | dependencies | minor | 0.61 -> 0.62 |
| windows-registry | dependencies | minor | 0.5 -> 0.6 |
| windows-result | dependencies | minor | 0.3 -> 0.4 |
| windows-sys | dependencies | minor | 0.60.0 -> 0.61.0 |
| windows-sys | dependencies | minor | 0.60 -> 0.61 |
Release Notes
microsoft/windows-rs (windows)
v0.62.0: 62
New crates in this release
-
The windows-collections crate defines the Windows collection types like
IIterable<T>,IVector<T>,IMap<K, V>, and so on (#3483). It also includes all of the stock implementations for creating such collections (#2346, #2350, #2353). This allows these collections to be used without requiring a dependency on the largerwindowscrate. This crate also provides an optimized implementation of the standardIteratortrait for the WindowsIIterator<T>interface (#3476). -
The windows-future crate defines the Windows async types like
IAsyncAction,IAsyncOperation<T>, and so on (#3490). It also includes all of the stock implementations for creating such async types (#3221, #3235). This allows these async types to be used without requiring a dependency on the largerwindowscrate. -
The windows-link crate provides linker support for Windows (#3450). This is the evolution of the older
windows-targetscrate but is substantially simpler and more versatile thanks to advances in the Rust compiler since thewindows-targetscrate was unveiled. Notably, it does not depend on or insert any import libs and can be used with custom libraries, not only those provided by the Windows operating system. All of the crates, with the exception ofwindows-sys, now depend on the newwindows-linkcrate instead of the olderwindows-targetscrate. This greatly simplifies compilation and also greatly reduces the size of dependencies as thewindows-linkcrate is tiny. Thewindows-bindgencrate defaults towindows-linkbut also adds the--linkoption to override this as needed. You may for example want to use--link windows_targetsif you need to stick with thewindows-targetscrate if you cannot change your MSRV to Rust 1.71 or later as that was the first version to stabilizeraw-dylibfor all Windows targets. This then lets you continue to usewindows-bindgenuntil you are ready to move to a newer version of Rust. -
The windows-numerics crate defines the Windows numeric types to support graphics-oriented math APIs and calculations (#3488). It also also includes all of the stock implementations for overloaded operators and other transformations. This allows these numeric types to be used without requiring a dependency on the larger
windowscrate.
Major updates to existing crates
-
The windows-bindgen crate provides a number of improvements including new diagnostics (#3498), streamlined and more capable reference support (#3497, #3492), hardened method overloading (#3477), far fewer
transmutecalls, as well as many other critical fixes and improvements. -
The windows-core crate is largely unchanged but required some breaking changes to support
windows-bindgentype system improvements. -
The windows-registry crate continues to improve with generalized support for access rights (#3482), open options (#3461), and other minor improvements.
-
The windows crate now delegates to the
windows-numerics,windows-future, andwindows-collectionscrates for those types, as well as a number of critical fixes and improvements to features andcfgguards (#3431), and many other small improvements.
Minor updates to existing crates
-
The windows-result now includes the
BOOLtype (#3441) as a core type. This allows this ubiquitous type to be used without requiring a dependency on the largerwindowscrate. -
The windows-strings crate now depends on the new
windows-linkcrate instead of the olderwindows-targetscrate. -
The windows-version crate now depends on the new
windows-linkcrate instead of the olderwindows-targetscrate. -
The cppwinrt crate includes minor improvements to improve build reliability.
What's Changed
- Use
track_callerin more places by @kennykerr in #3424 - Allow name and value types in
set_stringto differ by @kerosina in #3412 - Simplify internal
windows-bindgencaching by @kennykerr in #3427 - Fix test build reliability by @kennykerr in #3429
- Use dedicated arch
cfgwriter by @kennykerr in #3430 - Fix
cfggeneration by @kennykerr in #3431 - Remove
Refunused lifetime type parameter by @kennykerr in #3433 - Use
Reffor generic type parameters by @kennykerr in #3435 - Apply type
cfgtoSendandSyncimplementations by @kennykerr in #3438 - Make
BOOLa core type by @kennykerr in #3441 - Remap the Win32 definition of
EventRegistrationTokenby @kennykerr in #3445 - Use
RefandOutReffor C++ delegates by @kennykerr in #3447 - Reintroduce
Reflifetime type parameter by @kennykerr in #3448 - Introducing the
windows-linkcrate by @kennykerr in #3450 - Avoid over-wrapping optional callback parameters by @kennykerr in #3452
- Use unique path for
cppwinrttemp file by @kennykerr in #3455 - Share result mapping code in
windows-bindgenand reducetransmutecount by @kennykerr in #3454 - Simplify signature parameter handling inside
windows-bindgenby @kennykerr in #3456 - Remove workaround for invalid metadata by @kennykerr in #3457
- Simplify dependency tracking by @kennykerr in #3460
- Add
OpenOptionstowindows-registryby @kennykerr in #3461 - Add
windows-linkto the windows-rs readme by @kennykerr in #3462 - Ensure remaining extensions compile with
no_stdby @kennykerr in #3469 - Harden nested type discovery by @kennykerr in #3471
- Add collection interop testing by @kennykerr in #3473
- Optimize
IteratorforIIterator<T>by @kennykerr in #3476 - Harden method overload support by @kennykerr in #3477
- Generalize support for access rights in
windows-registryby @kennykerr in #3482 - Support metadata with
MethodDefconstructor parent resolution by @kennykerr in #3484 - Introducing the dedicated
windows-collectionscrate by @kennykerr in #3483 - Deduplicate required interfaces by @kennykerr in #3487
- Introducing the dedicated
windows-numericscrate by @kennykerr in #3488 - Introducing the dedicated
windows-futurecrate by @kennykerr in #3490 - Improve
windows-bindgenreference usability and default reference support by @kennykerr in #3492 - Avoid memory explosion when stress testing
bindgenby @kennykerr in #3496 - Simpler default reference support in
windows-bindgenby @kennykerr in #3497 - Add optional warnings for
windows-bindgento improve diagnostics by @kennykerr in #3498 - Organize library tests by @kennykerr in #3499
- Optimize test coverage by @kennykerr in #3500
- Optimize external packages by @sivadeilra in #3501
- Release 0.62.0 by @kennykerr in #3502
New Contributors
- @kerosina made their first contribution in #3412
Full Changelog: https://github.com/microsoft/windows-rs/compare/0.61.0...0.62.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.
👻 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 was generated by Mend Renovate. View the repository job log.
⚠️ Artifact update problem
Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path plugins/opener/Cargo.toml --package [email protected] --precise 0.62.0
Updating crates.io index
error: failed to select a version for the requirement `windows = "^0.61"`
candidate versions found which didn't match: 0.62.0
location searched: crates.io index
required by package `tauri v2.8.4`
... which satisfies dependency `tauri = "^2.8.2"` (locked to 2.8.4) of package `tauri-plugin-autostart v2.5.0 (/tmp/renovate/repos/github/tauri-apps/plugins-workspace/plugins/autostart)`
File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path plugins/single-instance/Cargo.toml --package [email protected] --precise 0.61.0
Updating crates.io index
error: failed to select a version for the requirement `windows-sys = "^0.60.1"`
candidate versions found which didn't match: 0.61.0
location searched: crates.io index
required by package `notify v8.2.0`
... which satisfies dependency `notify = "^8"` (locked to 8.2.0) of package `tauri-plugin-fs v2.4.2 (/tmp/renovate/repos/github/tauri-apps/plugins-workspace/plugins/fs)`
... which satisfies path dependency `tauri-plugin-fs` (locked to 2.4.2) of package `tauri-plugin-dialog v2.4.0 (/tmp/renovate/repos/github/tauri-apps/plugins-workspace/plugins/dialog)`
File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path plugins/updater/Cargo.toml --package [email protected] --precise 0.61.0
Updating crates.io index
error: failed to select a version for the requirement `windows-sys = "^0.60.1"`
candidate versions found which didn't match: 0.61.0
location searched: crates.io index
required by package `notify v8.2.0`
... which satisfies dependency `notify = "^8"` (locked to 8.2.0) of package `tauri-plugin-fs v2.4.2 (/tmp/renovate/repos/github/tauri-apps/plugins-workspace/plugins/fs)`
... which satisfies path dependency `tauri-plugin-fs` (locked to 2.4.2) of package `tauri-plugin-dialog v2.4.0 (/tmp/renovate/repos/github/tauri-apps/plugins-workspace/plugins/dialog)`
Package Changes Through a2ff1f49b6ea306016e5a3910d794be58c078d5c
There are 2 changes which include updater with minor, updater-js 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 |
|---|---|---|
| api-example | 2.0.36 | 2.0.37 |
| api-example-js | 2.0.32 | 2.0.33 |
| updater | 2.9.0 | 2.10.0 |
| updater-js | 2.9.0 | 2.10.0 |
Add another change file through the GitHub UI by following this link.
Read about change files or the docs at github.com/jbolda/covector