Releases: shirou/gopsutil
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
- fix: read temperature sensors darwin arm by @Girbons in #1672
- fix: remove macos11 and add ubuntu-24.04 on GitHub runner list. by @shirou in #1676
New Contributors
Full Changelog: v4.24.6...v4.24.7
v4.24.6
What's Changed
host
- Issue 1658: Fix for parsing error where 'day,' is ignored on AIX uptime check by @aidangill-projects in #1659
- Resolved Issue 1661 - AIX Runtime Panic in Host by @aidangill-projects in #1663
sensors
- fix memory leak by @thechampagne in #1656
- fix: package misnaming in
sensors_freebsd.go
by @uubulb in #1668
Other Changes
New Contributors
- @thechampagne made their first contribution in #1656
- @aidangill-projects made their first contribution in #1659
- @govrin made their first contribution in #1655
- @uubulb made their first contribution in #1668
Full Changelog: v4.24.5...v4.24.6
What's Changed
host
- Issue 1658: Fix for parsing error where 'day,' is ignored on AIX uptime check by @aidangill-projects in #1659
- Resolved Issue 1661 - AIX Runtime Panic in Host by @aidangill-projects in #1663
Other Changes
- fix memory leak by @thechampagne in #1656
- Fix boot time not returning stat file value by @govrin in #1655
- fix: package misnaming in
sensors_freebsd.go
by @uubulb in #1668
New Contributors
- @thechampagne made their first contribution in #1656
- @aidangill-projects made their first contribution in #1659
- @govrin made their first contribution in #1655
- @uubulb made their first contribution in #1668
Full Changelog: v4.24.5...v4.24.6
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 newsensors
package.process.Groups()
now returns uint32. (#1424)process.Uids()
andprocess.Gids()
also now uint32.- The Pid remains int32. This is because changing it is expected to have a significant impact.
mem.VirtualMemoryExStat
is nowExVirtualMemory
withExLinux
andExWindows
. See document aboutEx structs
.
Other
- Add SPDX license header line.
- Remove coveralls.io
- Remove old go build tag such as
// +build
Full Changelog: v3.24.5...v4.24.5
v3.24.5
What's Changed
cpu
process
- Add fallback for lsof output by @MDrakos in #1640
- [process][openbsd]: add cwd on openbsd. by @shirou in #1649
Other Changes
- remove duplicate code in mktypes.sh by @zhanluxianshen in #1646
- add arm/arm64 category for github pr label. by @zhanluxianshen in #1647
New Contributors
- @zhanluxianshen made their first contribution in #1646
- @MDrakos made their first contribution in #1640
- @Dylan-M made their first contribution in #1651
Full Changelog: v3.24.4...v3.24.5
v3.24.4
What's Changed
net
- Update net_openbsd.go to correctly parse netstat output on obsd by @amarinderca in #1621
- chore: fix some typos in comments by @camcui in #1624
New Contributors
- @amarinderca made their first contribution in #1621
- @camcui made their first contribution in #1624
Full Changelog: v3.24.3...v3.24.4
v3.24.3
What's Changed
disk
- chore: fix typo by @majorteach in #1615
host
load
process
New Contributors
- @majorteach made their first contribution in #1615
- @eric1234 made their first contribution in #1612
Full Changelog: v3.24.2...v3.24.3
v3.24.2
What's Changed
cpu
- add support for OpenBSD/riscv64 by @jmatthew in #1594
- [ci]: add macos-13 and macos-14 on GitHub Action by @shirou in #1599
Documentation
New Contributors
Full Changelog: v3.24.1...v3.24.2
v3.24.1
Compatibility Notice
We don't think #1585 will affect compatibility about PlatformVersion
in host.Info()
, but maybe it will.
What's Changed
disk
host
- [host]: add EnableBootTimeCache function by @shirou in #1579
- ensure host platform are files and have contents by @brycekahle in #1584
process
Other Changes
- use VERSION_ID from os-release by @brycekahle in #1585
New Contributors
- @jnewmano made their first contribution in #1580
- @brycekahle made their first contribution in #1584
Full Changelog: v3.23.12...v3.24.1