Skip to content

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 4, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/shirou/gopsutil/v3 v3.24.5 -> v4.25.9 age confidence

Release Notes

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

v4.25.9

Compare Source

What's Changed

cpu
disk
process
Other Changes

New Contributors

Full Changelog: shirou/gopsutil@v4.25.8...v4.25.9

v4.25.8

Compare Source

Important Change

Starting from this release, VirtualMemoryStat.Used on Linux is now calculated based on MemAvailable in meminfo. This may cause a difference of approximately 6–10% compared to the previous calculation.

To address this, we have introduced an opt-out mechanism. You can disable the new calculation by setting the context key WillBeDeletedOptOutMemAvailableCalc to true. Please note that this option is undocumented and will be removed in six months (Feb. 2026).

For more details, see #​1873 and #​1882.

What's Changed

cpu
disk
mem
process
Other Changes

New Contributors

Full Changelog: shirou/gopsutil@v4.25.7...v4.25.8

v4.25.7

Compare Source

What's Changed

disk
mem
process
Other Changes

New Contributors

Full Changelog: shirou/gopsutil@v4.25.6...v4.25.7

v4.25.6

Compare Source

What's Changed

disk
mem
process
Other Changes

New Contributors

Full Changelog: shirou/gopsutil@v4.25.5...v4.25.6

v4.25.5

Compare Source

What's Changed

cpu
docker
host
Other Changes

New Contributors

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

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
  • fix[darwin]: memory leak and string corruption in ARM Mac temperature sensors by @​chuangbo in #​1767
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
  • feat(cpu, mem, sensors, disk, process)(darwin): cgo-free implementations by @​uubulb in #​1702
process
Other Changes

New Contributors

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

v4.24.8

Compare Source

What's Changed

disk
  • fix(IOCountersWithContext): Fix the issue of not using names to fil ter devices in func IOCountersWithContext of the windows implementation by @​zmyzheng in #​1688
  • [disk][windows]: ignore network drive when not ready by @​shirou in #​1699
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
  • [windows][mem]: change to use Performance Counter on SwapMemory. by @​shirou in #​1677
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 becomes conflicted, 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
Author

renovate bot commented Sep 4, 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: go.sum
Command failed: go get -t ./...
go: module github.com/shirou/gopsutil/[email protected] requires go >= 1.23.0; switching to go1.24.8
go: downloading go1.24.8 (linux/amd64)
go: download go1.24.8: golang.org/[email protected]: verifying module: checksum database disabled by GOSUMDB=off

@renovate renovate bot force-pushed the renovate/github.com-shirou-gopsutil-v3-4.x branch from 2bbf562 to 22b6fdf Compare October 1, 2025 22:54
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