Skip to content

Releases: shirou/gopsutil

v4.24.7

01 Aug 01:58
1915e93
Compare
Choose a tag to compare

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

  • fix: docker_memory in centos_7.5 & docker_1.13.1 by @coderZoe in #1670

mem

  • [windows][mem]: change to use Performance Counter on SwapMemory. by @shirou in #1677

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

01 Jul 05:52
865b8c3
Compare
Choose a tag to compare

What's Changed

host

sensors

Other Changes

  • Fix boot time not returning stat file value by @govrin in #1655

New Contributors

Full Changelog: v4.24.5...v4.24.6

What's Changed

host

Other Changes

New Contributors

Full Changelog: v4.24.5...v4.24.6

v4.24.5

01 Jun 03:46
3489a34
Compare
Choose a tag to compare

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: v3.24.5...v4.24.5

v3.24.5

01 Jun 03:42
4336530
Compare
Choose a tag to compare

What's Changed

cpu

process

Other Changes

New Contributors

Full Changelog: v3.24.4...v3.24.5

v3.24.4

01 May 03:55
428fe9b
Compare
Choose a tag to compare

What's Changed

net

New Contributors

Full Changelog: v3.24.3...v3.24.4

v3.24.3

01 Apr 01:44
e230f52
Compare
Choose a tag to compare

What's Changed

disk

host

  • [host][linux]: fix utmp size on linux/arm64 by @shirou in #1603

load

process

  • [process][freebsd]: re-generate types on freebsd arm64 by @shirou in #1609

New Contributors

Full Changelog: v3.24.2...v3.24.3

v3.24.2

01 Mar 02:03
e767a0f
Compare
Choose a tag to compare

What's Changed

cpu

Documentation

New Contributors

Full Changelog: v3.24.1...v3.24.2

v3.24.1

01 Feb 06:21
65b5fa3
Compare
Choose a tag to compare

Compatibility Notice

We don't think #1585 will affect compatibility about PlatformVersion in host.Info(), but maybe it will.

What's Changed

disk

host

process

  • Windows, read all PIDs if there are more than 1024 PIDs. by @jnewmano in #1580

Other Changes

New Contributors

Full Changelog: v3.23.12...v3.24.1

v3.23.12

01 Jan 07:05
df3c7bd
Compare
Choose a tag to compare

What's Changed

cpu

disk

  • feat(disk): look for filesystem labels from udev on Linux by @scop in #1573

host

Other Changes

  • Revert "chore(deps): bump actions/labeler from 4.3.0 to 5.0.0" by @shirou in #1564

New Contributors

Full Changelog: v3.23.11...v3.23.12

v3.23.11

01 Dec 07:39
321901e
Compare
Choose a tag to compare

What's Changed

process

New Contributors

Full Changelog: v3.23.10...v3.23.11