Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 12, 2025

Note

Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to mend[bot].

This notice will be removed on 2025-10-07.


This PR contains the following updates:

Package Type Update Change
windows-sys dependencies minor 0.59.0 -> 0.61.0

Release Notes

microsoft/windows-rs (windows-sys)

v0.61.0: 61

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


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.

Copy link

sourcery-ai bot commented Jun 12, 2025

Reviewer's Guide

This PR upgrades the windows-sys crate from version 0.59.0 to 0.60.0 across all Rust project manifests, ensuring consistency in the dependency version and updating the lockfile accordingly.

Updated Class Diagram for GUID in windows-sys v0.60.0

classDiagram
  class GUID {
    <<windows-sys type>>
    -- Replaced Trait Method --
    - from(value: &str) GUID /* From<&str> trait (removed) */
    + try_from(value: &str) Result~GUID, Error~ /* TryFrom<&str> trait (added) */
  }
  class Result~GUID, Error~ {
    <<Generic Result>>
  }
Loading

Updated Class Diagram for Registry Value in windows-registry v0.60.0

classDiagram
  class Value {
    <<windows-registry type>>
    -- Added Conversions --
    + to_HSTRING() HSTRING
    + from_HSTRING(hs: HSTRING) Value
  }
  class HSTRING {
    <<windows-strings type>>
  }
  Value ..> HSTRING : uses for conversion
Loading

File-Level Changes

Change Details Files
Bump windows-sys minor version
  • Updated windows-sys version requirement from 0.59.0 to 0.60.0 in dependency declarations
  • Regenerated lockfile entry to reflect the new version
PEB_Walk/Cargo.toml
memN0ps/arsenal-rs/dll_injector_classic-rs/inject/Cargo.toml
memN0ps/arsenal-rs/dll_injector_classic-rs/testdll/Cargo.toml
memN0ps/arsenal-rs/module_stomping-rs/Cargo.toml
memN0ps/arsenal-rs/rdi-rs/inject/Cargo.toml
memN0ps/ekko-rs/Cargo.toml
memN0ps/mordor-rs/freshycalls_syswhispers/Cargo.toml
memN0ps/mordor-rs/hells_halos_tartarus_gate/Cargo.toml
memN0ps/pemadness-rs/pemadness/Cargo.toml
memN0ps/srdi-rs/generate_shellcode/Cargo.toml
memN0ps/srdi-rs/inject/Cargo.toml
memN0ps/srdi-rs/reflective_loader/Cargo.toml
memN0ps/srdi-rs/testdll/Cargo.toml
PEB_Walk/Cargo.lock

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@renovate renovate bot force-pushed the renovate/windows-sys-0.x branch from 26dab1a to 4610eb7 Compare August 10, 2025 13:33
@renovate renovate bot force-pushed the renovate/windows-sys-0.x branch from 4610eb7 to 417b1b4 Compare September 4, 2025 21:14
@renovate renovate bot changed the title Update Rust crate windows-sys to 0.60.0 Update Rust crate windows-sys to 0.61.0 Sep 4, 2025
@renovate renovate bot force-pushed the renovate/windows-sys-0.x branch from 417b1b4 to 084e240 Compare September 25, 2025 16:42
Copy link
Contributor Author

renovate bot commented Sep 25, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact 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: PEB_Walk/Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path PEB_Walk/Cargo.toml --package windows-sys@0.59.0 --precise 0.61.1
error: failed to acquire package cache lock

Caused by:
  failed to open: /home/ubuntu/.cargo/.package-cache

Caused by:
  failed to create directory `/home/ubuntu/.cargo`

Caused by:
  File exists (os error 17)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants