[PR #234] [MERGED] chore(deps): bump windows from 0.39.0 to 0.40.0 #810

Closed
opened 2026-01-05 14:53:03 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/LGUG2Z/komorebi/pull/234
Author: @dependabot[bot]
Created: 9/19/2022
Status: Merged
Merged: 9/20/2022
Merged by: @LGUG2Z

Base: masterHead: dependabot/cargo/windows-0.40.0


📝 Commits (1)

  • ed502a3 chore(deps): bump windows from 0.39.0 to 0.40.0

📊 Changes

6 files changed (+61 additions, -84 deletions)

View changed files

📝 Cargo.lock (+31 -17)
📝 komorebi-core/Cargo.toml (+1 -1)
📝 komorebi/Cargo.toml (+1 -1)
📝 komorebi/src/windows_api.rs (+19 -61)
📝 komorebi/src/windows_callbacks.rs (+8 -3)
📝 komorebic/Cargo.toml (+1 -1)

📄 Description

Bumps windows from 0.39.0 to 0.40.0.

Release notes

Sourced from windows's releases.

0.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

New Contributors

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/LGUG2Z/komorebi/pull/234 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 9/19/2022 **Status:** ✅ Merged **Merged:** 9/20/2022 **Merged by:** [@LGUG2Z](https://github.com/LGUG2Z) **Base:** `master` ← **Head:** `dependabot/cargo/windows-0.40.0` --- ### 📝 Commits (1) - [`ed502a3`](https://github.com/LGUG2Z/komorebi/commit/ed502a3053946333c045943ae0191fbfd86c4064) chore(deps): bump windows from 0.39.0 to 0.40.0 ### 📊 Changes **6 files changed** (+61 additions, -84 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+31 -17) 📝 `komorebi-core/Cargo.toml` (+1 -1) 📝 `komorebi/Cargo.toml` (+1 -1) 📝 `komorebi/src/windows_api.rs` (+19 -61) 📝 `komorebi/src/windows_callbacks.rs` (+8 -3) 📝 `komorebic/Cargo.toml` (+1 -1) </details> ### 📄 Description Bumps [windows](https://github.com/microsoft/windows-rs) from 0.39.0 to 0.40.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/microsoft/windows-rs/releases">windows's releases</a>.</em></p> <blockquote> <h2>0.40.0</h2> <p>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 <code>cdecl</code>, reproducible builds, and far more accurate import libs.</p> <p>This release does not include an update to the <code>windows-sys</code> crate, which remains stable and unchanged.</p> <h2>What's Changed</h2> <ul> <li>Exclude MsHtml APIs by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1925">microsoft/windows-rs#1925</a></li> <li>Replace unsafe <code>strlen</code> usage in metadata library with safe Rust by <a href="https://github.com/Swatinem"><code>@​Swatinem</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1926">microsoft/windows-rs#1926</a></li> <li>Minor FAQ tweaks by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1929">microsoft/windows-rs#1929</a></li> <li>Adding documentation for factory by <a href="https://github.com/BenJKuhn"><code>@​BenJKuhn</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1936">microsoft/windows-rs#1936</a></li> <li>Include only Win32 features and modules in the <code>windows-sys</code> crate by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1935">microsoft/windows-rs#1935</a></li> <li>Use a consistent set of dependencies across the <code>implement</code> and <code>interface</code> crates by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1931">microsoft/windows-rs#1931</a></li> <li>FAQ - What APIs are included? by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1933">microsoft/windows-rs#1933</a></li> <li>Declare <code>rust-version</code> for <code>windows-interface</code> crate by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1930">microsoft/windows-rs#1930</a></li> <li>Provide 32-bit aliases for <code>SetWindowLongPtrA</code> and <code>GetWindowLongPtrA</code> by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1932">microsoft/windows-rs#1932</a></li> <li>Prefer <code>&amp;T</code> to <code>*const T</code> for Win32 input parameters by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1939">microsoft/windows-rs#1939</a></li> <li>Support fixed-size array parameters by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1941">microsoft/windows-rs#1941</a></li> <li>Remove hidden dead code in <code>windows::core</code> by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1943">microsoft/windows-rs#1943</a></li> <li>Remove unnecessary parentheses by <a href="https://github.com/riverar"><code>@​riverar</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1949">microsoft/windows-rs#1949</a></li> <li>Add <code>aarch64-pc-windows-gnullvm</code> and <code>x86_64-pc-windows-gnullvm</code> targets by <a href="https://github.com/mati865"><code>@​mati865</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1883">microsoft/windows-rs#1883</a></li> <li>Make the output of tool_yml more deterministic across machines by <a href="https://github.com/glandium"><code>@​glandium</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1958">microsoft/windows-rs#1958</a></li> <li>Produce the *_gnu import libraries more deterministically by <a href="https://github.com/glandium"><code>@​glandium</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1967">microsoft/windows-rs#1967</a></li> <li>Remove unused binding by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1976">microsoft/windows-rs#1976</a></li> <li>Remove unnecessary symbols and sections from *_gnu import libs by <a href="https://github.com/glandium"><code>@​glandium</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1968">microsoft/windows-rs#1968</a></li> <li>Fix msvc lib generation by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1979">microsoft/windows-rs#1979</a></li> <li>Implement <code>Debug</code> for <code>AgileReference</code> by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1986">microsoft/windows-rs#1986</a></li> <li>Update min rust version for <code>windows-sys</code> to 1.49 by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1987">microsoft/windows-rs#1987</a></li> <li>Update the faq to call out <code>no_std</code> support by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1992">microsoft/windows-rs#1992</a></li> <li>Switch to custom bindings for the <code>windows::core</code> internals by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1993">microsoft/windows-rs#1993</a></li> <li>Add samples readme by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1991">microsoft/windows-rs#1991</a></li> <li>Remove unused <code>bindgen</code> options by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1994">microsoft/windows-rs#1994</a></li> <li>Make <code>BOOL</code>, <code>BOOLEAN</code>, and <code>NTSTATUS</code> extensions rather than replacements by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1995">microsoft/windows-rs#1995</a></li> <li>Update Win32 metadata version from 24.0.1 to 30.0.12 by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1996">microsoft/windows-rs#1996</a></li> <li>Add support for calling conventions by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1999">microsoft/windows-rs#1999</a></li> <li>Address nightly clippy warnings by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/2000">microsoft/windows-rs#2000</a></li> <li>Introduce reproducible builds with stable sorting by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/2003">microsoft/windows-rs#2003</a></li> <li>Adds a workaround and test for <code>MAKEINTRESOURCE</code> style constants by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/2007">microsoft/windows-rs#2007</a></li> <li>Remove Xaml interop namespace by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/2008">microsoft/windows-rs#2008</a></li> <li>Make <code>BSTR</code> a core string type by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/2006">microsoft/windows-rs#2006</a></li> <li>Update the win32 metadata to version 31.0.4 by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/2009">microsoft/windows-rs#2009</a></li> <li>Use $crate in s! and w! macros by <a href="https://github.com/goffrie"><code>@​goffrie</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/2011">microsoft/windows-rs#2011</a></li> <li>Adds <code>unsafe</code> helpers to cast from C++ or raw <code>IUnknown</code> pointers to Rust <code>IUnknown</code> values by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/2010">microsoft/windows-rs#2010</a></li> <li>Update the win32 metadata to version 32.0.17 by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/2015">microsoft/windows-rs#2015</a></li> <li>Remove win32metadata workarounds by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/2017">microsoft/windows-rs#2017</a></li> <li>Misc. changes to import library generation tooling by <a href="https://github.com/glandium"><code>@​glandium</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/2016">microsoft/windows-rs#2016</a></li> <li>Remove win32metadata workaround by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/2021">microsoft/windows-rs#2021</a></li> <li>Version 0.40.0 by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/2026">microsoft/windows-rs#2026</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/Swatinem"><code>@​Swatinem</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/microsoft/windows-rs/pull/1926">microsoft/windows-rs#1926</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/microsoft/windows-rs/commit/c23b00399932993bdabb320be762cd794ac53e66"><code>c23b003</code></a> Version 0.40.0 (<a href="https://github-redirect.dependabot.com/microsoft/windows-rs/issues/2026">#2026</a>)</li> <li><a href="https://github.com/microsoft/windows-rs/commit/9fe618a56da15cf3b9da08c198e90cf25f0d3bcc"><code>9fe618a</code></a> Remove win32metadata workaround (<a href="https://github-redirect.dependabot.com/microsoft/windows-rs/issues/2021">#2021</a>)</li> <li><a href="https://github.com/microsoft/windows-rs/commit/b5ee5217a8d6a0ec9516c75295399627ba0ef4da"><code>b5ee521</code></a> Improve gnu lib generation and msvc lib reproducibility (<a href="https://github-redirect.dependabot.com/microsoft/windows-rs/issues/2016">#2016</a>)</li> <li><a href="https://github.com/microsoft/windows-rs/commit/0fa0290ca59d77955027697bbcf792d1891e95c1"><code>0fa0290</code></a> Remove win32metadata workarounds (<a href="https://github-redirect.dependabot.com/microsoft/windows-rs/issues/2017">#2017</a>)</li> <li><a href="https://github.com/microsoft/windows-rs/commit/1691f23b7da7be272ce757452ef7189aa811ec58"><code>1691f23</code></a> Update the win32 metadata to version 32.0.17 (<a href="https://github-redirect.dependabot.com/microsoft/windows-rs/issues/2015">#2015</a>)</li> <li><a href="https://github.com/microsoft/windows-rs/commit/61bc313a462d595cf9a1a98e86f3659b4e9c5d98"><code>61bc313</code></a> Adds <code>unsafe</code> helpers to cast from C++ or raw <code>IUnknown</code> pointers to Rust `IU...</li> <li><a href="https://github.com/microsoft/windows-rs/commit/2db98c7d8c7bda617ee6a3c77260623675e6e1fd"><code>2db98c7</code></a> Use <code>$crate</code> in <code>s!</code> and <code>w!</code> macros (<a href="https://github-redirect.dependabot.com/microsoft/windows-rs/issues/2011">#2011</a>)</li> <li><a href="https://github.com/microsoft/windows-rs/commit/0debb1200c23f588def4af900bc7137ef4bd410a"><code>0debb12</code></a> Update the win32 metadata to version 31.0.4 (<a href="https://github-redirect.dependabot.com/microsoft/windows-rs/issues/2009">#2009</a>)</li> <li><a href="https://github.com/microsoft/windows-rs/commit/e4b778cbc7f2d80f3ae28a5b174a428e3f8a91d1"><code>e4b778c</code></a> Make <code>BSTR</code> a core string type (<a href="https://github-redirect.dependabot.com/microsoft/windows-rs/issues/2006">#2006</a>)</li> <li><a href="https://github.com/microsoft/windows-rs/commit/78a7cc12e4a2046783f111bfa03b20138c715692"><code>78a7cc1</code></a> Remove Xaml interop namespace (<a href="https://github-redirect.dependabot.com/microsoft/windows-rs/issues/2008">#2008</a>)</li> <li>Additional commits viewable in <a href="https://github.com/microsoft/windows-rs/compare/0.39.0...0.40.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=windows&package-manager=cargo&previous-version=0.39.0&new-version=0.40.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-01-05 14:53:03 +01:00
adam closed this issue 2026-01-05 14:53:03 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#810