Skip to content

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

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github.com-shirou-gopsutil-v3-4.x
Open

fix(deps): update module github.com/shirou/gopsutil/v3 to v4#421
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github.com-shirou-gopsutil-v3-4.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 6, 2026

This PR contains the following updates:

Package Change Age Confidence
github.com/shirou/gopsutil/v3 v3.24.5v4.26.2 age confidence

Release Notes

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

v4.26.2

Compare Source

What's Changed

disk
host
process
Other Changes

New Contributors

Full Changelog: shirou/gopsutil@v4.26.1...v4.26.2

v4.26.1

Compare Source

What's Changed

disk
host
mem
process
sensor

New Contributors

Full Changelog: shirou/gopsutil@v4.25.12...v4.26.1

v4.25.12

Compare Source

What's Changed

cpu
disk
host
mem
process

New Contributors

Full Changelog: shirou/gopsutil@v4.25.11...v4.25.12

v4.25.11

Compare Source

What's Changed

cpu
disk
process
Other Changes

New Contributors

Full Changelog: shirou/gopsutil@v4.25.10...v4.25.11

v4.25.10

Compare Source

What's Changed

cpu
disk
host
net
Other Changes

New Contributors

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

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 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 added the dependencies Pull requests that update a dependency file label Mar 6, 2026
@renovate
Copy link
Contributor Author

renovate bot commented Mar 6, 2026

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 3 additional dependencies were updated

Details:

Package Change
github.com/power-devops/perfstat v0.0.0-20221212215047-62379fc7944b -> v0.0.0-20240221224432-82ca36839d55
github.com/tklauser/go-sysconf v0.3.12 -> v0.3.16
github.com/tklauser/numcpus v0.6.1 -> v0.11.0

@codecov-commenter
Copy link

codecov-commenter commented Mar 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@3455c82). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #421   +/-   ##
=======================================
  Coverage        ?   28.80%           
=======================================
  Files           ?      121           
  Lines           ?    16480           
  Branches        ?        0           
=======================================
  Hits            ?     4747           
  Misses          ?    11116           
  Partials        ?      617           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate renovate bot force-pushed the renovate/github.com-shirou-gopsutil-v3-4.x branch 2 times, most recently from cd94309 to e0140cf Compare March 6, 2026 08:36
@Prashansa-K
Copy link
Collaborator

Hold the merge: needs to be tested with deck for analytics.
The current test suite doesn't cover the analytics.

@renovate renovate bot force-pushed the renovate/github.com-shirou-gopsutil-v3-4.x branch 4 times, most recently from ea960cc to 985c325 Compare March 11, 2026 12:59
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/github.com-shirou-gopsutil-v3-4.x branch from 985c325 to 12bf123 Compare March 16, 2026 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants