[PR #2444] [MERGED] Bump github.com/shirou/gopsutil/v4 from 4.24.6 to 4.24.7 #5108

Closed
opened 2026-10-31 20:44:47 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/2444
Author: @dependabot[bot]
Created: 8/1/2024
Status: ✅ Merged
Merged: 8/2/2024
Merged by: @MHSanaei

Base: main ← Head: dependabot/go_modules/github.com/shirou/gopsutil/v4-4.24.7


📝 Commits (1)

  • d6940aa Bump github.com/shirou/gopsutil/v4 from 4.24.6 to 4.24.7

📊 Changes

2 files changed (+3 additions, -3 deletions)

View changed files

📝 go.mod (+1 -1)
📝 go.sum (+2 -2)

📄 Description

Bumps github.com/shirou/gopsutil/v4 from 4.24.6 to 4.24.7.

Release notes

Sourced from github.com/shirou/gopsutil/v4's releases.

v4.24.7

Important Notice Regarding Value Changes on mem.SwapMemory() on Windows

In change #1677, the values returned by mem.SwapMemory() on Windows have been significantly revised. Previously, these values were calculated from the PERFORMANCE_INFORMATION structure of the GetPerformanceInfo win32 function, but this calculation was incorrect. Consequently, it has been adjusted to align with the psutil implementation. As a result, the values returned by mem.SwapMemory() are expected to differ greatly from previous values.

What's Changed

docker

mem

Other Changes

New Contributors

Full Changelog: https://github.com/shirou/gopsutil/compare/v4.24.6...v4.24.7

Commits
  • 1915e93 Merge pull request #1677 from shirou/feat/win_mem_use_performance_counter_on_...
  • 1221983 [windows][mem]: change to use Performance Counter on SwapMemory.
  • 262afcf Merge pull request #1673 from shirou/dependabot/github_actions/actions/upload...
  • 3f547e4 Merge pull request #1670 from coderZoe/bugfix_for_docker_memory
  • 88ac4ed chore(deps): bump actions/upload-artifact from 4.3.3 to 4.3.4
  • d04251e Merge pull request #1676 from shirou/feature/remove_macos11_on_github_actions
  • 79fe161 fix: remove macos11 and add ubuntu-24.04 on GitHub runner list.
  • 0fc9a73 Merge pull request #1672 from Girbons/fix/arm-temperature-sensors
  • dab07a3 Merge pull request #1674 from shirou/dependabot/github_actions/actions/setup-...
  • cf2a42d chore(deps): bump actions/setup-go from 5.0.1 to 5.0.2
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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/MHSanaei/3x-ui/pull/2444 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 8/1/2024 **Status:** ✅ Merged **Merged:** 8/2/2024 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `dependabot/go_modules/github.com/shirou/gopsutil/v4-4.24.7` --- ### 📝 Commits (1) - [`d6940aa`](https://github.com/MHSanaei/3x-ui/commit/d6940aa336b0c6b4ad9eb3f3c0e530d60eb80fcb) Bump github.com/shirou/gopsutil/v4 from 4.24.6 to 4.24.7 ### 📊 Changes **2 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+1 -1) 📝 `go.sum` (+2 -2) </details> ### 📄 Description Bumps [github.com/shirou/gopsutil/v4](https://github.com/shirou/gopsutil) from 4.24.6 to 4.24.7. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/shirou/gopsutil/releases">github.com/shirou/gopsutil/v4's releases</a>.</em></p> <blockquote> <h2>v4.24.7</h2> <!-- raw HTML omitted --> <h2><strong>Important Notice Regarding Value Changes on mem.SwapMemory() on Windows</strong></h2> <p>In change <a href="https://redirect.github.com/shirou/gopsutil/issues/1677">#1677</a>, the values returned by <code>mem.SwapMemory()</code> on Windows have been significantly revised. Previously, these values were calculated from the <a href="https://learn.microsoft.com/en-us/windows/win32/api/psapi/ns-psapi-performance_information"><code>PERFORMANCE_INFORMATION</code></a> structure of the <a href="https://learn.microsoft.com/en-us/windows/win32/api/psapi/nf-psapi-getperformanceinfo"><code>GetPerformanceInfo</code></a> win32 function, but this calculation was incorrect. Consequently, it has been adjusted to align with the <a href="https://github.com/giampaolo/psutil/blob/c034e6692cf736b5e87d14418a8153bb03f6cf42/psutil/_pswindows.py#L250-L273">psutil implementation</a>. As a result, the values returned by <code>mem.SwapMemory()</code> are expected to differ greatly from previous values.</p> <h2>What's Changed</h2> <h3>docker</h3> <ul> <li>fix: docker_memory in centos_7.5 &amp; docker_1.13.1 by <a href="https://github.com/coderZoe"><code>@​coderZoe</code></a> in <a href="https://redirect.github.com/shirou/gopsutil/pull/1670">shirou/gopsutil#1670</a></li> </ul> <h3>mem</h3> <ul> <li>[windows][mem]: change to use Performance Counter on SwapMemory. by <a href="https://github.com/shirou"><code>@​shirou</code></a> in <a href="https://redirect.github.com/shirou/gopsutil/pull/1677">shirou/gopsutil#1677</a></li> </ul> <h3>Other Changes</h3> <ul> <li>fix: read temperature sensors darwin arm by <a href="https://github.com/Girbons"><code>@​Girbons</code></a> in <a href="https://redirect.github.com/shirou/gopsutil/pull/1672">shirou/gopsutil#1672</a></li> <li>fix: remove macos11 and add ubuntu-24.04 on GitHub runner list. by <a href="https://github.com/shirou"><code>@​shirou</code></a> in <a href="https://redirect.github.com/shirou/gopsutil/pull/1676">shirou/gopsutil#1676</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/coderZoe"><code>@​coderZoe</code></a> made their first contribution in <a href="https://redirect.github.com/shirou/gopsutil/pull/1670">shirou/gopsutil#1670</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/shirou/gopsutil/compare/v4.24.6...v4.24.7">https://github.com/shirou/gopsutil/compare/v4.24.6...v4.24.7</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/shirou/gopsutil/commit/1915e9377e8ef713011babf35afc58c065f19efe"><code>1915e93</code></a> Merge pull request <a href="https://redirect.github.com/shirou/gopsutil/issues/1677">#1677</a> from shirou/feat/win_mem_use_performance_counter_on_...</li> <li><a href="https://github.com/shirou/gopsutil/commit/12219831891dfeaae2abee1b4dd07068dbb81cc6"><code>1221983</code></a> [windows][mem]: change to use Performance Counter on SwapMemory.</li> <li><a href="https://github.com/shirou/gopsutil/commit/262afcf2e6b11944a3d23c9dbdbf21cc5c7602af"><code>262afcf</code></a> Merge pull request <a href="https://redirect.github.com/shirou/gopsutil/issues/1673">#1673</a> from shirou/dependabot/github_actions/actions/upload...</li> <li><a href="https://github.com/shirou/gopsutil/commit/3f547e4dd45965bc3d3bf2dcc623d4aa27f25f1f"><code>3f547e4</code></a> Merge pull request <a href="https://redirect.github.com/shirou/gopsutil/issues/1670">#1670</a> from coderZoe/bugfix_for_docker_memory</li> <li><a href="https://github.com/shirou/gopsutil/commit/88ac4ed061939f6837043facab0b7c2de49dab29"><code>88ac4ed</code></a> chore(deps): bump actions/upload-artifact from 4.3.3 to 4.3.4</li> <li><a href="https://github.com/shirou/gopsutil/commit/d04251e658c57bddd3bb425365546996299c9af3"><code>d04251e</code></a> Merge pull request <a href="https://redirect.github.com/shirou/gopsutil/issues/1676">#1676</a> from shirou/feature/remove_macos11_on_github_actions</li> <li><a href="https://github.com/shirou/gopsutil/commit/79fe1617f5573894c098b8de54ba93f7168402d8"><code>79fe161</code></a> fix: remove macos11 and add ubuntu-24.04 on GitHub runner list.</li> <li><a href="https://github.com/shirou/gopsutil/commit/0fc9a73c615f088ce96241b00a31c77bd3dbf25a"><code>0fc9a73</code></a> Merge pull request <a href="https://redirect.github.com/shirou/gopsutil/issues/1672">#1672</a> from Girbons/fix/arm-temperature-sensors</li> <li><a href="https://github.com/shirou/gopsutil/commit/dab07a32fa6a50ac4ae279b32868e284d821aaef"><code>dab07a3</code></a> Merge pull request <a href="https://redirect.github.com/shirou/gopsutil/issues/1674">#1674</a> from shirou/dependabot/github_actions/actions/setup-...</li> <li><a href="https://github.com/shirou/gopsutil/commit/cf2a42d7577797a2e35d8080f4d299cd8057ca6d"><code>cf2a42d</code></a> chore(deps): bump actions/setup-go from 5.0.1 to 5.0.2</li> <li>Additional commits viewable in <a href="https://github.com/shirou/gopsutil/compare/v4.24.6...v4.24.7">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/shirou/gopsutil/v4&package-manager=go_modules&previous-version=4.24.6&new-version=4.24.7)](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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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>
bsakaguchi 2026-10-31 20:44:47 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5108
No description provided.