Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update rust crate windows to 0.61.0 (1.x) #13038

Open
wants to merge 1 commit into
base: 1.x
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 20, 2025

This PR contains the following updates:

Package Type Update Change
windows dependencies minor 0.39.0 -> 0.61.0

Release Notes

microsoft/windows-rs (windows)

v0.61.0

Compare Source

Major crate updates:

  • windows 0.59.0
  • windows-core 0.59.0
    • windows-implement 0.59.0
    • windows-interface 0.59.0
  • windows-targets 0.53.0
    • windows_i686_msvc 0.53.0
    • windows_x86_64_msvc 0.53.0
    • windows_aarch64_msvc 0.53.0
    • windows_i686_gnu 0.53.0
    • windows_x86_64_gnu 0.53.0
    • windows_i686_gnullvm 0.53.0
    • windows_x86_64_gnullvm 0.53.0
    • windows_aarch64_gnullvm 0.53.0
  • windows-bindgen 0.59.0
  • windows-registry 0.4.0
  • windows-result 0.3.0
  • windows-strings 0.3.0
  • cppwinrt 0.2.0

Minor crate updates:

  • windows-version 0.1.2

Excluded:

  • windows-sys 0.59.0

Things to keep in mind:

  • The tag/release names no longer map directly to the crate versions, so to find samples for a particular release requires looking at the releases page and finding the release that most recently updated a particular crate.

  • The windows-bindgen crate includes the major code generation overhaul that brings many improvements - be sure to check out the PR description for more information. The resulting code gen depends on the new version of windows-core and its dependencies, unless you include the --sys option. #​3359

  • The cppwinrt crate constitutes a major update due to streamlining the error handling. #​3415

  • The windows-registry, windows-strings, and windows-result crates are also major version updates since they include small breaking changes.

  • The windows-targets crate finally receives a major version update, the first in over a year. This is due to #​3359 and #​3342 potentially introducing breaking changes. Although unlikely, these updates introduced sufficient changes that make it hard to ensure that the windows-targets libs don't break existing code. As we're updating windows-targets anyway, I took the liberty to bump the MSRV to 1.60 - to match the latest version of windows-sys - and remove the old but unused doc macro feature. Both remained for compatibility with very old dependents of the windows-targets crate.

  • The windows-version crate receives a minor update to update its dependency on the windows-targets crate.

  • Beyond these specifics, this update is the culmination of around 6 months worth of work on the windows-rs project. The biggest improvements comes from the new code generation engine, but many other improvements are now also available for production. This includes support for many new lints, warnings, and suggestions provided by the Rust toolchain; much smaller code gen thanks to deriving many more traits; more efficient code gen; major improvements to WinRT type system and implementation support; more robust and consistent error handling; stock collection and async support; improved support for class hierarchies; and much more!

In addition to "what's changed" below, check out what's changed for notes for 0.60.0 and 0.59.0 for additional changes that roll up to the crates published as part of this release.

What's Changed

New Contributors

Full Changelog: microsoft/windows-rs@0.60.0...0.61.0

v0.60.0

Compare Source

This release includes an update to the windows-registry and windows-strings crates, mainly to provide various improvements to registry support for rustup.

What's Changed

New Contributors

Full Changelog: microsoft/windows-rs@0.59.0...0.60.0

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.0
  • windows 0.58.0
  • windows-bindgen 0.58.0
  • windows-core 0.58.0
  • windows-implement 0.58.0
  • windows-interface 0.58.0
  • windows-metadata 0.58.0

It also includes major updates to the following utility crates.

  • windows-result 0.2.0
  • windows-registry 0.2.0

The windows-result crate now provides limited non-Windows support, and the windows-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.6

This release also includes the first published version of the windows-strings crate, moving the string types from the windows-core crate into a dedicated crate as a smaller dependency. It also offers an efficient HSTRING builder (#​3133).

To clarify, the only crates that continue to support limited non-Windows builds are:

  • windows-bindgen and windows-metadata for code generation on non-Windows platforms.
  • windows-core and windows-result for COM support on non-Windows platforms.

What's Changed

Full 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.0
  • windows 0.57.0
  • windows-bindgen 0.57.0
  • windows-core 0.57.0
  • windows-implement 0.57.0
  • windows-interface 0.57.0
  • windows-metadata 0.57.0

It also includes minor updates to the following:

  • windows-result 0.1.2
  • windows-registry 0.1.2

This 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

New 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.0
  • windows 0.56.0
  • windows-bindgen 0.56.0
  • windows-core 0.56.0
  • windows-implement 0.56.0
  • windows-interface 0.56.0
  • windows-metadata 0.56.0

This 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 of windows-bindgen as they are inextricably linked.

It includes minor updates to the following:

  • windows-targets 0.52.5
  • windows-result 0.1.1
  • windows-registry 0.1.1
  • windows-version 0.1.1

The windows-targets crate adds support for arm64ec-pc-windows-msvc and i686-pc-windows-gnullvm. The other crates only update dependencies.

What's Changed


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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner March 20, 2025 16:08
@renovate renovate bot added the type: chore label Mar 20, 2025
Copy link
Contributor Author

renovate bot commented Mar 20, 2025

⚠️ 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 core/tauri-runtime-wry/Cargo.toml --package [email protected] --precise 0.61.1
    Updating crates.io index
error: failed to select a version for the requirement `windows = "^0.39.0"`
candidate versions found which didn't match: 0.61.1
location searched: crates.io index
required by package `webview2-com v0.19.1`
    ... which satisfies dependency `webview2-com = "^0.19.1"` (locked to 0.19.1) of package `tauri v1.8.2 (/tmp/renovate/repos/github/tauri-apps/tauri/core/tauri)`

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path core/tauri-runtime/Cargo.toml --package [email protected] --precise 0.61.1
    Updating crates.io index
error: failed to select a version for the requirement `windows = "^0.39.0"`
candidate versions found which didn't match: 0.61.1
location searched: crates.io index
required by package `webview2-com v0.19.1`
    ... which satisfies dependency `webview2-com = "^0.19.1"` (locked to 0.19.1) of package `tauri v1.8.2 (/tmp/renovate/repos/github/tauri-apps/tauri/core/tauri)`

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path core/tauri/Cargo.toml --package [email protected] --precise 0.61.1
    Updating crates.io index
error: failed to select a version for the requirement `windows = "^0.39.0"`
candidate versions found which didn't match: 0.61.1
location searched: crates.io index
required by package `webview2-com v0.19.1`
    ... which satisfies dependency `webview2-com = "^0.19.1"` (locked to 0.19.1) of package `tauri v1.8.2 (/tmp/renovate/repos/github/tauri-apps/tauri/core/tauri)`

Copy link
Contributor

Package Changes Through 3faabb7

There are 1 changes which include tauri with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
tauri 1.8.2 1.8.3

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📬Proposal
Development

Successfully merging this pull request may close these issues.

0 participants