Skip to content

fix(deps): update module github.com/shirou/gopsutil/v3 to v4 #1550

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

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 25, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/shirou/gopsutil/v3 v3.24.5 -> v4.25.4 age adoption passing confidence

Release Notes

shirou/gopsutil (github.com/shirou/gopsutil/v3)

v4.25.4

Compare Source

What's Changed

cpu
disk
host
Other Changes

New Contributors

Full Changelog: shirou/gopsutil@v4.25.3...v4.25.4

v4.25.3

Compare Source

Important Notice

Starting from this release, we have set the Go version in go.mod to 1.23. Moving forward, we plan to continuously update it to the second most recent Go release.

We understand that gopsutil runs on various platforms, and some applications using it may only support older Go versions. With this release, those applications might no longer be able to build. However, as discussed in #​1804, we made this change because golang.org/x/sys, which gopsutil depends on, has adopted a policy of continuously updating its Go version.

That said, we intend to be conservative about syntax changes and avoid unnecessary modifications whenever possible.

What's Changed

disk
host
process
Chore
Other Changes

New Contributors

Full Changelog: shirou/gopsutil@v4.25.2...v4.25.3

v4.25.2

Compare Source

What's Changed
cpu
net
process
Other Changes
New Contributors

Full Changelog: shirou/gopsutil@v4.25.1...v4.25.2

v4.25.1

Compare Source

What's Changed
Other Changes

Full Changelog: shirou/gopsutil@v4.24.12...v4.25.1

v4.24.12

Compare Source

What's Changed
cpu
mem
net
process
sensors
Other Changes
New Contributors

Full Changelog: shirou/gopsutil@v4.24.11...v4.24.12

v4.24.11

Compare Source

What's Changed
host
New Contributors

Full Changelog: shirou/gopsutil@v4.24.10...v4.24.11

v4.24.10

Compare Source

What's Changed
cpu
mem
Other Changes
New Contributors

Full Changelog: shirou/gopsutil@v4.24.9...v4.24.10

v4.24.9

Compare Source

Important Change

Since #​1702, the Darwin implementation has been switched from cgo to purego (Great contribution from @​uubulb). As a result, cgo has been removed from the Darwin implementation, making cross-compilation easier. We believe this change will not have any impact, but if you encounter any issues, please create an issue.

What's Changed
cpu, mem, sensors, disk, process on darwin
process
Other Changes
New Contributors

Full Changelog: shirou/gopsutil@v4.24.8...v4.24.9

v4.24.8

Compare Source

What's Changed
disk
process
Other Changes
New Contributors 🎉

Full Changelog: shirou/gopsutil@v4.24.7...v4.24.8

v4.24.7

Compare Source

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: shirou/gopsutil@v4.24.6...v4.24.7

v4.24.6

Compare Source

What's Changed
host
sensors
Other Changes
New Contributors

Full Changelog: shirou/gopsutil@v4.24.5...v4.24.6

What's Changed
host
Other Changes
New Contributors

Full Changelog: shirou/gopsutil@v4.24.5...v4.24.6

v4.24.5

Compare Source

What's Changed

gopsutil v4 is released as v4.24.5. v3 will not be updated except for high level security issues.

Breaking Changes
  • host/SensorsTemperatures() moved to in the new sensors package.
  • process.Groups() now returns uint32. (#​1424)
  • process.Uids() and process.Gids() also now uint32.
    • The Pid remains int32. This is because changing it is expected to have a significant impact.
  • mem.VirtualMemoryExStat is now ExVirtualMemory with ExLinux and ExWindows. See document about Ex structs.
Other
  • Add SPDX license header line.
  • Remove coveralls.io
  • Remove old go build tag such as // +build

Full Changelog: shirou/gopsutil@v3.24.5...v4.24.5


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 force-pushed the renovate/g.yxqyang.asia-shirou-gopsutil-v3-4.x branch 3 times, most recently from dc28c2e to 066a117 Compare April 2, 2025 18:07
@renovate renovate bot force-pushed the renovate/g.yxqyang.asia-shirou-gopsutil-v3-4.x branch from 066a117 to 34de566 Compare April 8, 2025 15:29
@renovate renovate bot force-pushed the renovate/g.yxqyang.asia-shirou-gopsutil-v3-4.x branch 5 times, most recently from 8c80a93 to 6561024 Compare April 20, 2025 07:12
@renovate renovate bot force-pushed the renovate/g.yxqyang.asia-shirou-gopsutil-v3-4.x branch 7 times, most recently from e119c2a to abfb717 Compare May 6, 2025 14:45
@renovate renovate bot force-pushed the renovate/g.yxqyang.asia-shirou-gopsutil-v3-4.x branch 7 times, most recently from d892db6 to f838f3b Compare May 10, 2025 13:08
@renovate renovate bot force-pushed the renovate/g.yxqyang.asia-shirou-gopsutil-v3-4.x branch from f838f3b to 12ae83f Compare May 10, 2025 13: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