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

Merged
bagas merged 1 commits from renovate/github.com-shirou-gopsutil-v3-4.x into main 2026-01-15 01:37:05 +07:00
Collaborator

This PR contains the following updates:

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

Release Notes

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

v4.25.12

Compare Source

What's Changed

cpu
disk
host
mem
process

New Contributors

Full Changelog: https://github.com/shirou/gopsutil/compare/v4.25.11...v4.25.12

v4.25.11

Compare Source

What's Changed

cpu
disk
process
Other Changes

New Contributors

Full Changelog: https://github.com/shirou/gopsutil/compare/v4.25.10...v4.25.11

v4.25.10

Compare Source

What's Changed

cpu
disk
host
net
Other Changes

New Contributors

Full Changelog: https://github.com/shirou/gopsutil/compare/v4.25.9...v4.25.10

v4.25.9

Compare Source

What's Changed

cpu
disk
process
Other Changes

New Contributors

Full Changelog: https://github.com/shirou/gopsutil/compare/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: https://github.com/shirou/gopsutil/compare/v4.25.7...v4.25.8

v4.25.7

Compare Source

What's Changed

disk
mem
process
Other Changes

New Contributors

Full Changelog: https://github.com/shirou/gopsutil/compare/v4.25.6...v4.25.7

v4.25.6

Compare Source

What's Changed

disk
mem
process
Other Changes

New Contributors

Full Changelog: https://github.com/shirou/gopsutil/compare/v4.25.5...v4.25.6

v4.25.5

Compare Source

What's Changed

cpu
docker
host
Other Changes

New Contributors

Full Changelog: https://github.com/shirou/gopsutil/compare/v4.25.4...v4.25.5

v4.25.4

Compare Source

What's Changed

cpu
disk
host
Other Changes

New Contributors

Full Changelog: https://github.com/shirou/gopsutil/compare/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: https://github.com/shirou/gopsutil/compare/v4.25.2...v4.25.3

v4.25.2

Compare Source

What's Changed

cpu
net
process
Other Changes

New Contributors

Full Changelog: https://github.com/shirou/gopsutil/compare/v4.25.1...v4.25.2

v4.25.1

Compare Source

What's Changed

Other Changes

Full Changelog: https://github.com/shirou/gopsutil/compare/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: https://github.com/shirou/gopsutil/compare/v4.24.11...v4.24.12

v4.24.11

Compare Source

What's Changed

host

New Contributors

Full Changelog: https://github.com/shirou/gopsutil/compare/v4.24.10...v4.24.11

v4.24.10

Compare Source

What's Changed

cpu
mem
Other Changes

New Contributors

Full Changelog: https://github.com/shirou/gopsutil/compare/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: https://github.com/shirou/gopsutil/compare/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: https://github.com/shirou/gopsutil/compare/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: https://github.com/shirou/gopsutil/compare/v4.24.6...v4.24.7

v4.24.6

Compare Source

What's Changed

host
sensors
Other Changes

New Contributors

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

What's Changed

host
Other Changes

New Contributors

Full Changelog: https://github.com/shirou/gopsutil/compare/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: https://github.com/shirou/gopsutil/compare/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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) | `v3.24.5` → `v4.25.12` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fshirou%2fgopsutil%2fv3/v4.25.12?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fshirou%2fgopsutil%2fv3/v3.24.5/v4.25.12?slim=true) | --- ### Release Notes <details> <summary>shirou/gopsutil (github.com/shirou/gopsutil/v3)</summary> ### [`v4.25.12`](https://github.com/shirou/gopsutil/releases/tag/v4.25.12) [Compare Source](https://github.com/shirou/gopsutil/compare/v4.25.11...v4.25.12) <!-- Release notes generated using configuration in .github/release.yml at v4.25.12 --> #### What's Changed ##### cpu - \[cpu]\[linux]: fix ":" in CPU ModelName by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1960](https://github.com/shirou/gopsutil/pull/1960) - \[cpu]\[linux]: add riscv cpu parser by [@&#8203;mengzhuo](https://github.com/mengzhuo) in [#&#8203;1970](https://github.com/shirou/gopsutil/pull/1970) - \[cpu]\[darwin]: release pCoreRef in each iteration by [@&#8203;uubulb](https://github.com/uubulb) in [#&#8203;1971](https://github.com/shirou/gopsutil/pull/1971) - \[darwin]: wrap library functions as struct methods by [@&#8203;uubulb](https://github.com/uubulb) in [#&#8203;1976](https://github.com/shirou/gopsutil/pull/1976) ##### disk - Fixes [#&#8203;1284](https://github.com/shirou/gopsutil/issues/1284) by [@&#8203;johnnybubonic](https://github.com/johnnybubonic) in [#&#8203;1931](https://github.com/shirou/gopsutil/pull/1931) - fix disk.Partition cut off after first disk by [@&#8203;sni](https://github.com/sni) in [#&#8203;1975](https://github.com/shirou/gopsutil/pull/1975) - \[disk]\[windows]: add virtual drive for TestGetLogicalDrives by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1977](https://github.com/shirou/gopsutil/pull/1977) - Add missing mount flags (local, protect) by [@&#8203;Kerlenton](https://github.com/Kerlenton) in [#&#8203;1968](https://github.com/shirou/gopsutil/pull/1968) ##### host - Replace AIX uptime function with ps etimes-based implementation by [@&#8203;Dylan-M](https://github.com/Dylan-M) in [#&#8203;1967](https://github.com/shirou/gopsutil/pull/1967) ##### mem - feat(mem): Add support for Percpu by [@&#8203;pvlltvk](https://github.com/pvlltvk) in [#&#8203;1972](https://github.com/shirou/gopsutil/pull/1972) ##### process - Add NumFDs implementation for Darwin by [@&#8203;Kerlenton](https://github.com/Kerlenton) in [#&#8203;1965](https://github.com/shirou/gopsutil/pull/1965) - \[sensors]\[darwin]: retrieve sensor information in one function call by [@&#8203;uubulb](https://github.com/uubulb) in [#&#8203;1973](https://github.com/shirou/gopsutil/pull/1973) #### New Contributors - [@&#8203;Kerlenton](https://github.com/Kerlenton) made their first contribution in [#&#8203;1965](https://github.com/shirou/gopsutil/pull/1965) - [@&#8203;sni](https://github.com/sni) made their first contribution in [#&#8203;1975](https://github.com/shirou/gopsutil/pull/1975) - [@&#8203;pvlltvk](https://github.com/pvlltvk) made their first contribution in [#&#8203;1972](https://github.com/shirou/gopsutil/pull/1972) - [@&#8203;mengzhuo](https://github.com/mengzhuo) made their first contribution in [#&#8203;1970](https://github.com/shirou/gopsutil/pull/1970) **Full Changelog**: <https://github.com/shirou/gopsutil/compare/v4.25.11...v4.25.12> ### [`v4.25.11`](https://github.com/shirou/gopsutil/releases/tag/v4.25.11) [Compare Source](https://github.com/shirou/gopsutil/compare/v4.25.10...v4.25.11) <!-- Release notes generated using configuration in .github/release.yml at v4.25.11 --> #### What's Changed ##### cpu - chore: enable nilnesserr linter by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1893](https://github.com/shirou/gopsutil/pull/1893) ##### disk - add context cancellation to disk windows by [@&#8203;StefanoBalzarottiNozomi](https://github.com/StefanoBalzarottiNozomi) in [#&#8203;1943](https://github.com/shirou/gopsutil/pull/1943) ##### process - Fix potential edge case on procfs and alike by [@&#8203;johnnybubonic](https://github.com/johnnybubonic) in [#&#8203;1934](https://github.com/shirou/gopsutil/pull/1934) - fix(process): add missing CloseHandle to OpenFilesWithContext for Windows by [@&#8203;OverOrion](https://github.com/OverOrion) in [#&#8203;1955](https://github.com/shirou/gopsutil/pull/1955) ##### Other Changes - fix: remove and add GitHub action runner images. by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1948](https://github.com/shirou/gopsutil/pull/1948) #### New Contributors - [@&#8203;johnnybubonic](https://github.com/johnnybubonic) made their first contribution in [#&#8203;1934](https://github.com/shirou/gopsutil/pull/1934) - [@&#8203;OverOrion](https://github.com/OverOrion) made their first contribution in [#&#8203;1955](https://github.com/shirou/gopsutil/pull/1955) **Full Changelog**: <https://github.com/shirou/gopsutil/compare/v4.25.10...v4.25.11> ### [`v4.25.10`](https://github.com/shirou/gopsutil/releases/tag/v4.25.10) [Compare Source](https://github.com/shirou/gopsutil/compare/v4.25.9...v4.25.10) <!-- Release notes generated using configuration in .github/release.yml at v4.25.10 --> #### What's Changed ##### cpu - chore: enable noctx linter by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1930](https://github.com/shirou/gopsutil/pull/1930) - Use registry to remove wmi from cpu package by [@&#8203;OrbintSoft](https://github.com/OrbintSoft) in [#&#8203;1929](https://github.com/shirou/gopsutil/pull/1929) ##### disk - Remove leaking goroutine by [@&#8203;StefanoBalzarottiNozomi](https://github.com/StefanoBalzarottiNozomi) in [#&#8203;1921](https://github.com/shirou/gopsutil/pull/1921) - use correct path lengths by [@&#8203;StefanoBalzarottiNozomi](https://github.com/StefanoBalzarottiNozomi) in [#&#8203;1937](https://github.com/shirou/gopsutil/pull/1937) - refactor disk windows and add tests by [@&#8203;StefanoBalzarottiNozomi](https://github.com/StefanoBalzarottiNozomi) in [#&#8203;1941](https://github.com/shirou/gopsutil/pull/1941) ##### host - fix: linter error about string concat and build tag by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1942](https://github.com/shirou/gopsutil/pull/1942) ##### net - docs: minor improvement for docs by [@&#8203;huyejia](https://github.com/huyejia) in [#&#8203;1940](https://github.com/shirou/gopsutil/pull/1940) ##### Other Changes - \[common]: remove unused DoSysctrl by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1936](https://github.com/shirou/gopsutil/pull/1936) #### New Contributors - [@&#8203;huyejia](https://github.com/huyejia) made their first contribution in [#&#8203;1940](https://github.com/shirou/gopsutil/pull/1940) **Full Changelog**: <https://github.com/shirou/gopsutil/compare/v4.25.9...v4.25.10> ### [`v4.25.9`](https://github.com/shirou/gopsutil/releases/tag/v4.25.9) [Compare Source](https://github.com/shirou/gopsutil/compare/v4.25.8...v4.25.9) <!-- Release notes generated using configuration in .github/release.yml at v4.25.9 --> #### What's Changed ##### cpu - get max Mhz per package without wmi by [@&#8203;OrbintSoft](https://github.com/OrbintSoft) in [#&#8203;1919](https://github.com/shirou/gopsutil/pull/1919) - \[cpu]\[windows]: add logical processor count error handling by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1925](https://github.com/shirou/gopsutil/pull/1925) - Family and PhysicalID without wmi by [@&#8203;OrbintSoft](https://github.com/OrbintSoft) in [#&#8203;1926](https://github.com/shirou/gopsutil/pull/1926) - Cores count without wmi by [@&#8203;OrbintSoft](https://github.com/OrbintSoft) in [#&#8203;1915](https://github.com/shirou/gopsutil/pull/1915) ##### disk - \[disk]\[linux]: fix lint (gofumpt) by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1928](https://github.com/shirou/gopsutil/pull/1928) - fix infinite loop by [@&#8203;StefanoBalzarottiNozomi](https://github.com/StefanoBalzarottiNozomi) in [#&#8203;1922](https://github.com/shirou/gopsutil/pull/1922) ##### process - refactor: use slices.Contains to simplify code by [@&#8203;wmypku](https://github.com/wmypku) in [#&#8203;1906](https://github.com/shirou/gopsutil/pull/1906) ##### Other Changes - fix: github action labeler.yml confirugration format by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1918](https://github.com/shirou/gopsutil/pull/1918) - limit memory usage on warnings list by [@&#8203;StefanoBalzarottiNozomi](https://github.com/StefanoBalzarottiNozomi) in [#&#8203;1920](https://github.com/shirou/gopsutil/pull/1920) #### New Contributors - [@&#8203;wmypku](https://github.com/wmypku) made their first contribution in [#&#8203;1906](https://github.com/shirou/gopsutil/pull/1906) - [@&#8203;StefanoBalzarottiNozomi](https://github.com/StefanoBalzarottiNozomi) made their first contribution in [#&#8203;1920](https://github.com/shirou/gopsutil/pull/1920) **Full Changelog**: <https://github.com/shirou/gopsutil/compare/v4.25.8...v4.25.9> ### [`v4.25.8`](https://github.com/shirou/gopsutil/releases/tag/v4.25.8) [Compare Source](https://github.com/shirou/gopsutil/compare/v4.25.7...v4.25.8) <!-- Release notes generated using configuration in .github/release.yml at v4.25.8 --> ### 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 [#&#8203;1873](https://github.com/shirou/gopsutil/issues/1873) and [#&#8203;1882](https://github.com/shirou/gopsutil/issues/1882). #### What's Changed ##### cpu - Do not return an error on unknown CPU stepping by [@&#8203;pgimalac](https://github.com/pgimalac) in [#&#8203;1895](https://github.com/shirou/gopsutil/pull/1895) - Remove common test helper to skip tests by [@&#8203;rosstimothy](https://github.com/rosstimothy) in [#&#8203;1894](https://github.com/shirou/gopsutil/pull/1894) - feat(cpu): add Neoverse-V2/\* other models by [@&#8203;gyuho](https://github.com/gyuho) in [#&#8203;1902](https://github.com/shirou/gopsutil/pull/1902) - \[cpu]\[mem]\[linux]: throw error on Readline failed by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1908](https://github.com/shirou/gopsutil/pull/1908) ##### disk - \[disk]\[process]\[freebsd]: remove binary.go from common by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1907](https://github.com/shirou/gopsutil/pull/1907) ##### mem - \[mem]\[linux]: Used calculated from Total and Available by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1882](https://github.com/shirou/gopsutil/pull/1882) ##### process - process: Fix data race on darwin by [@&#8203;prashantv](https://github.com/prashantv) in [#&#8203;1901](https://github.com/shirou/gopsutil/pull/1901) ##### Other Changes - chore: enable fatcontext linter by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1885](https://github.com/shirou/gopsutil/pull/1885) - chore: enable time-date and time-equal rules from revive by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1891](https://github.com/shirou/gopsutil/pull/1891) - Fix: use compatible perfstat version to fix aix cgo builds by [@&#8203;gremat](https://github.com/gremat) in [#&#8203;1910](https://github.com/shirou/gopsutil/pull/1910) #### New Contributors - [@&#8203;rosstimothy](https://github.com/rosstimothy) made their first contribution in [#&#8203;1894](https://github.com/shirou/gopsutil/pull/1894) - [@&#8203;prashantv](https://github.com/prashantv) made their first contribution in [#&#8203;1901](https://github.com/shirou/gopsutil/pull/1901) - [@&#8203;gyuho](https://github.com/gyuho) made their first contribution in [#&#8203;1902](https://github.com/shirou/gopsutil/pull/1902) - [@&#8203;gremat](https://github.com/gremat) made their first contribution in [#&#8203;1910](https://github.com/shirou/gopsutil/pull/1910) **Full Changelog**: <https://github.com/shirou/gopsutil/compare/v4.25.7...v4.25.8> ### [`v4.25.7`](https://github.com/shirou/gopsutil/releases/tag/v4.25.7) [Compare Source](https://github.com/shirou/gopsutil/compare/v4.25.6...v4.25.7) <!-- Release notes generated using configuration in .github/release.yml at v4.25.7 --> #### What's Changed ##### disk - fix(disk): handle NVMe controller notation in IOCounters on Linux by [@&#8203;skartikey](https://github.com/skartikey) in [#&#8203;1878](https://github.com/shirou/gopsutil/pull/1878) ##### mem - fix 404 link to centos.org by [@&#8203;martoche](https://github.com/martoche) in [#&#8203;1872](https://github.com/shirou/gopsutil/pull/1872) ##### process - process: Fix parsing of uid/gid's to handle full uint32 range by [@&#8203;halaney](https://github.com/halaney) in [#&#8203;1887](https://github.com/shirou/gopsutil/pull/1887) ##### Other Changes - chore: enable unused-receiver from revive by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1883](https://github.com/shirou/gopsutil/pull/1883) - enable shadow from govet by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1863](https://github.com/shirou/gopsutil/pull/1863) - fix: windows-2019 runner image has been deprecated by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1881](https://github.com/shirou/gopsutil/pull/1881) #### New Contributors - [@&#8203;martoche](https://github.com/martoche) made their first contribution in [#&#8203;1872](https://github.com/shirou/gopsutil/pull/1872) - [@&#8203;halaney](https://github.com/halaney) made their first contribution in [#&#8203;1887](https://github.com/shirou/gopsutil/pull/1887) - [@&#8203;skartikey](https://github.com/skartikey) made their first contribution in [#&#8203;1878](https://github.com/shirou/gopsutil/pull/1878) **Full Changelog**: <https://github.com/shirou/gopsutil/compare/v4.25.6...v4.25.7> ### [`v4.25.6`](https://github.com/shirou/gopsutil/releases/tag/v4.25.6) [Compare Source](https://github.com/shirou/gopsutil/compare/v4.25.5...v4.25.6) <!-- Release notes generated using configuration in .github/release.yml at v4.25.6 --> #### What's Changed ##### disk - \[disk]\[linux]: fix parsing mount option when use 1/mounts on Partition by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1861](https://github.com/shirou/gopsutil/pull/1861) - Fetch stats from folder mounted volumes by [@&#8203;dloucasfx](https://github.com/dloucasfx) in [#&#8203;1534](https://github.com/shirou/gopsutil/pull/1534) ##### mem - feat(exwindows): expose phys and pagefile memory by [@&#8203;kruskall](https://github.com/kruskall) in [#&#8203;1868](https://github.com/shirou/gopsutil/pull/1868) ##### process - fix: optimize performance of process.OpenFiles() by [@&#8203;NitroCao](https://github.com/NitroCao) in [#&#8203;1866](https://github.com/shirou/gopsutil/pull/1866) ##### Other Changes - chore: fix some minor issues in the comments by [@&#8203;shandongzhejiang](https://github.com/shandongzhejiang) in [#&#8203;1870](https://github.com/shirou/gopsutil/pull/1870) - enable all go-critic by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1856](https://github.com/shirou/gopsutil/pull/1856) - fix: relace golangcilint on var-naming for package name by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1871](https://github.com/shirou/gopsutil/pull/1871) #### New Contributors - [@&#8203;dloucasfx](https://github.com/dloucasfx) made their first contribution in [#&#8203;1534](https://github.com/shirou/gopsutil/pull/1534) - [@&#8203;shandongzhejiang](https://github.com/shandongzhejiang) made their first contribution in [#&#8203;1870](https://github.com/shirou/gopsutil/pull/1870) - [@&#8203;kruskall](https://github.com/kruskall) made their first contribution in [#&#8203;1868](https://github.com/shirou/gopsutil/pull/1868) **Full Changelog**: <https://github.com/shirou/gopsutil/compare/v4.25.5...v4.25.6> ### [`v4.25.5`](https://github.com/shirou/gopsutil/releases/tag/v4.25.5) [Compare Source](https://github.com/shirou/gopsutil/compare/v4.25.4...v4.25.5) <!-- Release notes generated using configuration in .github/release.yml at v4.25.5 --> #### What's Changed ##### cpu - Remove wmi for Get physical CPU core count by [@&#8203;OrbintSoft](https://github.com/OrbintSoft) in [#&#8203;1839](https://github.com/shirou/gopsutil/pull/1839) - fix ignore nakedret by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1847](https://github.com/shirou/gopsutil/pull/1847) - Fix issues with GetLastError() usage by [@&#8203;secDre4mer](https://github.com/secDre4mer) in [#&#8203;1848](https://github.com/shirou/gopsutil/pull/1848) ##### docker - rename containerid arguments to containerID by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1862](https://github.com/shirou/gopsutil/pull/1862) ##### host ##### Other Changes - fix(ST1005): Incorrectly formatted error string by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1846](https://github.com/shirou/gopsutil/pull/1846) - \[darwin]: bump purego veresion to 0.8.3 by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1852](https://github.com/shirou/gopsutil/pull/1852) - chore: enable staticcheck by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1842](https://github.com/shirou/gopsutil/pull/1842) #### New Contributors - [@&#8203;OrbintSoft](https://github.com/OrbintSoft) made their first contribution in [#&#8203;1839](https://github.com/shirou/gopsutil/pull/1839) **Full Changelog**: <https://github.com/shirou/gopsutil/compare/v4.25.4...v4.25.5> ### [`v4.25.4`](https://github.com/shirou/gopsutil/releases/tag/v4.25.4) [Compare Source](https://github.com/shirou/gopsutil/compare/v4.25.3...v4.25.4) <!-- Release notes generated using configuration in .github/release.yml at v4.25.4 --> #### What's Changed ##### cpu - fix nil ptr by [@&#8203;dvovk](https://github.com/dvovk) in [#&#8203;1835](https://github.com/shirou/gopsutil/pull/1835) - Fix win32\_SystemProcessorPerformanceInformation struct by [@&#8203;niemp100](https://github.com/niemp100) in [#&#8203;1831](https://github.com/shirou/gopsutil/pull/1831) ##### disk - \[disk]\[linux] add bcachefs magic by [@&#8203;NewbieOrange](https://github.com/NewbieOrange) in [#&#8203;1838](https://github.com/shirou/gopsutil/pull/1838) ##### host - refactor: using fmt.Errorf in InfoWithContext by [@&#8203;s0ders](https://github.com/s0ders) in [#&#8203;1840](https://github.com/shirou/gopsutil/pull/1840) ##### Other Changes - fix: update github actions runner images by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1841](https://github.com/shirou/gopsutil/pull/1841) - chore: enable govet linter by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1825](https://github.com/shirou/gopsutil/pull/1825) - \[chore]: bump golangci-lint to v2.1.1 by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1829](https://github.com/shirou/gopsutil/pull/1829) - chore: enable ineffassign linter by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1843](https://github.com/shirou/gopsutil/pull/1843) #### New Contributors - [@&#8203;NewbieOrange](https://github.com/NewbieOrange) made their first contribution in [#&#8203;1838](https://github.com/shirou/gopsutil/pull/1838) - [@&#8203;dvovk](https://github.com/dvovk) made their first contribution in [#&#8203;1835](https://github.com/shirou/gopsutil/pull/1835) - [@&#8203;niemp100](https://github.com/niemp100) made their first contribution in [#&#8203;1831](https://github.com/shirou/gopsutil/pull/1831) - [@&#8203;s0ders](https://github.com/s0ders) made their first contribution in [#&#8203;1840](https://github.com/shirou/gopsutil/pull/1840) **Full Changelog**: <https://github.com/shirou/gopsutil/compare/v4.25.3...v4.25.4> ### [`v4.25.3`](https://github.com/shirou/gopsutil/releases/tag/v4.25.3) [Compare Source](https://github.com/shirou/gopsutil/compare/v4.25.2...v4.25.3) <!-- Release notes generated using configuration in .github/release.yml at v4.25.3 --> #### 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 [#&#8203;1804](https://github.com/shirou/gopsutil/issues/1804), we made this change because [golang.org/x/sys](https://pkg.go.dev/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 - add support for get disk serial number on darwin by [@&#8203;samburba](https://github.com/samburba) in [#&#8203;1791](https://github.com/shirou/gopsutil/pull/1791) ##### host - \[net]\[host]\[aix] Fix build and Makefile by [@&#8203;Lomanic](https://github.com/Lomanic) in [#&#8203;1809](https://github.com/shirou/gopsutil/pull/1809) - \[host]\[process]: fix type missmatch test. by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1821](https://github.com/shirou/gopsutil/pull/1821) - \[host]: fix potential error on CI test on Windows. by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1830](https://github.com/shirou/gopsutil/pull/1830) ##### process - feat(process\_windows): Support collecting PageFault count in Windows by [@&#8203;zmyzheng](https://github.com/zmyzheng) in [#&#8203;1769](https://github.com/shirou/gopsutil/pull/1769) ##### Chore - chore: enable unnecessary-stmt from revive by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1812](https://github.com/shirou/gopsutil/pull/1812) - chore: enable thelper and usetesting linters by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1814](https://github.com/shirou/gopsutil/pull/1814) - chore(golangci-lint): cover aix and cgo by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1805](https://github.com/shirou/gopsutil/pull/1805) - chore: use testify instead of testing by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1815](https://github.com/shirou/gopsutil/pull/1815) - chore: enable begin rule from thelper by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1816](https://github.com/shirou/gopsutil/pull/1816) - chore: enable var-naming from revive by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1817](https://github.com/shirou/gopsutil/pull/1817) - chore: enable gocritic linter by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1813](https://github.com/shirou/gopsutil/pull/1813) - chore: enable unused-parameter from revive by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1783](https://github.com/shirou/gopsutil/pull/1783) - chore: reduce number of executed jobs by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1799](https://github.com/shirou/gopsutil/pull/1799) - chore: update go version in module by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1804](https://github.com/shirou/gopsutil/pull/1804) - fix: address nolint contextcheck by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1826](https://github.com/shirou/gopsutil/pull/1826) ##### Other Changes - fix: deprecated set-output by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1810](https://github.com/shirou/gopsutil/pull/1810) - fix: enable loong64 architecture in lint workflow by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1827](https://github.com/shirou/gopsutil/pull/1827) #### New Contributors - [@&#8203;samburba](https://github.com/samburba) made their first contribution in [#&#8203;1791](https://github.com/shirou/gopsutil/pull/1791) **Full Changelog**: <https://github.com/shirou/gopsutil/compare/v4.25.2...v4.25.3> ### [`v4.25.2`](https://github.com/shirou/gopsutil/releases/tag/v4.25.2) [Compare Source](https://github.com/shirou/gopsutil/compare/v4.25.1...v4.25.2) <!-- Release notes generated using configuration in .github/release.yml at v4.25.2 --> #### What's Changed ##### cpu - chore: enable golangci-lint on Windows and MacOS by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1785](https://github.com/shirou/gopsutil/pull/1785) - chore(golangci-lint): GOOS and GOARCH matrix by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1797](https://github.com/shirou/gopsutil/pull/1797) ##### net - \[windows]: fix lint error about use-any by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1795](https://github.com/shirou/gopsutil/pull/1795) ##### process - fix: `Process.CmdlineSliceWithContext` incorrect on Windows by [@&#8203;RomainMuller](https://github.com/RomainMuller) in [#&#8203;1796](https://github.com/shirou/gopsutil/pull/1796) ##### Other Changes - chore: enable use-any from revive by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1784](https://github.com/shirou/gopsutil/pull/1784) - fix(golangci-lint): configuration typo by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1798](https://github.com/shirou/gopsutil/pull/1798) #### New Contributors - [@&#8203;RomainMuller](https://github.com/RomainMuller) made their first contribution in [#&#8203;1796](https://github.com/shirou/gopsutil/pull/1796) **Full Changelog**: <https://github.com/shirou/gopsutil/compare/v4.25.1...v4.25.2> ### [`v4.25.1`](https://github.com/shirou/gopsutil/releases/tag/v4.25.1) [Compare Source](https://github.com/shirou/gopsutil/compare/v4.24.12...v4.25.1) <!-- Release notes generated using configuration in .github/release.yml at v4.25.1 --> #### What's Changed ##### Other Changes - chore: explicit revive rules by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1778](https://github.com/shirou/gopsutil/pull/1778) - chore: call actions/checkout before actions/setup-go to benefit from native cache by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1779](https://github.com/shirou/gopsutil/pull/1779) **Full Changelog**: <https://github.com/shirou/gopsutil/compare/v4.24.12...v4.25.1> ### [`v4.24.12`](https://github.com/shirou/gopsutil/releases/tag/v4.24.12) [Compare Source](https://github.com/shirou/gopsutil/compare/v4.24.11...v4.24.12) <!-- Release notes generated using configuration in .github/release.yml at v4.24.12 --> #### What's Changed ##### cpu - enable all rules of perfsprint linter by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1762](https://github.com/shirou/gopsutil/pull/1762) - refactor(darwin): optimize string allocation by [@&#8203;uubulb](https://github.com/uubulb) in [#&#8203;1768](https://github.com/shirou/gopsutil/pull/1768) ##### mem - enable testifylint linter by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1743](https://github.com/shirou/gopsutil/pull/1743) ##### net - \[openbsd] set ConnectionsPid to return NotImplemented by [@&#8203;tuftedocelot](https://github.com/tuftedocelot) in [#&#8203;1757](https://github.com/shirou/gopsutil/pull/1757) - Refactor: merge base functions to net.go by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1764](https://github.com/shirou/gopsutil/pull/1764) ##### process - fix\[posix,windows]: release process after os.FindProcess() by [@&#8203;NitroCao](https://github.com/NitroCao) in [#&#8203;1716](https://github.com/shirou/gopsutil/pull/1716) - enable all rules of testifylint linter by [@&#8203;mmorel-35](https://github.com/mmorel-35) in [#&#8203;1761](https://github.com/shirou/gopsutil/pull/1761) - \[freebsd]: add CWD by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1765](https://github.com/shirou/gopsutil/pull/1765) ##### sensors - fix\[darwin]: memory leak and string corruption in ARM Mac temperature sensors by [@&#8203;chuangbo](https://github.com/chuangbo) in [#&#8203;1767](https://github.com/shirou/gopsutil/pull/1767) ##### Other Changes - fix\[github]: deprecate macos-12, add macos-15 by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1760](https://github.com/shirou/gopsutil/pull/1760) - \[doc]: Update README for supported metrics. by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1766](https://github.com/shirou/gopsutil/pull/1766) #### New Contributors - [@&#8203;NitroCao](https://github.com/NitroCao) made their first contribution in [#&#8203;1716](https://github.com/shirou/gopsutil/pull/1716) - [@&#8203;tuftedocelot](https://github.com/tuftedocelot) made their first contribution in [#&#8203;1757](https://github.com/shirou/gopsutil/pull/1757) - [@&#8203;chuangbo](https://github.com/chuangbo) made their first contribution in [#&#8203;1767](https://github.com/shirou/gopsutil/pull/1767) **Full Changelog**: <https://github.com/shirou/gopsutil/compare/v4.24.11...v4.24.12> ### [`v4.24.11`](https://github.com/shirou/gopsutil/releases/tag/v4.24.11) [Compare Source](https://github.com/shirou/gopsutil/compare/v4.24.10...v4.24.11) <!-- Release notes generated using configuration in .github/release.yml at v4.24.11 --> #### What's Changed ##### host - add anolis family with anolis platform in host/host\_linux.go by [@&#8203;wangyu-geek](https://github.com/wangyu-geek) in [#&#8203;1745](https://github.com/shirou/gopsutil/pull/1745) #### New Contributors - [@&#8203;wangyu-geek](https://github.com/wangyu-geek) made their first contribution in [#&#8203;1745](https://github.com/shirou/gopsutil/pull/1745) **Full Changelog**: <https://github.com/shirou/gopsutil/compare/v4.24.10...v4.24.11> ### [`v4.24.10`](https://github.com/shirou/gopsutil/releases/tag/v4.24.10) [Compare Source](https://github.com/shirou/gopsutil/compare/v4.24.9...v4.24.10) <!-- Release notes generated using configuration in .github/release.yml at v4.24.10 --> #### What's Changed ##### cpu - \[cpu]\[disk]\[netbsd] Generate arm-specific definitions by [@&#8203;Lomanic](https://github.com/Lomanic) in [#&#8203;1731](https://github.com/shirou/gopsutil/pull/1731) ##### mem - fix(mem): possible memory leak on Windows by [@&#8203;uubulb](https://github.com/uubulb) in [#&#8203;1722](https://github.com/shirou/gopsutil/pull/1722) - feat(mem): Add windows commit stats by [@&#8203;n4nn31355](https://github.com/n4nn31355) in [#&#8203;1720](https://github.com/shirou/gopsutil/pull/1720) ##### Other Changes - sensors: avoid passing nil pointer to CFArrayGetCount by [@&#8203;uubulb](https://github.com/uubulb) in [#&#8203;1727](https://github.com/shirou/gopsutil/pull/1727) #### New Contributors - [@&#8203;n4nn31355](https://github.com/n4nn31355) made their first contribution in [#&#8203;1720](https://github.com/shirou/gopsutil/pull/1720) **Full Changelog**: <https://github.com/shirou/gopsutil/compare/v4.24.9...v4.24.10> ### [`v4.24.9`](https://github.com/shirou/gopsutil/releases/tag/v4.24.9) [Compare Source](https://github.com/shirou/gopsutil/compare/v4.24.8...v4.24.9) <!-- Release notes generated using configuration in .github/release.yml at v4.24.9 --> #### Important Change Since [#&#8203;1702](https://github.com/shirou/gopsutil/issues/1702), the Darwin implementation has been switched from cgo to [purego](https://github.com/ebitengine/purego) (Great contribution from [@&#8203;uubulb](https://github.com/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 [@&#8203;uubulb](https://github.com/uubulb) in [#&#8203;1702](https://github.com/shirou/gopsutil/pull/1702) ##### process - \[process]\[darwin]\[freebsd]\[linux]\[openbsd] Make process.Children not reliant on pgrep by [@&#8203;Lomanic](https://github.com/Lomanic) in [#&#8203;1706](https://github.com/shirou/gopsutil/pull/1706) - implement process:NumFDs for Windows by [@&#8203;al-online](https://github.com/al-online) in [#&#8203;1712](https://github.com/shirou/gopsutil/pull/1712) - Fix resolution for process create time limited to seconds by [@&#8203;joshiste](https://github.com/joshiste) in [#&#8203;1713](https://github.com/shirou/gopsutil/pull/1713) ##### Other Changes - fix: remove coverall and godocs.io badge from README by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1705](https://github.com/shirou/gopsutil/pull/1705) - \[common] add HOST\_PROC\_MOUNTINFO to EnvMap by [@&#8203;atoulme](https://github.com/atoulme) in [#&#8203;1707](https://github.com/shirou/gopsutil/pull/1707) - Fix error message typo in sensors\_linux by [@&#8203;henrygd](https://github.com/henrygd) in [#&#8203;1715](https://github.com/shirou/gopsutil/pull/1715) #### New Contributors - [@&#8203;al-online](https://github.com/al-online) made their first contribution in [#&#8203;1712](https://github.com/shirou/gopsutil/pull/1712) - [@&#8203;joshiste](https://github.com/joshiste) made their first contribution in [#&#8203;1713](https://github.com/shirou/gopsutil/pull/1713) - [@&#8203;henrygd](https://github.com/henrygd) made their first contribution in [#&#8203;1715](https://github.com/shirou/gopsutil/pull/1715) **Full Changelog**: <https://github.com/shirou/gopsutil/compare/v4.24.8...v4.24.9> ### [`v4.24.8`](https://github.com/shirou/gopsutil/releases/tag/v4.24.8) [Compare Source](https://github.com/shirou/gopsutil/compare/v4.24.7...v4.24.8) <!-- Release notes generated using configuration in .github/release.yml at v4.24.8 --> #### 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 [@&#8203;zmyzheng](https://github.com/zmyzheng) in [#&#8203;1688](https://github.com/shirou/gopsutil/pull/1688) - \[disk]\[windows]: ignore network drive when not ready by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1699](https://github.com/shirou/gopsutil/pull/1699) ##### process - Fix parsing of /proc/pid/smaps when path is empty by [@&#8203;pgimalac](https://github.com/pgimalac) in [#&#8203;1691](https://github.com/shirou/gopsutil/pull/1691) - Refactoring the algorithm for calculating CPU usage by [@&#8203;TheBestLL](https://github.com/TheBestLL) in [#&#8203;1692](https://github.com/shirou/gopsutil/pull/1692) - Fix panic on OpenBSD and FreeBSD systems if KinfoProc size has an unexpected size by [@&#8203;fivitti](https://github.com/fivitti) in [#&#8203;1694](https://github.com/shirou/gopsutil/pull/1694) ##### Other Changes - Fix badge link in README.md by [@&#8203;Yurunsoft](https://github.com/Yurunsoft) in [#&#8203;1695](https://github.com/shirou/gopsutil/pull/1695) - fix golangcilint errors, ignore gosec G115 by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1697](https://github.com/shirou/gopsutil/pull/1697) - fix: golangci lint with max -> maxConn by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1693](https://github.com/shirou/gopsutil/pull/1693) #### New Contributors 🎉 - [@&#8203;zmyzheng](https://github.com/zmyzheng) made their first contribution in [#&#8203;1688](https://github.com/shirou/gopsutil/pull/1688) - [@&#8203;Yurunsoft](https://github.com/Yurunsoft) made their first contribution in [#&#8203;1695](https://github.com/shirou/gopsutil/pull/1695) - [@&#8203;pgimalac](https://github.com/pgimalac) made their first contribution in [#&#8203;1691](https://github.com/shirou/gopsutil/pull/1691) - [@&#8203;TheBestLL](https://github.com/TheBestLL) made their first contribution in [#&#8203;1692](https://github.com/shirou/gopsutil/pull/1692) - [@&#8203;fivitti](https://github.com/fivitti) made their first contribution in [#&#8203;1694](https://github.com/shirou/gopsutil/pull/1694) **Full Changelog**: <https://github.com/shirou/gopsutil/compare/v4.24.7...v4.24.8> ### [`v4.24.7`](https://github.com/shirou/gopsutil/releases/tag/v4.24.7) [Compare Source](https://github.com/shirou/gopsutil/compare/v4.24.6...v4.24.7) <!-- Release notes generated using configuration in .github/release.yml at v4.24.7 --> #### **Important Notice Regarding Value Changes on mem.SwapMemory() on Windows** In change [#&#8203;1677](https://github.com/shirou/gopsutil/issues/1677), the values returned by `mem.SwapMemory()` on Windows have been significantly revised. Previously, these values were calculated from the [`PERFORMANCE_INFORMATION`](https://learn.microsoft.com/en-us/windows/win32/api/psapi/ns-psapi-performance_information) structure of the [`GetPerformanceInfo`](https://learn.microsoft.com/en-us/windows/win32/api/psapi/nf-psapi-getperformanceinfo) win32 function, but this calculation was incorrect. Consequently, it has been adjusted to align with the [psutil implementation](https://github.com/giampaolo/psutil/blob/c034e6692cf736b5e87d14418a8153bb03f6cf42/psutil/_pswindows.py#L250-L273). As a result, the values returned by `mem.SwapMemory()` are expected to differ greatly from previous values. #### What's Changed ##### docker - fix: docker\_memory in centos\_7.5 & docker\_1.13.1 by [@&#8203;coderZoe](https://github.com/coderZoe) in [#&#8203;1670](https://github.com/shirou/gopsutil/pull/1670) ##### mem - \[windows]\[mem]: change to use Performance Counter on SwapMemory. by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1677](https://github.com/shirou/gopsutil/pull/1677) ##### Other Changes - fix: read temperature sensors darwin arm by [@&#8203;Girbons](https://github.com/Girbons) in [#&#8203;1672](https://github.com/shirou/gopsutil/pull/1672) - fix: remove macos11 and add ubuntu-24.04 on GitHub runner list. by [@&#8203;shirou](https://github.com/shirou) in [#&#8203;1676](https://github.com/shirou/gopsutil/pull/1676) #### New Contributors - [@&#8203;coderZoe](https://github.com/coderZoe) made their first contribution in [#&#8203;1670](https://github.com/shirou/gopsutil/pull/1670) **Full Changelog**: <https://github.com/shirou/gopsutil/compare/v4.24.6...v4.24.7> ### [`v4.24.6`](https://github.com/shirou/gopsutil/releases/tag/v4.24.6) [Compare Source](https://github.com/shirou/gopsutil/compare/v4.24.5...v4.24.6) <!-- Release notes generated using configuration in .github/release.yml at v4.24.6 --> #### What's Changed ##### host - Issue 1658: Fix for parsing error where 'day,' is ignored on AIX uptime check by [@&#8203;aidangill-projects](https://github.com/aidangill-projects) in [#&#8203;1659](https://github.com/shirou/gopsutil/pull/1659) - Resolved Issue 1661 - AIX Runtime Panic in Host by [@&#8203;aidangill-projects](https://github.com/aidangill-projects) in [#&#8203;1663](https://github.com/shirou/gopsutil/pull/1663) ##### sensors - fix memory leak by [@&#8203;thechampagne](https://github.com/thechampagne) in [#&#8203;1656](https://github.com/shirou/gopsutil/pull/1656) - fix: package misnaming in `sensors_freebsd.go` by [@&#8203;uubulb](https://github.com/uubulb) in [#&#8203;1668](https://github.com/shirou/gopsutil/pull/1668) ##### Other Changes - Fix boot time not returning stat file value by [@&#8203;govrin](https://github.com/govrin) in [#&#8203;1655](https://github.com/shirou/gopsutil/pull/1655) #### New Contributors - [@&#8203;thechampagne](https://github.com/thechampagne) made their first contribution in [#&#8203;1656](https://github.com/shirou/gopsutil/pull/1656) - [@&#8203;aidangill-projects](https://github.com/aidangill-projects) made their first contribution in [#&#8203;1659](https://github.com/shirou/gopsutil/pull/1659) - [@&#8203;govrin](https://github.com/govrin) made their first contribution in [#&#8203;1655](https://github.com/shirou/gopsutil/pull/1655) - [@&#8203;uubulb](https://github.com/uubulb) made their first contribution in [#&#8203;1668](https://github.com/shirou/gopsutil/pull/1668) **Full Changelog**: <https://github.com/shirou/gopsutil/compare/v4.24.5...v4.24.6> <!-- Release notes generated using configuration in .github/release.yml at v4.24.6 --> #### What's Changed ##### host - Issue 1658: Fix for parsing error where 'day,' is ignored on AIX uptime check by [@&#8203;aidangill-projects](https://github.com/aidangill-projects) in [#&#8203;1659](https://github.com/shirou/gopsutil/pull/1659) - Resolved Issue 1661 - AIX Runtime Panic in Host by [@&#8203;aidangill-projects](https://github.com/aidangill-projects) in [#&#8203;1663](https://github.com/shirou/gopsutil/pull/1663) ##### Other Changes - fix memory leak by [@&#8203;thechampagne](https://github.com/thechampagne) in [#&#8203;1656](https://github.com/shirou/gopsutil/pull/1656) - Fix boot time not returning stat file value by [@&#8203;govrin](https://github.com/govrin) in [#&#8203;1655](https://github.com/shirou/gopsutil/pull/1655) - fix: package misnaming in `sensors_freebsd.go` by [@&#8203;uubulb](https://github.com/uubulb) in [#&#8203;1668](https://github.com/shirou/gopsutil/pull/1668) #### New Contributors - [@&#8203;thechampagne](https://github.com/thechampagne) made their first contribution in [#&#8203;1656](https://github.com/shirou/gopsutil/pull/1656) - [@&#8203;aidangill-projects](https://github.com/aidangill-projects) made their first contribution in [#&#8203;1659](https://github.com/shirou/gopsutil/pull/1659) - [@&#8203;govrin](https://github.com/govrin) made their first contribution in [#&#8203;1655](https://github.com/shirou/gopsutil/pull/1655) - [@&#8203;uubulb](https://github.com/uubulb) made their first contribution in [#&#8203;1668](https://github.com/shirou/gopsutil/pull/1668) **Full Changelog**: <https://github.com/shirou/gopsutil/compare/v4.24.5...v4.24.6> ### [`v4.24.5`](https://github.com/shirou/gopsutil/releases/tag/v4.24.5) [Compare Source](https://github.com/shirou/gopsutil/compare/v3.24.5...v4.24.5) #### 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. ([#&#8203;1424](https://github.com/shirou/gopsutil/issues/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`](https://github.com/shirou/gopsutil?tab=readme-ov-file#ex-struct-from-v4245). #### Other - Add SPDX license header line. - Remove [coveralls.io](https://coveralls.io/) - Remove old go build tag such as `// +build` **Full Changelog**: <https://github.com/shirou/gopsutil/compare/v3.24.5...v4.24.5> </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43MS4yIiwidXBkYXRlZEluVmVyIjoiNDIuNzEuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Renovate-Clanker added 1 commit 2026-01-15 01:00:37 +07:00
bagas merged commit 6f30b30055 into main 2026-01-15 01:37:05 +07:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bagas/filekeeper#8